Skip to content

Commit 1e9d379

Browse files
authored
Add new fields (#38)
1 parent 018689a commit 1e9d379

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "freenet-stdlib"
3-
version = "0.1.10"
3+
version = "0.1.11"
44
edition = "2021"
55
rust-version = "1.71.1"
66
publish = true

rust/src/client_api/client_events.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,8 @@ pub struct NodeDiagnosticsResponse {
760760
pub struct NodeInfo {
761761
pub peer_id: String,
762762
pub is_gateway: bool,
763-
pub location: String,
763+
pub location: Option<String>,
764+
pub listening_address: Option<String>,
764765
pub uptime_seconds: u64,
765766
}
766767

0 commit comments

Comments
 (0)