@dxos/protocols 0.1.50 → 0.1.51-main.23e9d5d

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/protocols",
3
- "version": "0.1.50",
3
+ "version": "0.1.51-main.23e9d5d",
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.50",
37
- "@dxos/hypercore": "0.1.50",
38
- "@dxos/keys": "0.1.50",
39
- "@dxos/timeframe": "0.1.50"
36
+ "@dxos/codec-protobuf": "0.1.51-main.23e9d5d",
37
+ "@dxos/hypercore": "0.1.51-main.23e9d5d",
38
+ "@dxos/keys": "0.1.51-main.23e9d5d",
39
+ "@dxos/timeframe": "0.1.51-main.23e9d5d"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/debug": "^4.1.7",
@@ -215,6 +215,7 @@ message Runtime {
215
215
 
216
216
  message Telemetry {
217
217
  bool disabled = 1;
218
+ repeated string tags = 2;
218
219
  }
219
220
 
220
221
  message Gravity {
@@ -23,6 +23,9 @@ message RpcMessage {
23
23
  bool open_ack = 4;
24
24
 
25
25
  StreamClose stream_close = 5;
26
+
27
+ /// Request to close the connection.
28
+ Bye bye = 6;
26
29
  }
27
30
  }
28
31
 
@@ -66,3 +69,11 @@ message MessageTrace {
66
69
  Direction direction = 1;
67
70
  bytes data = 2;
68
71
  }
72
+
73
+ /**
74
+ * Request to close the connection.
75
+ * Connection is closed once both sides have received the Bye message.
76
+ */
77
+ message Bye {
78
+
79
+ }
@@ -607,6 +607,7 @@ export namespace Runtime {
607
607
  */
608
608
  export interface Telemetry {
609
609
  disabled: boolean;
610
+ tags?: string[];
610
611
  }
611
612
  /**
612
613
  * Defined in:
@@ -65,6 +65,10 @@ export interface RpcMessage {
65
65
  */
66
66
  openAck?: boolean;
67
67
  streamClose?: StreamClose;
68
+ /**
69
+ * Request to close the connection.
70
+ */
71
+ bye?: Bye;
68
72
  }
69
73
  /**
70
74
  * Defined in:
@@ -120,3 +124,12 @@ export namespace MessageTrace {
120
124
  OUTGOING = 1
121
125
  }
122
126
  }
127
+ /**
128
+ * Request to close the connection.
129
+ * Connection is closed once both sides have received the Bye message.
130
+ *
131
+ * Defined in:
132
+ * {@link file://./../../dxos/rpc.proto}
133
+ */
134
+ export interface Bye {
135
+ }