@dxos/protocols 0.1.56-main.8d1cf70 → 0.1.56-main.96bcef8

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;AAuDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAye7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,g7xFAAg7xF,CAAC,CAAC,CAAC;AACz+xF,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;AAuDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAye7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,w7xFAAw7xF,CAAC,CAAC,CAAC;AACj/xF,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.56-main.8d1cf70",
3
+ "version": "0.1.56-main.96bcef8",
4
4
  "description": "Protobuf definitions for DXOS protocols.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -33,9 +33,9 @@
33
33
  "src"
34
34
  ],
35
35
  "dependencies": {
36
- "@dxos/codec-protobuf": "0.1.56-main.8d1cf70",
37
- "@dxos/keys": "0.1.56-main.8d1cf70",
38
- "@dxos/timeframe": "0.1.56-main.8d1cf70"
36
+ "@dxos/codec-protobuf": "0.1.56-main.96bcef8",
37
+ "@dxos/keys": "0.1.56-main.96bcef8",
38
+ "@dxos/timeframe": "0.1.56-main.96bcef8"
39
39
  },
40
40
  "devDependencies": {
41
41
  "glob": "~7.1.6"
@@ -110,6 +110,7 @@ message Runtime {
110
110
  optional Storage storage = 2;
111
111
 
112
112
  // TODO(burdon): Structure snapshot/epoch related props.
113
+
113
114
  optional bool enable_snapshots = 3;
114
115
 
115
116
  /// Milliseconds
@@ -119,6 +120,7 @@ message Runtime {
119
120
  optional int32 invitation_expiration = 5;
120
121
 
121
122
  /// Location of the remote client host.
123
+ // TODO(burdon): Rename vault_endpoint (generalize http/ws; drop vault.html).
122
124
  optional string remote_source = 6;
123
125
  }
124
126
 
@@ -36,6 +36,7 @@ message ConnectionInfo {
36
36
  repeated string protocol_extensions = 5;
37
37
  repeated ConnectionEvent events = 6;
38
38
  repeated StreamStats streams = 7;
39
+ optional string close_reason = 8;
39
40
  }
40
41
 
41
42
  message ConnectionEvent {
@@ -280,8 +280,6 @@ export namespace Runtime {
280
280
  */
281
281
  invitationExpiration?: number;
282
282
  /**
283
- * Location of the remote client host.
284
- *
285
283
  * Options:
286
284
  * - proto3_optional = true
287
285
  */
@@ -84,6 +84,11 @@ export interface ConnectionInfo {
84
84
  protocolExtensions?: string[];
85
85
  events?: ConnectionEvent[];
86
86
  streams?: ConnectionInfo.StreamStats[];
87
+ /**
88
+ * Options:
89
+ * - proto3_optional = true
90
+ */
91
+ closeReason?: string;
87
92
  }
88
93
  export namespace ConnectionInfo {
89
94
  /**