@dxos/protocols 0.3.8-main.c66298b → 0.3.8-main.c8588fe

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;AA4DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAugB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,k7+FAAk7+F,CAAC,CAAC,CAAC;AAC3++F,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;AA4DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAugB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,yg/FAAyg/F,CAAC,CAAC,CAAC;AAClk/F,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.8-main.c66298b",
3
+ "version": "0.3.8-main.c8588fe",
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.8-main.c66298b",
37
- "@dxos/invariant": "0.3.8-main.c66298b",
38
- "@dxos/timeframe": "0.3.8-main.c66298b",
39
- "@dxos/keys": "0.3.8-main.c66298b"
36
+ "@dxos/keys": "0.3.8-main.c8588fe",
37
+ "@dxos/invariant": "0.3.8-main.c8588fe",
38
+ "@dxos/codec-protobuf": "0.3.8-main.c8588fe",
39
+ "@dxos/timeframe": "0.3.8-main.c8588fe"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
@@ -41,6 +41,7 @@ message ConnectionInfo {
41
41
  optional string identity = 9;
42
42
  optional uint32 readBufferSize = 10;
43
43
  optional uint32 writeBufferSize = 11;
44
+ optional google.protobuf.Timestamp last_update = 12;
44
45
  }
45
46
 
46
47
  message ConnectionEvent {
@@ -58,37 +58,6 @@ import * as dxos_value from "../value";
58
58
  import * as example_testing_data from "../../example/testing/data";
59
59
  import * as example_testing_rpc from "../../example/testing/rpc";
60
60
  import * as google_protobuf from "../../google/protobuf";
61
- /**
62
- * Defined in:
63
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
64
- */
65
- export interface Services {
66
- spaces?: SpaceStats[];
67
- }
68
- /**
69
- * Defined in:
70
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
71
- */
72
- export interface SpaceStats {
73
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
74
- peers?: PeerStats[];
75
- }
76
- /**
77
- * Defined in:
78
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
79
- */
80
- export interface PeerStats {
81
- controlFeed: FeedStats;
82
- dataFeed: FeedStats;
83
- }
84
- /**
85
- * Defined in:
86
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
87
- */
88
- export interface FeedStats {
89
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
90
- length: number;
91
- }
92
61
  /**
93
62
  * Defined in:
94
63
  * {@link file://./../../../dxos/devtools/host.proto}
@@ -511,3 +480,34 @@ export interface SubscribeToSwarmInfoRequest {
511
480
  export interface SubscribeToSwarmInfoResponse {
512
481
  data?: dxos_devtools_swarm.SwarmInfo[];
513
482
  }
483
+ /**
484
+ * Defined in:
485
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
486
+ */
487
+ export interface Services {
488
+ spaces?: SpaceStats[];
489
+ }
490
+ /**
491
+ * Defined in:
492
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
493
+ */
494
+ export interface SpaceStats {
495
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
496
+ peers?: PeerStats[];
497
+ }
498
+ /**
499
+ * Defined in:
500
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
501
+ */
502
+ export interface PeerStats {
503
+ controlFeed: FeedStats;
504
+ dataFeed: FeedStats;
505
+ }
506
+ /**
507
+ * Defined in:
508
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
509
+ */
510
+ export interface FeedStats {
511
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
512
+ length: number;
513
+ }
@@ -109,6 +109,11 @@ export interface ConnectionInfo {
109
109
  * - proto3_optional = true
110
110
  */
111
111
  writeBufferSize?: number;
112
+ /**
113
+ * Options:
114
+ * - proto3_optional = true
115
+ */
116
+ lastUpdate?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
112
117
  }
113
118
  export namespace ConnectionInfo {
114
119
  /**
@@ -77,14 +77,14 @@ export enum NullValue {
77
77
  export interface ListValue {
78
78
  values?: Value[];
79
79
  }
80
- export interface Any {
81
- type_url: string;
82
- value: Uint8Array;
83
- }
84
80
  export interface Timestamp {
85
81
  seconds: string;
86
82
  nanos: number;
87
83
  }
84
+ export interface Any {
85
+ type_url: string;
86
+ value: Uint8Array;
87
+ }
88
88
  export interface FileDescriptorSet {
89
89
  file?: FileDescriptorProto[];
90
90
  }