@dxos/protocols 0.3.2-main.648180e → 0.3.2-main.988f99c

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;AAwDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAsf7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,084FAA084F,CAAC,CAAC,CAAC;AACng5F,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;AAwDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAuf7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,ml5FAAml5F,CAAC,CAAC,CAAC;AAC5o5F,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.3.2-main.648180e",
3
+ "version": "0.3.2-main.988f99c",
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.3.2-main.648180e",
37
- "@dxos/invariant": "0.3.2-main.648180e",
38
- "@dxos/keys": "0.3.2-main.648180e",
39
- "@dxos/timeframe": "0.3.2-main.648180e"
36
+ "@dxos/codec-protobuf": "0.3.2-main.988f99c",
37
+ "@dxos/invariant": "0.3.2-main.988f99c",
38
+ "@dxos/keys": "0.3.2-main.988f99c",
39
+ "@dxos/timeframe": "0.3.2-main.988f99c"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
@@ -144,6 +144,12 @@ message IdentityProfile {
144
144
  ProfileDocument profile = 1;
145
145
  }
146
146
 
147
+ /// [ASSERTION]: Sets device profile information.
148
+ message DeviceProfile {
149
+ dxos.keys.PublicKey device_key = 1;
150
+ ProfileDocument profile = 2;
151
+ }
152
+
147
153
  // [ASSERTION]: Identity is authorized to access a KUBE.
148
154
  message KubeAccess {
149
155
  dxos.keys.PublicKey kube_key = 1;
@@ -54,37 +54,6 @@ import * as dxos_value from "../value";
54
54
  import * as example_testing_data from "../../example/testing/data";
55
55
  import * as example_testing_rpc from "../../example/testing/rpc";
56
56
  import * as google_protobuf from "../../google/protobuf";
57
- /**
58
- * Defined in:
59
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
60
- */
61
- export interface Services {
62
- spaces?: SpaceStats[];
63
- }
64
- /**
65
- * Defined in:
66
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
67
- */
68
- export interface SpaceStats {
69
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
70
- peers?: PeerStats[];
71
- }
72
- /**
73
- * Defined in:
74
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
75
- */
76
- export interface PeerStats {
77
- controlFeed: FeedStats;
78
- dataFeed: FeedStats;
79
- }
80
- /**
81
- * Defined in:
82
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
83
- */
84
- export interface FeedStats {
85
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
86
- length: number;
87
- }
88
57
  /**
89
58
  * Defined in:
90
59
  * {@link file://./../../../dxos/devtools/host.proto}
@@ -507,3 +476,34 @@ export interface SubscribeToSwarmInfoRequest {
507
476
  export interface SubscribeToSwarmInfoResponse {
508
477
  data?: dxos_devtools_swarm.SwarmInfo[];
509
478
  }
479
+ /**
480
+ * Defined in:
481
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
482
+ */
483
+ export interface Services {
484
+ spaces?: SpaceStats[];
485
+ }
486
+ /**
487
+ * Defined in:
488
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
489
+ */
490
+ export interface SpaceStats {
491
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
492
+ peers?: PeerStats[];
493
+ }
494
+ /**
495
+ * Defined in:
496
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
497
+ */
498
+ export interface PeerStats {
499
+ controlFeed: FeedStats;
500
+ dataFeed: FeedStats;
501
+ }
502
+ /**
503
+ * Defined in:
504
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
505
+ */
506
+ export interface FeedStats {
507
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
508
+ length: number;
509
+ }
@@ -216,6 +216,16 @@ export interface ProfileDocument {
216
216
  export interface IdentityProfile {
217
217
  profile: ProfileDocument;
218
218
  }
219
+ /**
220
+ * [ASSERTION]: Sets device profile information.
221
+ *
222
+ * Defined in:
223
+ * {@link file://./../../../dxos/halo/credentials.proto}
224
+ */
225
+ export interface DeviceProfile {
226
+ deviceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
227
+ profile: ProfileDocument;
228
+ }
219
229
  /**
220
230
  * Defined in:
221
231
  * {@link file://./../../../dxos/halo/credentials.proto}