@dxos/protocols 0.5.3-main.3456876 → 0.5.3-main.3b535c7

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;AA+DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA0iB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,ug0GAAug0G,CAAC,CAAC,CAAC;AAChk0G,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;AA+DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA0iB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,y/zGAAy/zG,CAAC,CAAC,CAAC;AAClj0G,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.5.3-main.3456876",
3
+ "version": "0.5.3-main.3b535c7",
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.5.3-main.3456876",
37
- "@dxos/invariant": "0.5.3-main.3456876",
38
- "@dxos/keys": "0.5.3-main.3456876",
39
- "@dxos/timeframe": "0.5.3-main.3456876"
36
+ "@dxos/codec-protobuf": "0.5.3-main.3b535c7",
37
+ "@dxos/invariant": "0.5.3-main.3b535c7",
38
+ "@dxos/keys": "0.5.3-main.3b535c7",
39
+ "@dxos/timeframe": "0.5.3-main.3b535c7"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
@@ -14,9 +14,9 @@ message FunctionsConfig {
14
14
  optional string manifest = 2;
15
15
  }
16
16
 
17
+ // TODO(burdon): Reconcile with typedefs.
17
18
  message Function {
18
- string id = 1;
19
- string path = 2;
19
+ string name = 1;
20
20
  }
21
21
 
22
22
  message RegisterRequest {
@@ -170,13 +170,13 @@ message DeviceProfileDocument {
170
170
 
171
171
  optional string platform = 2;
172
172
  optional string platform_version = 3;
173
- optional string architecture = 4;
173
+ optional string architecture = 4;
174
174
  optional string os = 5;
175
175
  optional string os_version = 6;
176
176
  optional DeviceType type = 7;
177
177
  }
178
178
 
179
- /// [ASSERTION]: Sets device profile information.
179
+ /// [ASSERTION]: Sets device profile information.
180
180
  message DeviceProfile {
181
181
  DeviceProfileDocument profile = 1;
182
182
  }
@@ -82,8 +82,7 @@ export interface FunctionsConfig {
82
82
  * {@link file://./../../../dxos/agent/functions.proto}
83
83
  */
84
84
  export interface Function {
85
- id: string;
86
- path: string;
85
+ name: string;
87
86
  }
88
87
  /**
89
88
  * Defined in:
@@ -61,37 +61,6 @@ import * as dxos_value from "../value";
61
61
  import * as example_testing_data from "../../example/testing/data";
62
62
  import * as example_testing_rpc from "../../example/testing/rpc";
63
63
  import * as google_protobuf from "../../google/protobuf";
64
- /**
65
- * Defined in:
66
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
67
- */
68
- export interface Services {
69
- spaces?: SpaceStats[];
70
- }
71
- /**
72
- * Defined in:
73
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
74
- */
75
- export interface SpaceStats {
76
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
77
- peers?: PeerStats[];
78
- }
79
- /**
80
- * Defined in:
81
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
82
- */
83
- export interface PeerStats {
84
- controlFeed: FeedStats;
85
- dataFeed: FeedStats;
86
- }
87
- /**
88
- * Defined in:
89
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
90
- */
91
- export interface FeedStats {
92
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
93
- length: number;
94
- }
95
64
  /**
96
65
  * Defined in:
97
66
  * {@link file://./../../../dxos/devtools/host.proto}
@@ -514,3 +483,34 @@ export interface SubscribeToSwarmInfoRequest {
514
483
  export interface SubscribeToSwarmInfoResponse {
515
484
  data?: dxos_devtools_swarm.SwarmInfo[];
516
485
  }
486
+ /**
487
+ * Defined in:
488
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
489
+ */
490
+ export interface Services {
491
+ spaces?: SpaceStats[];
492
+ }
493
+ /**
494
+ * Defined in:
495
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
496
+ */
497
+ export interface SpaceStats {
498
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
499
+ peers?: PeerStats[];
500
+ }
501
+ /**
502
+ * Defined in:
503
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
504
+ */
505
+ export interface PeerStats {
506
+ controlFeed: FeedStats;
507
+ dataFeed: FeedStats;
508
+ }
509
+ /**
510
+ * Defined in:
511
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
512
+ */
513
+ export interface FeedStats {
514
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
515
+ length: number;
516
+ }
@@ -80,14 +80,14 @@ export enum NullValue {
80
80
  export interface ListValue {
81
81
  values?: Value[];
82
82
  }
83
- export interface Timestamp {
84
- seconds: string;
85
- nanos: number;
86
- }
87
83
  export interface Any {
88
84
  type_url: string;
89
85
  value: Uint8Array;
90
86
  }
87
+ export interface Timestamp {
88
+ seconds: string;
89
+ nanos: number;
90
+ }
91
91
  export interface FileDescriptorSet {
92
92
  file?: FileDescriptorProto[];
93
93
  }