@streamr/dht 103.0.0-rc.0 → 103.0.0-rc.1
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/generated/google/protobuf/empty.js +14 -1
- package/dist/generated/google/protobuf/empty.js.map +1 -1
- package/dist/generated/packages/dht/protos/DhtRpc.client.js +1 -1
- package/dist/generated/packages/dht/protos/DhtRpc.js +1 -1
- package/dist/generated/packages/proto-rpc/protos/ProtoRpc.js +1 -1
- package/dist/package.json +8 -8
- package/package.json +8 -8
|
@@ -16,7 +16,20 @@ class Empty$Type extends runtime_3.MessageType {
|
|
|
16
16
|
return message;
|
|
17
17
|
}
|
|
18
18
|
internalBinaryRead(reader, length, options, target) {
|
|
19
|
-
|
|
19
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
20
|
+
while (reader.pos < end) {
|
|
21
|
+
let [fieldNo, wireType] = reader.tag();
|
|
22
|
+
switch (fieldNo) {
|
|
23
|
+
default:
|
|
24
|
+
let u = options.readUnknownField;
|
|
25
|
+
if (u === "throw")
|
|
26
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
27
|
+
let d = reader.skip(wireType);
|
|
28
|
+
if (u !== false)
|
|
29
|
+
(u === true ? runtime_1.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return message;
|
|
20
33
|
}
|
|
21
34
|
internalBinaryWrite(message, writer, options) {
|
|
22
35
|
let u = options.writeUnknownFields;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty.js","sourceRoot":"","sources":["../../../../generated/google/protobuf/empty.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"empty.js","sourceRoot":"","sources":["../../../../generated/google/protobuf/empty.ts"],"names":[],"mappings":";;;AAsCA,kDAA2D;AAE3D,kDAA8D;AAC9D,kDAAmD;AAenD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D,OAAO,OAAO,CAAC;IACnB,CAAC;IACD,mBAAmB,CAAC,OAAc,EAAE,MAAqB,EAAE,OAA2B;QAClF,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB,CAAC;QACnC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,6BAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAClF,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AACD;;GAEG;AACU,QAAA,KAAK,GAAG,IAAI,UAAU,EAAE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ExternalApiRpcClient = exports.ConnectionLockRpcClient = exports.WebrtcConnectorRpcClient = exports.WebsocketClientConnectorRpcClient = exports.RecursiveOperationSessionRpcClient = exports.StoreRpcClient = exports.RecursiveOperationRpcClient = exports.RouterRpcClient = exports.DhtNodeRpcClient = void 0;
|
|
4
|
-
// @generated by protobuf-ts 2.9.
|
|
4
|
+
// @generated by protobuf-ts 2.9.5 with parameter server_generic,generate_dependencies,long_type_number
|
|
5
5
|
// @generated from protobuf file "packages/dht/protos/DhtRpc.proto" (package "dht", syntax proto3)
|
|
6
6
|
// tslint:disable
|
|
7
7
|
const DhtRpc_1 = require("./DhtRpc");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConnectionLockRpc = exports.WebrtcConnectorRpc = exports.WebsocketClientConnectorRpc = exports.RecursiveOperationSessionRpc = exports.StoreRpc = exports.RecursiveOperationRpc = exports.RouterRpc = exports.DhtNodeRpc = exports.ExternalFetchDataResponse = exports.ExternalFetchDataRequest = exports.SetPrivateRequest = exports.DisconnectNotice = exports.LockResponse = exports.UnlockRequest = exports.LockRequest = exports.IceCandidate = exports.RtcAnswer = exports.RtcOffer = exports.WebrtcConnectionRequest = exports.WebsocketConnectionRequest = exports.Message = exports.HandshakeResponse = exports.HandshakeRequest = exports.ConnectivityResponse = exports.ConnectivityRequest = exports.RouteMessageAck = exports.RouteMessageWrapper = exports.ConnectivityMethod = exports.PeerDescriptor = exports.LeaveNotice = exports.PingResponse = exports.PingRequest = exports.RecursiveOperationResponse = exports.RecursiveOperationRequest = exports.ClosestRingPeersResponse = exports.ClosestRingPeersRequest = exports.ClosestPeersResponse = exports.ClosestPeersRequest = exports.DataEntry = exports.ReplicateDataRequest = exports.ExternalStoreDataResponse = exports.ExternalStoreDataRequest = exports.StoreDataResponse = exports.StoreDataRequest = exports.DisconnectMode = exports.HandshakeError = exports.RouteMessageError = exports.RpcResponseError = exports.NodeType = exports.RecursiveOperation = void 0;
|
|
4
4
|
exports.ExternalApiRpc = void 0;
|
|
5
|
-
// @generated by protobuf-ts 2.9.
|
|
5
|
+
// @generated by protobuf-ts 2.9.5 with parameter server_generic,generate_dependencies,long_type_number
|
|
6
6
|
// @generated from protobuf file "packages/dht/protos/DhtRpc.proto" (package "dht", syntax proto3)
|
|
7
7
|
// tslint:disable
|
|
8
8
|
const empty_1 = require("../../../google/protobuf/empty");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Mnfo2uhnf92hvqi2nviouq2hv9puhq = exports.RpcMessage = exports.RpcErrorType = void 0;
|
|
4
|
-
// @generated by protobuf-ts 2.9.
|
|
4
|
+
// @generated by protobuf-ts 2.9.5 with parameter server_generic,generate_dependencies,long_type_number
|
|
5
5
|
// @generated from protobuf file "packages/proto-rpc/protos/ProtoRpc.proto" (package "protorpc", syntax proto3)
|
|
6
6
|
// tslint:disable
|
|
7
7
|
const runtime_1 = require("@protobuf-ts/runtime");
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamr/dht",
|
|
3
|
-
"version": "103.0.0-rc.
|
|
3
|
+
"version": "103.0.0-rc.1",
|
|
4
4
|
"description": "Streamr Network DHT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"@js-sdsl/ordered-map": "^4.4.2",
|
|
19
19
|
"@protobuf-ts/runtime": "^2.8.2",
|
|
20
20
|
"@protobuf-ts/runtime-rpc": "^2.8.2",
|
|
21
|
-
"@streamr/autocertifier-client": "103.0.0-rc.
|
|
22
|
-
"@streamr/cdn-location": "103.0.0-rc.
|
|
23
|
-
"@streamr/geoip-location": "103.0.0-rc.
|
|
24
|
-
"@streamr/proto-rpc": "103.0.0-rc.
|
|
25
|
-
"@streamr/utils": "103.0.0-rc.
|
|
21
|
+
"@streamr/autocertifier-client": "103.0.0-rc.1",
|
|
22
|
+
"@streamr/cdn-location": "103.0.0-rc.1",
|
|
23
|
+
"@streamr/geoip-location": "103.0.0-rc.1",
|
|
24
|
+
"@streamr/proto-rpc": "103.0.0-rc.1",
|
|
25
|
+
"@streamr/utils": "103.0.0-rc.1",
|
|
26
26
|
"eventemitter3": "^5.0.0",
|
|
27
27
|
"heap": "^0.2.6",
|
|
28
28
|
"ipaddr.js": "^2.0.1",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@streamr/browser-test-runner": "^0.0.1",
|
|
39
|
-
"@streamr/test-utils": "103.0.0-rc.
|
|
39
|
+
"@streamr/test-utils": "103.0.0-rc.1",
|
|
40
40
|
"@types/heap": "^0.2.34",
|
|
41
41
|
"@types/k-bucket": "^5.0.1",
|
|
42
42
|
"@types/lodash": "^4.17.16",
|
|
43
43
|
"@types/websocket": "^1.0.10",
|
|
44
|
-
"@types/ws": "^8.
|
|
44
|
+
"@types/ws": "^8.18.0",
|
|
45
45
|
"jest-leak-detector": "^27.3.1",
|
|
46
46
|
"jest-matcher-utils": "^29.7.0",
|
|
47
47
|
"ts-essentials": "^10.0.4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamr/dht",
|
|
3
|
-
"version": "103.0.0-rc.
|
|
3
|
+
"version": "103.0.0-rc.1",
|
|
4
4
|
"description": "Streamr Network DHT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"@js-sdsl/ordered-map": "^4.4.2",
|
|
41
41
|
"@protobuf-ts/runtime": "^2.8.2",
|
|
42
42
|
"@protobuf-ts/runtime-rpc": "^2.8.2",
|
|
43
|
-
"@streamr/autocertifier-client": "103.0.0-rc.
|
|
44
|
-
"@streamr/cdn-location": "103.0.0-rc.
|
|
45
|
-
"@streamr/geoip-location": "103.0.0-rc.
|
|
46
|
-
"@streamr/proto-rpc": "103.0.0-rc.
|
|
47
|
-
"@streamr/utils": "103.0.0-rc.
|
|
43
|
+
"@streamr/autocertifier-client": "103.0.0-rc.1",
|
|
44
|
+
"@streamr/cdn-location": "103.0.0-rc.1",
|
|
45
|
+
"@streamr/geoip-location": "103.0.0-rc.1",
|
|
46
|
+
"@streamr/proto-rpc": "103.0.0-rc.1",
|
|
47
|
+
"@streamr/utils": "103.0.0-rc.1",
|
|
48
48
|
"eventemitter3": "^5.0.0",
|
|
49
49
|
"heap": "^0.2.6",
|
|
50
50
|
"ipaddr.js": "^2.0.1",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@streamr/browser-test-runner": "^0.0.1",
|
|
61
|
-
"@streamr/test-utils": "103.0.0-rc.
|
|
61
|
+
"@streamr/test-utils": "103.0.0-rc.1",
|
|
62
62
|
"@types/heap": "^0.2.34",
|
|
63
63
|
"@types/k-bucket": "^5.0.1",
|
|
64
64
|
"@types/lodash": "^4.17.16",
|
|
65
65
|
"@types/websocket": "^1.0.10",
|
|
66
|
-
"@types/ws": "^8.
|
|
66
|
+
"@types/ws": "^8.18.0",
|
|
67
67
|
"jest-leak-detector": "^27.3.1",
|
|
68
68
|
"jest-matcher-utils": "^29.7.0",
|
|
69
69
|
"ts-essentials": "^10.0.4",
|