@dxos/protocols 0.1.11 → 0.1.13

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,yDAA8C;AAyC9C,qEAA6C;AAsWhC,QAAA,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,ygjHAAygjH,CAAC,CAAC;AACnijH,QAAA,MAAM,GAAG,uBAAM,CAAC,QAAQ,CAAkB,kBAAU,EAAE,uBAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/proto/gen/index.ts"],"names":[],"mappings":";;;;;;AAAA,yDAA8C;AAyC9C,qEAA6C;AAuWhC,QAAA,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,utjHAAutjH,CAAC,CAAC;AACjvjH,QAAA,MAAM,GAAG,uBAAM,CAAC,QAAQ,CAAkB,kBAAU,EAAE,uBAAa,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/protocols",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "Protobuf definitions for DXOS protocols.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "assert": "^2.0.0",
22
22
  "util": "^0.12.4",
23
- "@dxos/codec-protobuf": "0.1.11",
24
- "@dxos/hypercore": "0.1.11",
25
- "@dxos/keys": "0.1.11",
26
- "@dxos/timeframe": "0.1.11"
23
+ "@dxos/codec-protobuf": "0.1.13",
24
+ "@dxos/hypercore": "0.1.13",
25
+ "@dxos/keys": "0.1.13",
26
+ "@dxos/timeframe": "0.1.13"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/debug": "^4.1.7",
@@ -19,10 +19,15 @@ package dxos.client;
19
19
  // SYSTEM
20
20
  //
21
21
 
22
+ message Status {
23
+ string message = 1;
24
+ }
25
+
22
26
  service SystemService {
23
27
  /// Called at the start of the session. Service should block until it is fully initialized.
24
28
  rpc InitSession (google.protobuf.Empty) returns (google.protobuf.Empty);
25
29
  rpc GetConfig(google.protobuf.Empty) returns (dxos.config.Config);
30
+ rpc GetStatus (google.protobuf.Empty) returns (Status);
26
31
  rpc Reset (google.protobuf.Empty) returns (google.protobuf.Empty);
27
32
  }
28
33
 
@@ -45,6 +45,7 @@ message Module {
45
45
  optional string tag = 4;
46
46
  }
47
47
 
48
+ // TODO(burdon): Requires publicKey.
48
49
  optional string name = 1;
49
50
  optional string type = 2;
50
51
  optional string display_name = 3;
@@ -39,6 +39,13 @@ import * as dxos_type from "./type";
39
39
  import * as example_testing_data from "../example/testing/data";
40
40
  import * as example_testing_rpc from "../example/testing/rpc";
41
41
  import * as google_protobuf from "../google/protobuf";
42
+ /**
43
+ * Defined in:
44
+ * {@link file://./../../dxos/client.proto}
45
+ */
46
+ export interface Status {
47
+ message: string;
48
+ }
42
49
  /**
43
50
  * Defined in:
44
51
  * {@link file://./../../dxos/client.proto}
@@ -49,6 +56,7 @@ export interface SystemService {
49
56
  */
50
57
  initSession: (request: void) => Promise<void>;
51
58
  getConfig: (request: void) => Promise<dxos_config.Config>;
59
+ getStatus: (request: void) => Promise<Status>;
52
60
  reset: (request: void) => Promise<void>;
53
61
  }
54
62
  /**