@dxos/protocols 0.1.53-main.b6f5d87 → 0.1.53-main.d095ee3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAqDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAuc7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,w0kFAAw0kF,CAAC,CAAC,CAAC;AACj4kF,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAqDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAwc7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,+/kFAA+/kF,CAAC,CAAC,CAAC;AACxjlF,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/protocols",
3
- "version": "0.1.53-main.b6f5d87",
3
+ "version": "0.1.53-main.d095ee3",
4
4
  "description": "Protobuf definitions for DXOS protocols.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -33,10 +33,10 @@
33
33
  "src"
34
34
  ],
35
35
  "dependencies": {
36
- "@dxos/codec-protobuf": "0.1.53-main.b6f5d87",
37
- "@dxos/hypercore": "0.1.53-main.b6f5d87",
38
- "@dxos/keys": "0.1.53-main.b6f5d87",
39
- "@dxos/timeframe": "0.1.53-main.b6f5d87"
36
+ "@dxos/codec-protobuf": "0.1.53-main.d095ee3",
37
+ "@dxos/hypercore": "0.1.53-main.d095ee3",
38
+ "@dxos/keys": "0.1.53-main.d095ee3",
39
+ "@dxos/timeframe": "0.1.53-main.d095ee3"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/debug": "^4.1.7",
@@ -17,12 +17,20 @@ message SwarmInfo {
17
17
  }
18
18
 
19
19
  message ConnectionInfo {
20
+ message StreamStats {
21
+ uint32 id = 1;
22
+ string tag = 2;
23
+ uint32 bytesSent = 3;
24
+ uint32 bytesReceived = 4;
25
+ }
26
+
20
27
  string state = 1;
21
28
  dxos.keys.PublicKey session_id = 2;
22
29
  dxos.keys.PublicKey remote_peer_id = 3;
23
30
  optional string transport = 4;
24
31
  repeated string protocol_extensions = 5;
25
32
  repeated ConnectionEvent events = 6;
33
+ repeated StreamStats streams = 7;
26
34
  }
27
35
 
28
36
  message ConnectionEvent {
@@ -81,6 +81,19 @@ export interface ConnectionInfo {
81
81
  transport?: string;
82
82
  protocolExtensions?: string[];
83
83
  events?: ConnectionEvent[];
84
+ streams?: ConnectionInfo.StreamStats[];
85
+ }
86
+ export namespace ConnectionInfo {
87
+ /**
88
+ * Defined in:
89
+ * {@link file://./../../../dxos/devtools/swarm.proto}
90
+ */
91
+ export interface StreamStats {
92
+ id: number;
93
+ tag: string;
94
+ bytesSent: number;
95
+ bytesReceived: number;
96
+ }
84
97
  }
85
98
  /**
86
99
  * Defined in: