@dxos/protocols 0.3.2 → 0.3.3-main.006ca4d
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.
- package/dist/cjs/src/proto/gen/dxos/devtools/swarm.d.ts +15 -0
- package/dist/cjs/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.js +1 -1
- package/dist/cjs/src/proto/gen/index.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/proto/gen/dxos/devtools/swarm.d.ts +15 -0
- package/dist/esm/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.js +1 -1
- package/dist/esm/src/proto/gen/index.js.map +1 -1
- package/package.json +5 -5
- package/src/proto/dxos/devtools/swarm.proto +3 -0
- package/src/proto/gen/dxos/devtools/swarm.ts +15 -0
- package/src/proto/gen/index.ts +1 -1
|
@@ -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,
|
|
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
|
+
"version": "0.3.3-main.006ca4d",
|
|
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.
|
|
37
|
-
"@dxos/invariant": "0.3.
|
|
38
|
-
"@dxos/keys": "0.3.
|
|
39
|
-
"@dxos/timeframe": "0.3.
|
|
36
|
+
"@dxos/codec-protobuf": "0.3.3-main.006ca4d",
|
|
37
|
+
"@dxos/invariant": "0.3.3-main.006ca4d",
|
|
38
|
+
"@dxos/keys": "0.3.3-main.006ca4d",
|
|
39
|
+
"@dxos/timeframe": "0.3.3-main.006ca4d"
|
|
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 {
|
|
@@ -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
|
/**
|