@dxos/protocols 0.3.3-main.85c02fd → 0.3.3-main.9766dd8

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;AAyDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA6f7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,ow6FAAow6F,CAAC,CAAC,CAAC;AAC7z6F,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;AAyDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA6f7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,w+6FAAw+6F,CAAC,CAAC,CAAC;AACji7F,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.3-main.85c02fd",
3
+ "version": "0.3.3-main.9766dd8",
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.3-main.85c02fd",
37
- "@dxos/invariant": "0.3.3-main.85c02fd",
38
- "@dxos/keys": "0.3.3-main.85c02fd",
39
- "@dxos/timeframe": "0.3.3-main.85c02fd"
36
+ "@dxos/codec-protobuf": "0.3.3-main.9766dd8",
37
+ "@dxos/invariant": "0.3.3-main.9766dd8",
38
+ "@dxos/keys": "0.3.3-main.9766dd8",
39
+ "@dxos/timeframe": "0.3.3-main.9766dd8"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
@@ -27,6 +27,7 @@ message ConnectionInfo {
27
27
  uint32 bytesReceived = 4;
28
28
  optional uint32 bytesSentRate = 6; // bytes per second.
29
29
  optional uint32 bytesReceivedRate = 7;
30
+ optional uint32 writeBufferSize = 8;
30
31
  }
31
32
 
32
33
  string state = 1;
@@ -38,6 +39,8 @@ message ConnectionInfo {
38
39
  repeated StreamStats streams = 7;
39
40
  optional string close_reason = 8;
40
41
  optional string identity = 9;
42
+ optional uint32 readBufferSize = 10;
43
+ optional uint32 writeBufferSize = 11;
41
44
  }
42
45
 
43
46
  message ConnectionEvent {
@@ -55,37 +55,6 @@ import * as dxos_value from "../value";
55
55
  import * as example_testing_data from "../../example/testing/data";
56
56
  import * as example_testing_rpc from "../../example/testing/rpc";
57
57
  import * as google_protobuf from "../../google/protobuf";
58
- /**
59
- * Defined in:
60
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
61
- */
62
- export interface Services {
63
- spaces?: SpaceStats[];
64
- }
65
- /**
66
- * Defined in:
67
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
68
- */
69
- export interface SpaceStats {
70
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
71
- peers?: PeerStats[];
72
- }
73
- /**
74
- * Defined in:
75
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
76
- */
77
- export interface PeerStats {
78
- controlFeed: FeedStats;
79
- dataFeed: FeedStats;
80
- }
81
- /**
82
- * Defined in:
83
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
84
- */
85
- export interface FeedStats {
86
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
87
- length: number;
88
- }
89
58
  /**
90
59
  * Defined in:
91
60
  * {@link file://./../../../dxos/devtools/host.proto}
@@ -508,3 +477,34 @@ export interface SubscribeToSwarmInfoRequest {
508
477
  export interface SubscribeToSwarmInfoResponse {
509
478
  data?: dxos_devtools_swarm.SwarmInfo[];
510
479
  }
480
+ /**
481
+ * Defined in:
482
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
483
+ */
484
+ export interface Services {
485
+ spaces?: SpaceStats[];
486
+ }
487
+ /**
488
+ * Defined in:
489
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
490
+ */
491
+ export interface SpaceStats {
492
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
493
+ peers?: PeerStats[];
494
+ }
495
+ /**
496
+ * Defined in:
497
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
498
+ */
499
+ export interface PeerStats {
500
+ controlFeed: FeedStats;
501
+ dataFeed: FeedStats;
502
+ }
503
+ /**
504
+ * Defined in:
505
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
506
+ */
507
+ export interface FeedStats {
508
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
509
+ length: number;
510
+ }
@@ -96,6 +96,16 @@ export interface ConnectionInfo {
96
96
  * - proto3_optional = true
97
97
  */
98
98
  identity?: string;
99
+ /**
100
+ * Options:
101
+ * - proto3_optional = true
102
+ */
103
+ readBufferSize?: number;
104
+ /**
105
+ * Options:
106
+ * - proto3_optional = true
107
+ */
108
+ writeBufferSize?: number;
99
109
  }
100
110
  export namespace ConnectionInfo {
101
111
  /**
@@ -122,6 +132,11 @@ export namespace ConnectionInfo {
122
132
  * - proto3_optional = true
123
133
  */
124
134
  bytesReceivedRate?: number;
135
+ /**
136
+ * Options:
137
+ * - proto3_optional = true
138
+ */
139
+ writeBufferSize?: number;
125
140
  }
126
141
  }
127
142
  /**