@dxos/protocols 0.1.16 → 0.1.18

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;AA8C9C,qEAA6C;AAoYhC,QAAA,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,2v1HAA2v1H,CAAC,CAAC;AACrx1H,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;AA8C9C,qEAA6C;AAoYhC,QAAA,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,851HAA851H,CAAC,CAAC;AACx71H,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.16",
3
+ "version": "0.1.18",
4
4
  "description": "Protobuf definitions for DXOS protocols.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -14,10 +14,10 @@
14
14
  "src"
15
15
  ],
16
16
  "dependencies": {
17
- "@dxos/codec-protobuf": "0.1.16",
18
- "@dxos/hypercore": "0.1.16",
19
- "@dxos/keys": "0.1.16",
20
- "@dxos/timeframe": "0.1.16"
17
+ "@dxos/codec-protobuf": "0.1.18",
18
+ "@dxos/hypercore": "0.1.18",
19
+ "@dxos/keys": "0.1.18",
20
+ "@dxos/timeframe": "0.1.18"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/debug": "^4.1.7",
@@ -15,6 +15,8 @@ option go_package = "github.com/dxos/kube/publisher/pb";
15
15
  message PublishRequest {
16
16
  dxos.config.Package package = 1;
17
17
  bool skip_existing = 2;
18
+ // TODO(egorgripasov): Move to a dxrpc layer.
19
+ optional string access_token = 3;
18
20
  }
19
21
 
20
22
  message PublishResponse {
@@ -44,6 +44,37 @@ import * as dxos_type from "../type";
44
44
  import * as example_testing_data from "../../example/testing/data";
45
45
  import * as example_testing_rpc from "../../example/testing/rpc";
46
46
  import * as google_protobuf from "../../google/protobuf";
47
+ /**
48
+ * Defined in:
49
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
50
+ */
51
+ export interface Services {
52
+ spaces?: SpaceStats[];
53
+ }
54
+ /**
55
+ * Defined in:
56
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
57
+ */
58
+ export interface SpaceStats {
59
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
60
+ peers?: PeerStats[];
61
+ }
62
+ /**
63
+ * Defined in:
64
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
65
+ */
66
+ export interface PeerStats {
67
+ controlFeed: FeedStats;
68
+ dataFeed: FeedStats;
69
+ }
70
+ /**
71
+ * Defined in:
72
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
73
+ */
74
+ export interface FeedStats {
75
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
76
+ length: number;
77
+ }
47
78
  /**
48
79
  * Defined in:
49
80
  * {@link file://./../../../dxos/devtools/host.proto}
@@ -422,34 +453,3 @@ export interface TracingService {
422
453
  export interface SetTracingOptionsRequest {
423
454
  enable: boolean;
424
455
  }
425
- /**
426
- * Defined in:
427
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
428
- */
429
- export interface Services {
430
- spaces?: SpaceStats[];
431
- }
432
- /**
433
- * Defined in:
434
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
435
- */
436
- export interface SpaceStats {
437
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
438
- peers?: PeerStats[];
439
- }
440
- /**
441
- * Defined in:
442
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
443
- */
444
- export interface PeerStats {
445
- controlFeed: FeedStats;
446
- dataFeed: FeedStats;
447
- }
448
- /**
449
- * Defined in:
450
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
451
- */
452
- export interface FeedStats {
453
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
454
- length: number;
455
- }
@@ -51,6 +51,11 @@ import * as google_protobuf from "../../google/protobuf";
51
51
  export interface PublishRequest {
52
52
  package: dxos_config.Package;
53
53
  skipExisting: boolean;
54
+ /**
55
+ * Options:
56
+ * - proto3_optional = true
57
+ */
58
+ accessToken?: string;
54
59
  }
55
60
  /**
56
61
  * Defined in: