@streamr/dht 100.0.0-testnet-one.4 → 100.0.0-testnet-two.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/package.json +66 -0
- package/dist/src/connection/ConnectionLockHandler.d.ts +11 -11
- package/dist/src/connection/ConnectionLockHandler.js.map +1 -1
- package/dist/src/connection/ConnectionLockRpcLocal.d.ts +3 -3
- package/dist/src/connection/ConnectionLockRpcLocal.js +4 -4
- package/dist/src/connection/ConnectionLockRpcLocal.js.map +1 -1
- package/dist/src/connection/ConnectionLockRpcRemote.d.ts +3 -5
- package/dist/src/connection/ConnectionLockRpcRemote.js +4 -7
- package/dist/src/connection/ConnectionLockRpcRemote.js.map +1 -1
- package/dist/src/connection/ConnectionManager.d.ts +4 -6
- package/dist/src/connection/ConnectionManager.js +48 -46
- package/dist/src/connection/ConnectionManager.js.map +1 -1
- package/dist/src/connection/ConnectorFacade.d.ts +2 -2
- package/dist/src/connection/ConnectorFacade.js +2 -1
- package/dist/src/connection/ConnectorFacade.js.map +1 -1
- package/dist/src/connection/Handshaker.d.ts +1 -1
- package/dist/src/connection/Handshaker.js +14 -5
- package/dist/src/connection/Handshaker.js.map +1 -1
- package/dist/src/connection/ManagedConnection.d.ts +4 -7
- package/dist/src/connection/ManagedConnection.js +9 -13
- package/dist/src/connection/ManagedConnection.js.map +1 -1
- package/dist/src/connection/connectivityChecker.js +1 -0
- package/dist/src/connection/connectivityChecker.js.map +1 -1
- package/dist/src/connection/simulator/Simulator.d.ts +0 -3
- package/dist/src/connection/simulator/Simulator.js +3 -51
- package/dist/src/connection/simulator/Simulator.js.map +1 -1
- package/dist/src/connection/simulator/SimulatorConnector.js +5 -5
- package/dist/src/connection/simulator/SimulatorConnector.js.map +1 -1
- package/dist/src/connection/webrtc/NodeWebrtcConnection.js +2 -2
- package/dist/src/connection/webrtc/NodeWebrtcConnection.js.map +1 -1
- package/dist/src/connection/webrtc/WebrtcConnector.d.ts +0 -1
- package/dist/src/connection/webrtc/WebrtcConnector.js +7 -9
- package/dist/src/connection/webrtc/WebrtcConnector.js.map +1 -1
- package/dist/src/connection/webrtc/WebrtcConnectorRpcLocal.d.ts +2 -2
- package/dist/src/connection/webrtc/WebrtcConnectorRpcLocal.js +21 -14
- package/dist/src/connection/webrtc/WebrtcConnectorRpcLocal.js.map +1 -1
- package/dist/src/connection/webrtc/WebrtcConnectorRpcRemote.d.ts +2 -5
- package/dist/src/connection/webrtc/WebrtcConnectorRpcRemote.js +1 -4
- package/dist/src/connection/webrtc/WebrtcConnectorRpcRemote.js.map +1 -1
- package/dist/src/connection/websocket/AutoCertifierClientFacade.d.ts +1 -2
- package/dist/src/connection/websocket/AutoCertifierClientFacade.js +3 -4
- package/dist/src/connection/websocket/AutoCertifierClientFacade.js.map +1 -1
- package/dist/src/connection/websocket/ClientWebsocket.js.map +1 -1
- package/dist/src/connection/websocket/WebsocketConnector.d.ts +2 -7
- package/dist/src/connection/websocket/WebsocketConnector.js +48 -44
- package/dist/src/connection/websocket/WebsocketConnector.js.map +1 -1
- package/dist/src/connection/websocket/WebsocketConnectorRpcLocal.d.ts +3 -2
- package/dist/src/connection/websocket/WebsocketConnectorRpcLocal.js +8 -10
- package/dist/src/connection/websocket/WebsocketConnectorRpcLocal.js.map +1 -1
- package/dist/src/connection/websocket/WebsocketConnectorRpcRemote.d.ts +3 -6
- package/dist/src/connection/websocket/WebsocketConnectorRpcRemote.js +0 -3
- package/dist/src/connection/websocket/WebsocketConnectorRpcRemote.js.map +1 -1
- package/dist/src/connection/websocket/WebsocketServer.d.ts +1 -4
- package/dist/src/connection/websocket/WebsocketServer.js +11 -12
- package/dist/src/connection/websocket/WebsocketServer.js.map +1 -1
- package/dist/src/dht/DhtNode.d.ts +10 -13
- package/dist/src/dht/DhtNode.js +41 -54
- package/dist/src/dht/DhtNode.js.map +1 -1
- package/dist/src/dht/DhtNodeRpcLocal.d.ts +2 -3
- package/dist/src/dht/DhtNodeRpcLocal.js +1 -1
- package/dist/src/dht/DhtNodeRpcLocal.js.map +1 -1
- package/dist/src/dht/DhtNodeRpcRemote.d.ts +7 -7
- package/dist/src/dht/DhtNodeRpcRemote.js +9 -11
- package/dist/src/dht/DhtNodeRpcRemote.js.map +1 -1
- package/dist/src/dht/ExternalApiRpcLocal.d.ts +5 -4
- package/dist/src/dht/ExternalApiRpcLocal.js +3 -2
- package/dist/src/dht/ExternalApiRpcLocal.js.map +1 -1
- package/dist/src/dht/ExternalApiRpcRemote.d.ts +2 -2
- package/dist/src/dht/ExternalApiRpcRemote.js +2 -0
- package/dist/src/dht/ExternalApiRpcRemote.js.map +1 -1
- package/dist/src/dht/PeerManager.d.ts +13 -14
- package/dist/src/dht/PeerManager.js +45 -60
- package/dist/src/dht/PeerManager.js.map +1 -1
- package/dist/src/dht/contact/Contact.d.ts +2 -2
- package/dist/src/dht/contact/Contact.js +2 -2
- package/dist/src/dht/contact/Contact.js.map +1 -1
- package/dist/src/dht/contact/ContactList.d.ts +7 -7
- package/dist/src/dht/contact/ContactList.js +3 -3
- package/dist/src/dht/contact/ContactList.js.map +1 -1
- package/dist/src/dht/contact/RandomContactList.d.ts +4 -4
- package/dist/src/dht/contact/RandomContactList.js +12 -11
- package/dist/src/dht/contact/RandomContactList.js.map +1 -1
- package/dist/src/dht/contact/RpcRemote.d.ts +7 -4
- package/dist/src/dht/contact/RpcRemote.js +5 -2
- package/dist/src/dht/contact/RpcRemote.js.map +1 -1
- package/dist/src/dht/contact/SortedContactList.d.ts +13 -13
- package/dist/src/dht/contact/SortedContactList.js +33 -29
- package/dist/src/dht/contact/SortedContactList.js.map +1 -1
- package/dist/src/dht/discovery/DiscoverySession.d.ts +2 -4
- package/dist/src/dht/discovery/DiscoverySession.js +19 -23
- package/dist/src/dht/discovery/DiscoverySession.js.map +1 -1
- package/dist/src/dht/discovery/PeerDiscovery.d.ts +2 -5
- package/dist/src/dht/discovery/PeerDiscovery.js +12 -20
- package/dist/src/dht/discovery/PeerDiscovery.js.map +1 -1
- package/dist/src/dht/recursive-operation/RecursiveOperationManager.d.ts +36 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationManager.js +165 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationManager.js.map +1 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationRpcLocal.d.ts +14 -0
- package/dist/src/dht/{find/FindRpcLocal.js → recursive-operation/RecursiveOperationRpcLocal.js} +7 -7
- package/dist/src/dht/recursive-operation/RecursiveOperationRpcLocal.js.map +1 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationRpcRemote.d.ts +6 -0
- package/dist/src/dht/{routing/FindRpcRemote.js → recursive-operation/RecursiveOperationRpcRemote.js} +11 -11
- package/dist/src/dht/recursive-operation/RecursiveOperationRpcRemote.js.map +1 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationSession.d.ts +42 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationSession.js +182 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationSession.js.map +1 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationSessionRpcLocal.d.ts +12 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationSessionRpcLocal.js +17 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationSessionRpcLocal.js.map +1 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationSessionRpcRemote.d.ts +6 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationSessionRpcRemote.js +21 -0
- package/dist/src/dht/recursive-operation/RecursiveOperationSessionRpcRemote.js.map +1 -0
- package/dist/src/dht/routing/Router.d.ts +4 -19
- package/dist/src/dht/routing/Router.js +41 -33
- package/dist/src/dht/routing/Router.js.map +1 -1
- package/dist/src/dht/routing/RouterRpcLocal.js +6 -5
- package/dist/src/dht/routing/RouterRpcLocal.js.map +1 -1
- package/dist/src/dht/routing/RouterRpcRemote.d.ts +2 -2
- package/dist/src/dht/routing/RouterRpcRemote.js +7 -7
- package/dist/src/dht/routing/RouterRpcRemote.js.map +1 -1
- package/dist/src/dht/routing/RoutingSession.d.ts +20 -16
- package/dist/src/dht/routing/RoutingSession.js +37 -45
- package/dist/src/dht/routing/RoutingSession.js.map +1 -1
- package/dist/src/dht/store/LocalDataStore.d.ts +11 -13
- package/dist/src/dht/store/LocalDataStore.js +36 -56
- package/dist/src/dht/store/LocalDataStore.js.map +1 -1
- package/dist/src/dht/store/StoreManager.d.ts +33 -0
- package/dist/src/dht/store/StoreManager.js +186 -0
- package/dist/src/dht/store/StoreManager.js.map +1 -0
- package/dist/src/dht/store/StoreRpcLocal.d.ts +8 -40
- package/dist/src/dht/store/StoreRpcLocal.js +13 -229
- package/dist/src/dht/store/StoreRpcLocal.js.map +1 -1
- package/dist/src/dht/store/StoreRpcRemote.d.ts +5 -5
- package/dist/src/dht/store/StoreRpcRemote.js +4 -5
- package/dist/src/dht/store/StoreRpcRemote.js.map +1 -1
- package/dist/src/exports.d.ts +2 -0
- package/dist/src/exports.js.map +1 -1
- package/dist/src/helpers/MapWithTtl.d.ts +14 -0
- package/dist/src/helpers/MapWithTtl.js +59 -0
- package/dist/src/helpers/MapWithTtl.js.map +1 -0
- package/dist/src/helpers/PeerID.d.ts +2 -0
- package/dist/src/helpers/PeerID.js +4 -0
- package/dist/src/helpers/PeerID.js.map +1 -1
- package/dist/src/helpers/nodeId.d.ts +5 -0
- package/dist/src/helpers/nodeId.js +18 -1
- package/dist/src/helpers/nodeId.js.map +1 -1
- package/dist/src/helpers/peerIdFromPeerDescriptor.d.ts +2 -1
- package/dist/src/helpers/peerIdFromPeerDescriptor.js +2 -1
- package/dist/src/helpers/peerIdFromPeerDescriptor.js.map +1 -1
- package/dist/src/helpers/protoClasses.js +2 -3
- package/dist/src/helpers/protoClasses.js.map +1 -1
- package/dist/src/helpers/versionCompatibility.d.ts +2 -0
- package/dist/src/helpers/versionCompatibility.js +18 -0
- package/dist/src/helpers/versionCompatibility.js.map +1 -0
- package/dist/src/proto/packages/dht/protos/DhtRpc.client.d.ts +21 -22
- package/dist/src/proto/packages/dht/protos/DhtRpc.client.js +18 -18
- package/dist/src/proto/packages/dht/protos/DhtRpc.client.js.map +1 -1
- package/dist/src/proto/packages/dht/protos/DhtRpc.d.ts +49 -65
- package/dist/src/proto/packages/dht/protos/DhtRpc.js +43 -58
- package/dist/src/proto/packages/dht/protos/DhtRpc.js.map +1 -1
- package/dist/src/proto/packages/dht/protos/DhtRpc.server.d.ts +11 -12
- package/dist/src/rpc-protocol/DhtCallContext.d.ts +2 -1
- package/dist/src/rpc-protocol/DhtCallContext.js.map +1 -1
- package/dist/src/rpc-protocol/DhtRpcOptions.d.ts +2 -1
- package/dist/src/transport/ITransport.d.ts +9 -1
- package/dist/src/transport/ITransport.js +5 -0
- package/dist/src/transport/ITransport.js.map +1 -1
- package/dist/src/transport/ListeningRpcCommunicator.js +1 -1
- package/dist/src/transport/ListeningRpcCommunicator.js.map +1 -1
- package/dist/src/transport/RoutingRpcCommunicator.d.ts +2 -1
- package/dist/src/transport/RoutingRpcCommunicator.js +16 -11
- package/dist/src/transport/RoutingRpcCommunicator.js.map +1 -1
- package/jest.config.js +4 -1
- package/karma-setup.js +2 -0
- package/karma.config.js +11 -7
- package/package.json +6 -7
- package/protos/DhtRpc.proto +20 -24
- package/src/connection/ConnectionLockHandler.ts +15 -15
- package/src/connection/ConnectionLockRpcLocal.ts +8 -9
- package/src/connection/ConnectionLockRpcRemote.ts +7 -16
- package/src/connection/ConnectionManager.ts +58 -55
- package/src/connection/ConnectorFacade.ts +3 -0
- package/src/connection/Handshaker.ts +21 -6
- package/src/connection/ManagedConnection.ts +20 -34
- package/src/connection/connectivityChecker.ts +1 -0
- package/src/connection/simulator/Simulator.ts +5 -36
- package/src/connection/simulator/SimulatorConnector.ts +8 -8
- package/src/connection/webrtc/BrowserWebrtcConnection.ts +0 -3
- package/src/connection/webrtc/NodeWebrtcConnection.ts +3 -4
- package/src/connection/webrtc/WebrtcConnector.ts +11 -13
- package/src/connection/webrtc/WebrtcConnectorRpcLocal.ts +25 -18
- package/src/connection/webrtc/WebrtcConnectorRpcRemote.ts +3 -13
- package/src/connection/websocket/AutoCertifierClientFacade.ts +4 -6
- package/src/connection/websocket/ClientWebsocket.ts +1 -0
- package/src/connection/websocket/WebsocketConnector.ts +57 -61
- package/src/connection/websocket/WebsocketConnectorRpcLocal.ts +11 -13
- package/src/connection/websocket/WebsocketConnectorRpcRemote.ts +4 -15
- package/src/connection/websocket/WebsocketServer.ts +14 -17
- package/src/dht/DhtNode.ts +69 -71
- package/src/dht/DhtNodeRpcLocal.ts +1 -3
- package/src/dht/DhtNodeRpcRemote.ts +14 -18
- package/src/dht/ExternalApiRpcLocal.ts +16 -6
- package/src/dht/ExternalApiRpcRemote.ts +5 -3
- package/src/dht/PeerManager.ts +73 -90
- package/src/dht/contact/Contact.ts +5 -4
- package/src/dht/contact/ContactList.ts +9 -9
- package/src/dht/contact/RandomContactList.ts +14 -14
- package/src/dht/contact/RpcRemote.ts +10 -7
- package/src/dht/contact/SortedContactList.ts +48 -45
- package/src/dht/discovery/DiscoverySession.ts +25 -27
- package/src/dht/discovery/PeerDiscovery.ts +16 -37
- package/src/dht/recursive-operation/RecursiveOperationManager.ts +240 -0
- package/src/dht/{find/FindRpcLocal.ts → recursive-operation/RecursiveOperationRpcLocal.ts} +9 -9
- package/src/dht/{routing/FindRpcRemote.ts → recursive-operation/RecursiveOperationRpcRemote.ts} +10 -10
- package/src/dht/recursive-operation/RecursiveOperationSession.ts +224 -0
- package/src/dht/recursive-operation/RecursiveOperationSessionRpcLocal.ts +25 -0
- package/src/dht/{find/FindSessionRpcRemote.ts → recursive-operation/RecursiveOperationSessionRpcRemote.ts} +8 -8
- package/src/dht/routing/Router.ts +45 -64
- package/src/dht/routing/RouterRpcLocal.ts +7 -6
- package/src/dht/routing/RouterRpcRemote.ts +9 -10
- package/src/dht/routing/RoutingSession.ts +59 -68
- package/src/dht/store/LocalDataStore.ts +47 -66
- package/src/dht/store/StoreManager.ts +217 -0
- package/src/dht/store/StoreRpcLocal.ts +26 -302
- package/src/dht/store/StoreRpcRemote.ts +9 -11
- package/src/exports.ts +2 -0
- package/src/helpers/MapWithTtl.ts +71 -0
- package/src/helpers/PeerID.ts +5 -0
- package/src/helpers/nodeId.ts +20 -0
- package/src/helpers/peerIdFromPeerDescriptor.ts +5 -3
- package/src/helpers/protoClasses.ts +4 -6
- package/src/helpers/versionCompatibility.ts +13 -0
- package/src/proto/packages/dht/protos/DhtRpc.client.ts +31 -32
- package/src/proto/packages/dht/protos/DhtRpc.server.ts +11 -12
- package/src/proto/packages/dht/protos/DhtRpc.ts +67 -90
- package/src/rpc-protocol/DhtCallContext.ts +2 -1
- package/src/rpc-protocol/DhtRpcOptions.ts +2 -1
- package/src/transport/ITransport.ts +10 -1
- package/src/transport/ListeningRpcCommunicator.ts +1 -1
- package/src/transport/RoutingRpcCommunicator.ts +18 -12
- package/test/benchmark/Find.test.ts +8 -21
- package/test/benchmark/KademliaCorrectness.test.ts +11 -20
- package/test/benchmark/SortedContactListBenchmark.test.ts +9 -9
- package/test/benchmark/kademlia-simulation/Contact.ts +9 -8
- package/test/benchmark/kademlia-simulation/KademliaSimulation.ts +2 -2
- package/test/benchmark/kademlia-simulation/SimulationNode.ts +17 -17
- package/test/end-to-end/Layer0-Layer1.test.ts +10 -14
- package/test/end-to-end/Layer0.test.ts +15 -18
- package/test/end-to-end/Layer0MixedConnectionTypes.test.ts +7 -9
- package/test/end-to-end/Layer0Webrtc-Layer1.test.ts +4 -10
- package/test/end-to-end/Layer0Webrtc.test.ts +5 -6
- package/test/end-to-end/Layer1-Scale-WebSocket.test.ts +8 -16
- package/test/end-to-end/Layer1-Scale-Webrtc.test.ts +6 -13
- package/test/end-to-end/WebsocketConnectionRequest.test.ts +5 -6
- package/test/end-to-end/memory-leak.test.ts +6 -8
- package/test/integration/ConnectionLocking.test.ts +6 -13
- package/test/integration/ConnectionManager.test.ts +26 -43
- package/test/integration/DhtJoinPeerDiscovery.test.ts +5 -10
- package/test/integration/DhtNodeExternalAPI.test.ts +16 -22
- package/test/integration/DhtNodeRpcRemote.test.ts +13 -22
- package/test/integration/DhtRpc.test.ts +13 -18
- package/test/integration/Find.test.ts +10 -10
- package/test/integration/Layer1-scale.test.ts +17 -28
- package/test/integration/Mock-Layer1-Layer0.test.ts +25 -43
- package/test/integration/MultipleEntryPointJoining.test.ts +7 -7
- package/test/integration/ReplicateData.test.ts +28 -30
- package/test/integration/RouteMessage.test.ts +30 -27
- package/test/integration/RouterRpcRemote.test.ts +12 -18
- package/test/integration/RpcErrors.test.ts +8 -21
- package/test/integration/ScaleDownDht.test.ts +11 -10
- package/test/integration/SimultaneousConnections.test.ts +43 -67
- package/test/integration/Store.test.ts +23 -36
- package/test/integration/StoreAndDelete.test.ts +30 -50
- package/test/integration/StoreOnDhtWithTwoNodes.test.ts +16 -37
- package/test/integration/StoreRpcRemote.test.ts +20 -30
- package/test/integration/WebrtcConnectionManagement.test.ts +3 -13
- package/test/integration/WebrtcConnectorRpc.test.ts +3 -9
- package/test/integration/WebsocketConnectionManagement.test.ts +7 -10
- package/test/integration/WebsocketConnectorRpc.test.ts +8 -17
- package/test/unit/ConnectivityHelpers.test.ts +9 -17
- package/test/unit/DuplicateDetector.test.ts +7 -4
- package/test/unit/LocalDataStore.test.ts +66 -77
- package/test/unit/PeerManager.test.ts +31 -0
- package/test/unit/RandomContactList.test.ts +13 -8
- package/test/unit/{Finder.test.ts → RecursiveOperationManager.test.ts} +38 -43
- package/test/unit/RecursiveOperationSession.test.ts +68 -0
- package/test/unit/Router.test.ts +15 -22
- package/test/unit/RoutingSession.test.ts +23 -25
- package/test/unit/SortedContactList.test.ts +41 -26
- package/test/unit/StoreManager.test.ts +132 -0
- package/test/unit/WebsocketConnector.test.ts +27 -35
- package/test/unit/customMatchers.test.ts +16 -0
- package/test/unit/versionCompatibility.test.ts +16 -0
- package/test/utils/FakeTransport.ts +44 -0
- package/test/utils/customMatchers.ts +70 -0
- package/test/utils/mock/MockRpcCommunicator.ts +7 -0
- package/test/utils/mock/Router.ts +3 -2
- package/test/utils/mock/mockDataEntry.ts +36 -0
- package/test/utils/utils.ts +49 -87
- package/tsconfig.browser.json +2 -1
- package/tsconfig.jest.json +2 -1
- package/tsconfig.node.json +2 -1
- package/dist/src/dht/find/FindRpcLocal.d.ts +0 -14
- package/dist/src/dht/find/FindRpcLocal.js.map +0 -1
- package/dist/src/dht/find/FindSession.d.ts +0 -44
- package/dist/src/dht/find/FindSession.js +0 -150
- package/dist/src/dht/find/FindSession.js.map +0 -1
- package/dist/src/dht/find/FindSessionRpcLocal.d.ts +0 -12
- package/dist/src/dht/find/FindSessionRpcLocal.js +0 -17
- package/dist/src/dht/find/FindSessionRpcLocal.js.map +0 -1
- package/dist/src/dht/find/FindSessionRpcRemote.d.ts +0 -6
- package/dist/src/dht/find/FindSessionRpcRemote.js +0 -21
- package/dist/src/dht/find/FindSessionRpcRemote.js.map +0 -1
- package/dist/src/dht/find/Finder.d.ts +0 -49
- package/dist/src/dht/find/Finder.js +0 -197
- package/dist/src/dht/find/Finder.js.map +0 -1
- package/dist/src/dht/routing/FindRpcRemote.d.ts +0 -6
- package/dist/src/dht/routing/FindRpcRemote.js.map +0 -1
- package/src/dht/find/FindSession.ts +0 -183
- package/src/dht/find/FindSessionRpcLocal.ts +0 -25
- package/src/dht/find/Finder.ts +0 -295
|
@@ -7,7 +7,8 @@ const peerIdFromPeerDescriptor = (peerDescriptor) => {
|
|
|
7
7
|
return PeerID_1.PeerID.fromValue(peerDescriptor.nodeId);
|
|
8
8
|
};
|
|
9
9
|
exports.peerIdFromPeerDescriptor = peerIdFromPeerDescriptor;
|
|
10
|
-
// TODO could
|
|
10
|
+
// TODO could use this in trackerless-network (instead of copy-pasted same implementation)
|
|
11
|
+
// and move this to nodeId.ts
|
|
11
12
|
const getNodeIdFromPeerDescriptor = (peerDescriptor) => {
|
|
12
13
|
return (0, utils_1.binaryToHex)(peerDescriptor.nodeId);
|
|
13
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"peerIdFromPeerDescriptor.js","sourceRoot":"","sources":["../../../src/helpers/peerIdFromPeerDescriptor.ts"],"names":[],"mappings":";;;AAAA,0CAA8D;AAE9D,qCAA6D;
|
|
1
|
+
{"version":3,"file":"peerIdFromPeerDescriptor.js","sourceRoot":"","sources":["../../../src/helpers/peerIdFromPeerDescriptor.ts"],"names":[],"mappings":";;;AAAA,0CAA8D;AAE9D,qCAA6D;AAGtD,MAAM,wBAAwB,GAAG,CAAC,cAA8B,EAAU,EAAE;IAC/E,OAAO,eAAM,CAAC,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,CAAA;AAClD,CAAC,CAAA;AAFY,QAAA,wBAAwB,4BAEpC;AAED,0FAA0F;AAC1F,6BAA6B;AACtB,MAAM,2BAA2B,GAAG,CAAC,cAA8B,EAAU,EAAE;IAClF,OAAO,IAAA,mBAAW,EAAC,cAAc,CAAC,MAAM,CAAsB,CAAA;AAClE,CAAC,CAAA;AAFY,QAAA,2BAA2B,+BAEvC;AAEM,MAAM,qBAAqB,GAAG,CAAC,cAA8B,EAAa,EAAE;IAC/E,OAAO,IAAA,wBAAe,EAAC,cAAc,CAAC,MAAM,CAAC,CAAA;AACjD,CAAC,CAAA;AAFY,QAAA,qBAAqB,yBAEjC;AAEM,MAAM,uBAAuB,GAAG,CAAC,eAA+B,EAAE,eAA+B,EAAW,EAAE;IACjH,OAAO,IAAA,wBAAgB,EAAC,eAAe,CAAC,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;AAC3E,CAAC,CAAA;AAFY,QAAA,uBAAuB,2BAEnC"}
|
|
@@ -5,8 +5,8 @@ const DhtRpc_1 = require("../proto/packages/dht/protos/DhtRpc");
|
|
|
5
5
|
exports.protoClasses = [
|
|
6
6
|
DhtRpc_1.ClosestPeersRequest,
|
|
7
7
|
DhtRpc_1.ClosestPeersResponse,
|
|
8
|
-
DhtRpc_1.
|
|
9
|
-
DhtRpc_1.
|
|
8
|
+
DhtRpc_1.RecursiveOperationRequest,
|
|
9
|
+
DhtRpc_1.RecursiveOperationResponse,
|
|
10
10
|
DhtRpc_1.PingRequest,
|
|
11
11
|
DhtRpc_1.PingResponse,
|
|
12
12
|
DhtRpc_1.LeaveNotice,
|
|
@@ -21,7 +21,6 @@ exports.protoClasses = [
|
|
|
21
21
|
DhtRpc_1.HandshakeResponse,
|
|
22
22
|
DhtRpc_1.Message,
|
|
23
23
|
DhtRpc_1.WebsocketConnectionRequest,
|
|
24
|
-
DhtRpc_1.WebsocketConnectionResponse,
|
|
25
24
|
DhtRpc_1.WebrtcConnectionRequest,
|
|
26
25
|
DhtRpc_1.RtcOffer,
|
|
27
26
|
DhtRpc_1.RtcAnswer,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protoClasses.js","sourceRoot":"","sources":["../../../src/helpers/protoClasses.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"protoClasses.js","sourceRoot":"","sources":["../../../src/helpers/protoClasses.ts"],"names":[],"mappings":";;;AACA,gEA2B4C;AAE/B,QAAA,YAAY,GAA6B;IAClD,4BAAmB;IACnB,6BAAoB;IACpB,kCAAyB;IACzB,mCAA0B;IAC1B,oBAAW;IACX,qBAAY;IACZ,oBAAW;IACX,uBAAc;IACd,2BAAkB;IAClB,yBAAgB;IAChB,4BAAmB;IACnB,wBAAe;IACf,4BAAmB;IACnB,6BAAoB;IACpB,yBAAgB;IAChB,0BAAiB;IACjB,gBAAO;IACP,mCAA0B;IAC1B,gCAAuB;IACvB,iBAAQ;IACR,kBAAS;IACT,qBAAY;IACZ,oBAAW;IACX,sBAAa;IACb,qBAAY;CACf,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.excludePatchVersion = exports.isCompatibleVersion = void 0;
|
|
4
|
+
// Is able to compare versions such as 1.2.3 and 1.2.4
|
|
5
|
+
// can also compare versions such as 100.0.0-pretestnet.0 and 100.0.0-pretestnet.40
|
|
6
|
+
const isCompatibleVersion = (version1, version2) => {
|
|
7
|
+
const minorVersion1 = (0, exports.excludePatchVersion)(version1);
|
|
8
|
+
const minorVersion2 = (0, exports.excludePatchVersion)(version2);
|
|
9
|
+
return minorVersion1 === minorVersion2;
|
|
10
|
+
};
|
|
11
|
+
exports.isCompatibleVersion = isCompatibleVersion;
|
|
12
|
+
const excludePatchVersion = (version) => {
|
|
13
|
+
const versionParts = version.split('.');
|
|
14
|
+
versionParts.pop();
|
|
15
|
+
return versionParts.join('.');
|
|
16
|
+
};
|
|
17
|
+
exports.excludePatchVersion = excludePatchVersion;
|
|
18
|
+
//# sourceMappingURL=versionCompatibility.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"versionCompatibility.js","sourceRoot":"","sources":["../../../src/helpers/versionCompatibility.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,mFAAmF;AAC5E,MAAM,mBAAmB,GAAG,CAAC,QAAgB,EAAE,QAAgB,EAAW,EAAE;IAC/E,MAAM,aAAa,GAAG,IAAA,2BAAmB,EAAC,QAAQ,CAAC,CAAA;IACnD,MAAM,aAAa,GAAG,IAAA,2BAAmB,EAAC,QAAQ,CAAC,CAAA;IACnD,OAAO,aAAa,KAAK,aAAa,CAAA;AAC1C,CAAC,CAAA;AAJY,QAAA,mBAAmB,uBAI/B;AAEM,MAAM,mBAAmB,GAAG,CAAC,OAAe,EAAU,EAAE;IAC3D,MAAM,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IACvC,YAAY,CAAC,GAAG,EAAE,CAAA;IAClB,OAAO,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACjC,CAAC,CAAA;AAJY,QAAA,mBAAmB,uBAI/B"}
|
|
@@ -11,9 +11,8 @@ import type { IceCandidate } from "./DhtRpc";
|
|
|
11
11
|
import type { RtcAnswer } from "./DhtRpc";
|
|
12
12
|
import type { RtcOffer } from "./DhtRpc";
|
|
13
13
|
import type { WebrtcConnectionRequest } from "./DhtRpc";
|
|
14
|
-
import type { WebsocketConnectionResponse } from "./DhtRpc";
|
|
15
14
|
import type { WebsocketConnectionRequest } from "./DhtRpc";
|
|
16
|
-
import type {
|
|
15
|
+
import type { RecursiveOperationResponse } from "./DhtRpc";
|
|
17
16
|
import type { ReplicateDataRequest } from "./DhtRpc";
|
|
18
17
|
import type { StoreDataResponse } from "./DhtRpc";
|
|
19
18
|
import type { StoreDataRequest } from "./DhtRpc";
|
|
@@ -104,18 +103,18 @@ export declare class RouterRpcClient implements IRouterRpcClient, ServiceInfo {
|
|
|
104
103
|
forwardMessage(input: RouteMessageWrapper, options?: RpcOptions): UnaryCall<RouteMessageWrapper, RouteMessageAck>;
|
|
105
104
|
}
|
|
106
105
|
/**
|
|
107
|
-
* @generated from protobuf service dht.
|
|
106
|
+
* @generated from protobuf service dht.RecursiveOperationRpc
|
|
108
107
|
*/
|
|
109
|
-
export interface
|
|
108
|
+
export interface IRecursiveOperationRpcClient {
|
|
110
109
|
/**
|
|
111
|
-
* @generated from protobuf rpc:
|
|
110
|
+
* @generated from protobuf rpc: routeRequest(dht.RouteMessageWrapper) returns (dht.RouteMessageAck);
|
|
112
111
|
*/
|
|
113
|
-
|
|
112
|
+
routeRequest(input: RouteMessageWrapper, options?: RpcOptions): UnaryCall<RouteMessageWrapper, RouteMessageAck>;
|
|
114
113
|
}
|
|
115
114
|
/**
|
|
116
|
-
* @generated from protobuf service dht.
|
|
115
|
+
* @generated from protobuf service dht.RecursiveOperationRpc
|
|
117
116
|
*/
|
|
118
|
-
export declare class
|
|
117
|
+
export declare class RecursiveOperationRpcClient implements IRecursiveOperationRpcClient, ServiceInfo {
|
|
119
118
|
private readonly _transport;
|
|
120
119
|
typeName: string;
|
|
121
120
|
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
|
|
@@ -124,9 +123,9 @@ export declare class FindRpcClient implements IFindRpcClient, ServiceInfo {
|
|
|
124
123
|
};
|
|
125
124
|
constructor(_transport: RpcTransport);
|
|
126
125
|
/**
|
|
127
|
-
* @generated from protobuf rpc:
|
|
126
|
+
* @generated from protobuf rpc: routeRequest(dht.RouteMessageWrapper) returns (dht.RouteMessageAck);
|
|
128
127
|
*/
|
|
129
|
-
|
|
128
|
+
routeRequest(input: RouteMessageWrapper, options?: RpcOptions): UnaryCall<RouteMessageWrapper, RouteMessageAck>;
|
|
130
129
|
}
|
|
131
130
|
/**
|
|
132
131
|
* @generated from protobuf service dht.StoreRpc
|
|
@@ -162,18 +161,18 @@ export declare class StoreRpcClient implements IStoreRpcClient, ServiceInfo {
|
|
|
162
161
|
replicateData(input: ReplicateDataRequest, options?: RpcOptions): UnaryCall<ReplicateDataRequest, Empty>;
|
|
163
162
|
}
|
|
164
163
|
/**
|
|
165
|
-
* @generated from protobuf service dht.
|
|
164
|
+
* @generated from protobuf service dht.RecursiveOperationSessionRpc
|
|
166
165
|
*/
|
|
167
|
-
export interface
|
|
166
|
+
export interface IRecursiveOperationSessionRpcClient {
|
|
168
167
|
/**
|
|
169
|
-
* @generated from protobuf rpc:
|
|
168
|
+
* @generated from protobuf rpc: sendResponse(dht.RecursiveOperationResponse) returns (google.protobuf.Empty);
|
|
170
169
|
*/
|
|
171
|
-
|
|
170
|
+
sendResponse(input: RecursiveOperationResponse, options?: RpcOptions): UnaryCall<RecursiveOperationResponse, Empty>;
|
|
172
171
|
}
|
|
173
172
|
/**
|
|
174
|
-
* @generated from protobuf service dht.
|
|
173
|
+
* @generated from protobuf service dht.RecursiveOperationSessionRpc
|
|
175
174
|
*/
|
|
176
|
-
export declare class
|
|
175
|
+
export declare class RecursiveOperationSessionRpcClient implements IRecursiveOperationSessionRpcClient, ServiceInfo {
|
|
177
176
|
private readonly _transport;
|
|
178
177
|
typeName: string;
|
|
179
178
|
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
|
|
@@ -182,18 +181,18 @@ export declare class FindSessionRpcClient implements IFindSessionRpcClient, Serv
|
|
|
182
181
|
};
|
|
183
182
|
constructor(_transport: RpcTransport);
|
|
184
183
|
/**
|
|
185
|
-
* @generated from protobuf rpc:
|
|
184
|
+
* @generated from protobuf rpc: sendResponse(dht.RecursiveOperationResponse) returns (google.protobuf.Empty);
|
|
186
185
|
*/
|
|
187
|
-
|
|
186
|
+
sendResponse(input: RecursiveOperationResponse, options?: RpcOptions): UnaryCall<RecursiveOperationResponse, Empty>;
|
|
188
187
|
}
|
|
189
188
|
/**
|
|
190
189
|
* @generated from protobuf service dht.WebsocketConnectorRpc
|
|
191
190
|
*/
|
|
192
191
|
export interface IWebsocketConnectorRpcClient {
|
|
193
192
|
/**
|
|
194
|
-
* @generated from protobuf rpc: requestConnection(dht.WebsocketConnectionRequest) returns (
|
|
193
|
+
* @generated from protobuf rpc: requestConnection(dht.WebsocketConnectionRequest) returns (google.protobuf.Empty);
|
|
195
194
|
*/
|
|
196
|
-
requestConnection(input: WebsocketConnectionRequest, options?: RpcOptions): UnaryCall<WebsocketConnectionRequest,
|
|
195
|
+
requestConnection(input: WebsocketConnectionRequest, options?: RpcOptions): UnaryCall<WebsocketConnectionRequest, Empty>;
|
|
197
196
|
}
|
|
198
197
|
/**
|
|
199
198
|
* @generated from protobuf service dht.WebsocketConnectorRpc
|
|
@@ -207,9 +206,9 @@ export declare class WebsocketConnectorRpcClient implements IWebsocketConnectorR
|
|
|
207
206
|
};
|
|
208
207
|
constructor(_transport: RpcTransport);
|
|
209
208
|
/**
|
|
210
|
-
* @generated from protobuf rpc: requestConnection(dht.WebsocketConnectionRequest) returns (
|
|
209
|
+
* @generated from protobuf rpc: requestConnection(dht.WebsocketConnectionRequest) returns (google.protobuf.Empty);
|
|
211
210
|
*/
|
|
212
|
-
requestConnection(input: WebsocketConnectionRequest, options?: RpcOptions): UnaryCall<WebsocketConnectionRequest,
|
|
211
|
+
requestConnection(input: WebsocketConnectionRequest, options?: RpcOptions): UnaryCall<WebsocketConnectionRequest, Empty>;
|
|
213
212
|
}
|
|
214
213
|
/**
|
|
215
214
|
* @generated from protobuf service dht.WebrtcConnectorRpc
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExternalApiRpcClient = exports.ConnectionLockRpcClient = exports.WebrtcConnectorRpcClient = exports.WebsocketConnectorRpcClient = exports.
|
|
3
|
+
exports.ExternalApiRpcClient = exports.ConnectionLockRpcClient = exports.WebrtcConnectorRpcClient = exports.WebsocketConnectorRpcClient = exports.RecursiveOperationSessionRpcClient = exports.StoreRpcClient = exports.RecursiveOperationRpcClient = exports.RouterRpcClient = exports.DhtNodeRpcClient = void 0;
|
|
4
4
|
// @generated by protobuf-ts 2.9.1 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
|
|
@@ -74,24 +74,24 @@ class RouterRpcClient {
|
|
|
74
74
|
}
|
|
75
75
|
exports.RouterRpcClient = RouterRpcClient;
|
|
76
76
|
/**
|
|
77
|
-
* @generated from protobuf service dht.
|
|
77
|
+
* @generated from protobuf service dht.RecursiveOperationRpc
|
|
78
78
|
*/
|
|
79
|
-
class
|
|
79
|
+
class RecursiveOperationRpcClient {
|
|
80
80
|
constructor(_transport) {
|
|
81
81
|
this._transport = _transport;
|
|
82
|
-
this.typeName = DhtRpc_7.
|
|
83
|
-
this.methods = DhtRpc_7.
|
|
84
|
-
this.options = DhtRpc_7.
|
|
82
|
+
this.typeName = DhtRpc_7.RecursiveOperationRpc.typeName;
|
|
83
|
+
this.methods = DhtRpc_7.RecursiveOperationRpc.methods;
|
|
84
|
+
this.options = DhtRpc_7.RecursiveOperationRpc.options;
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
|
-
* @generated from protobuf rpc:
|
|
87
|
+
* @generated from protobuf rpc: routeRequest(dht.RouteMessageWrapper) returns (dht.RouteMessageAck);
|
|
88
88
|
*/
|
|
89
|
-
|
|
89
|
+
routeRequest(input, options) {
|
|
90
90
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
91
91
|
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
exports.
|
|
94
|
+
exports.RecursiveOperationRpcClient = RecursiveOperationRpcClient;
|
|
95
95
|
/**
|
|
96
96
|
* @generated from protobuf service dht.StoreRpc
|
|
97
97
|
*/
|
|
@@ -119,24 +119,24 @@ class StoreRpcClient {
|
|
|
119
119
|
}
|
|
120
120
|
exports.StoreRpcClient = StoreRpcClient;
|
|
121
121
|
/**
|
|
122
|
-
* @generated from protobuf service dht.
|
|
122
|
+
* @generated from protobuf service dht.RecursiveOperationSessionRpc
|
|
123
123
|
*/
|
|
124
|
-
class
|
|
124
|
+
class RecursiveOperationSessionRpcClient {
|
|
125
125
|
constructor(_transport) {
|
|
126
126
|
this._transport = _transport;
|
|
127
|
-
this.typeName = DhtRpc_5.
|
|
128
|
-
this.methods = DhtRpc_5.
|
|
129
|
-
this.options = DhtRpc_5.
|
|
127
|
+
this.typeName = DhtRpc_5.RecursiveOperationSessionRpc.typeName;
|
|
128
|
+
this.methods = DhtRpc_5.RecursiveOperationSessionRpc.methods;
|
|
129
|
+
this.options = DhtRpc_5.RecursiveOperationSessionRpc.options;
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
|
-
* @generated from protobuf rpc:
|
|
132
|
+
* @generated from protobuf rpc: sendResponse(dht.RecursiveOperationResponse) returns (google.protobuf.Empty);
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
sendResponse(input, options) {
|
|
135
135
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
136
136
|
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
exports.
|
|
139
|
+
exports.RecursiveOperationSessionRpcClient = RecursiveOperationSessionRpcClient;
|
|
140
140
|
/**
|
|
141
141
|
* @generated from protobuf service dht.WebsocketConnectorRpc
|
|
142
142
|
*/
|
|
@@ -148,7 +148,7 @@ class WebsocketConnectorRpcClient {
|
|
|
148
148
|
this.options = DhtRpc_4.WebsocketConnectorRpc.options;
|
|
149
149
|
}
|
|
150
150
|
/**
|
|
151
|
-
* @generated from protobuf rpc: requestConnection(dht.WebsocketConnectionRequest) returns (
|
|
151
|
+
* @generated from protobuf rpc: requestConnection(dht.WebsocketConnectionRequest) returns (google.protobuf.Empty);
|
|
152
152
|
*/
|
|
153
153
|
requestConnection(input, options) {
|
|
154
154
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DhtRpc.client.js","sourceRoot":"","sources":["../../../../../../src/proto/packages/dht/protos/DhtRpc.client.ts"],"names":[],"mappings":";;;AAAA,uGAAuG;AACvG,kGAAkG;AAClG,iBAAiB;AACjB,qCAA0C;AAK1C,qCAA6C;AAM7C,qCAA8C;AAK9C,qCAAiD;
|
|
1
|
+
{"version":3,"file":"DhtRpc.client.js","sourceRoot":"","sources":["../../../../../../src/proto/packages/dht/protos/DhtRpc.client.ts"],"names":[],"mappings":";;;AAAA,uGAAuG;AACvG,kGAAkG;AAClG,iBAAiB;AACjB,qCAA0C;AAK1C,qCAA6C;AAM7C,qCAA8C;AAK9C,qCAAiD;AAEjD,qCAAwD;AAExD,qCAAoC;AAIpC,qCAAiD;AACjD,qCAAqC;AAKrC,qCAAsC;AAKtC,0DAA0D;AAsB1D;;GAEG;AACH,MAAa,gBAAgB;IAIzB,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;QAHrD,aAAQ,GAAG,mBAAU,CAAC,QAAQ,CAAC;QAC/B,YAAO,GAAG,mBAAU,CAAC,OAAO,CAAC;QAC7B,YAAO,GAAG,mBAAU,CAAC,OAAO,CA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AC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,IAAA,4BAAc,EAAoD,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC3H,CAAC;IACD;;OAEG;IACH,iBAAiB,CAAC,KAA+B,EAAE,OAAoB;QACnE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,IAAA,4BAAc,EAAsD,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC7H,CAAC;CACJ;AApBD,oDAoBC"}
|
|
@@ -16,9 +16,9 @@ export interface StoreDataRequest {
|
|
|
16
16
|
*/
|
|
17
17
|
data?: Any;
|
|
18
18
|
/**
|
|
19
|
-
* @generated from protobuf field:
|
|
19
|
+
* @generated from protobuf field: bytes creator = 3;
|
|
20
20
|
*/
|
|
21
|
-
creator
|
|
21
|
+
creator: Uint8Array;
|
|
22
22
|
/**
|
|
23
23
|
* @generated from protobuf field: google.protobuf.Timestamp createdAt = 4;
|
|
24
24
|
*/
|
|
@@ -32,10 +32,6 @@ export interface StoreDataRequest {
|
|
|
32
32
|
* @generated from protobuf message dht.StoreDataResponse
|
|
33
33
|
*/
|
|
34
34
|
export interface StoreDataResponse {
|
|
35
|
-
/**
|
|
36
|
-
* @generated from protobuf field: string error = 1;
|
|
37
|
-
*/
|
|
38
|
-
error: string;
|
|
39
35
|
}
|
|
40
36
|
/**
|
|
41
37
|
* @generated from protobuf message dht.ExternalStoreDataRequest
|
|
@@ -81,9 +77,9 @@ export interface DataEntry {
|
|
|
81
77
|
*/
|
|
82
78
|
data?: Any;
|
|
83
79
|
/**
|
|
84
|
-
* @generated from protobuf field:
|
|
80
|
+
* @generated from protobuf field: bytes creator = 3;
|
|
85
81
|
*/
|
|
86
|
-
creator
|
|
82
|
+
creator: Uint8Array;
|
|
87
83
|
/**
|
|
88
84
|
* @generated from protobuf field: google.protobuf.Timestamp createdAt = 4;
|
|
89
85
|
*/
|
|
@@ -132,22 +128,22 @@ export interface ClosestPeersResponse {
|
|
|
132
128
|
requestId: string;
|
|
133
129
|
}
|
|
134
130
|
/**
|
|
135
|
-
* @generated from protobuf message dht.
|
|
131
|
+
* @generated from protobuf message dht.RecursiveOperationRequest
|
|
136
132
|
*/
|
|
137
|
-
export interface
|
|
133
|
+
export interface RecursiveOperationRequest {
|
|
138
134
|
/**
|
|
139
135
|
* @generated from protobuf field: string sessionId = 1;
|
|
140
136
|
*/
|
|
141
137
|
sessionId: string;
|
|
142
138
|
/**
|
|
143
|
-
* @generated from protobuf field: dht.
|
|
139
|
+
* @generated from protobuf field: dht.RecursiveOperation operation = 2;
|
|
144
140
|
*/
|
|
145
|
-
|
|
141
|
+
operation: RecursiveOperation;
|
|
146
142
|
}
|
|
147
143
|
/**
|
|
148
|
-
* @generated from protobuf message dht.
|
|
144
|
+
* @generated from protobuf message dht.RecursiveOperationResponse
|
|
149
145
|
*/
|
|
150
|
-
export interface
|
|
146
|
+
export interface RecursiveOperationResponse {
|
|
151
147
|
/**
|
|
152
148
|
* @generated from protobuf field: repeated dht.PeerDescriptor closestConnectedPeers = 1;
|
|
153
149
|
*/
|
|
@@ -187,10 +183,6 @@ export interface PingResponse {
|
|
|
187
183
|
* @generated from protobuf message dht.LeaveNotice
|
|
188
184
|
*/
|
|
189
185
|
export interface LeaveNotice {
|
|
190
|
-
/**
|
|
191
|
-
* @generated from protobuf field: string serviceId = 1;
|
|
192
|
-
*/
|
|
193
|
-
serviceId: string;
|
|
194
186
|
}
|
|
195
187
|
/**
|
|
196
188
|
* @generated from protobuf message dht.PeerDescriptor
|
|
@@ -243,17 +235,17 @@ export interface ConnectivityMethod {
|
|
|
243
235
|
*/
|
|
244
236
|
export interface RouteMessageWrapper {
|
|
245
237
|
/**
|
|
246
|
-
* @generated from protobuf field:
|
|
238
|
+
* @generated from protobuf field: string requestId = 1;
|
|
247
239
|
*/
|
|
248
|
-
|
|
240
|
+
requestId: string;
|
|
249
241
|
/**
|
|
250
|
-
* @generated from protobuf field:
|
|
242
|
+
* @generated from protobuf field: dht.PeerDescriptor sourcePeer = 2;
|
|
251
243
|
*/
|
|
252
|
-
|
|
244
|
+
sourcePeer?: PeerDescriptor;
|
|
253
245
|
/**
|
|
254
|
-
* @generated from protobuf field:
|
|
246
|
+
* @generated from protobuf field: bytes target = 3;
|
|
255
247
|
*/
|
|
256
|
-
|
|
248
|
+
target: Uint8Array;
|
|
257
249
|
/**
|
|
258
250
|
* @generated from protobuf field: dht.Message message = 4;
|
|
259
251
|
*/
|
|
@@ -330,6 +322,10 @@ export interface HandshakeRequest {
|
|
|
330
322
|
* @generated from protobuf field: optional dht.PeerDescriptor targetPeerDescriptor = 2;
|
|
331
323
|
*/
|
|
332
324
|
targetPeerDescriptor?: PeerDescriptor;
|
|
325
|
+
/**
|
|
326
|
+
* @generated from protobuf field: string version = 3;
|
|
327
|
+
*/
|
|
328
|
+
version: string;
|
|
333
329
|
}
|
|
334
330
|
/**
|
|
335
331
|
* @generated from protobuf message dht.HandshakeResponse
|
|
@@ -343,6 +339,10 @@ export interface HandshakeResponse {
|
|
|
343
339
|
* @generated from protobuf field: optional dht.HandshakeError error = 2;
|
|
344
340
|
*/
|
|
345
341
|
error?: HandshakeError;
|
|
342
|
+
/**
|
|
343
|
+
* @generated from protobuf field: string version = 3;
|
|
344
|
+
*/
|
|
345
|
+
version: string;
|
|
346
346
|
}
|
|
347
347
|
/**
|
|
348
348
|
* @generated from protobuf message dht.Message
|
|
@@ -402,11 +402,11 @@ export interface Message {
|
|
|
402
402
|
*/
|
|
403
403
|
rpcMessage: RpcMessage;
|
|
404
404
|
} | {
|
|
405
|
-
oneofKind: "
|
|
405
|
+
oneofKind: "recursiveOperationRequest";
|
|
406
406
|
/**
|
|
407
|
-
* @generated from protobuf field: dht.
|
|
407
|
+
* @generated from protobuf field: dht.RecursiveOperationRequest recursiveOperationRequest = 11;
|
|
408
408
|
*/
|
|
409
|
-
|
|
409
|
+
recursiveOperationRequest: RecursiveOperationRequest;
|
|
410
410
|
} | {
|
|
411
411
|
oneofKind: undefined;
|
|
412
412
|
};
|
|
@@ -418,15 +418,6 @@ export interface Message {
|
|
|
418
418
|
*/
|
|
419
419
|
export interface WebsocketConnectionRequest {
|
|
420
420
|
}
|
|
421
|
-
/**
|
|
422
|
-
* @generated from protobuf message dht.WebsocketConnectionResponse
|
|
423
|
-
*/
|
|
424
|
-
export interface WebsocketConnectionResponse {
|
|
425
|
-
/**
|
|
426
|
-
* @generated from protobuf field: bool accepted = 1;
|
|
427
|
-
*/
|
|
428
|
-
accepted: boolean;
|
|
429
|
-
}
|
|
430
421
|
/**
|
|
431
422
|
* WebRTC
|
|
432
423
|
*
|
|
@@ -537,13 +528,13 @@ export interface ExternalFindDataResponse {
|
|
|
537
528
|
entries: DataEntry[];
|
|
538
529
|
}
|
|
539
530
|
/**
|
|
540
|
-
* @generated from protobuf enum dht.
|
|
531
|
+
* @generated from protobuf enum dht.RecursiveOperation
|
|
541
532
|
*/
|
|
542
|
-
export declare enum
|
|
533
|
+
export declare enum RecursiveOperation {
|
|
543
534
|
/**
|
|
544
|
-
* @generated from protobuf enum value:
|
|
535
|
+
* @generated from protobuf enum value: FIND_NODE = 0;
|
|
545
536
|
*/
|
|
546
|
-
|
|
537
|
+
FIND_NODE = 0,
|
|
547
538
|
/**
|
|
548
539
|
* @generated from protobuf enum value: FETCH_DATA = 1;
|
|
549
540
|
*/
|
|
@@ -564,11 +555,7 @@ export declare enum NodeType {
|
|
|
564
555
|
/**
|
|
565
556
|
* @generated from protobuf enum value: BROWSER = 1;
|
|
566
557
|
*/
|
|
567
|
-
BROWSER = 1
|
|
568
|
-
/**
|
|
569
|
-
* @generated from protobuf enum value: VIRTUAL = 3;
|
|
570
|
-
*/
|
|
571
|
-
VIRTUAL = 3
|
|
558
|
+
BROWSER = 1
|
|
572
559
|
}
|
|
573
560
|
/**
|
|
574
561
|
* @generated from protobuf enum dht.RpcResponseError
|
|
@@ -622,7 +609,11 @@ export declare enum HandshakeError {
|
|
|
622
609
|
/**
|
|
623
610
|
* @generated from protobuf enum value: INVALID_TARGET_PEER_DESCRIPTOR = 1;
|
|
624
611
|
*/
|
|
625
|
-
INVALID_TARGET_PEER_DESCRIPTOR = 1
|
|
612
|
+
INVALID_TARGET_PEER_DESCRIPTOR = 1,
|
|
613
|
+
/**
|
|
614
|
+
* @generated from protobuf enum value: UNSUPPORTED_VERSION = 2;
|
|
615
|
+
*/
|
|
616
|
+
UNSUPPORTED_VERSION = 2
|
|
626
617
|
}
|
|
627
618
|
/**
|
|
628
619
|
* @generated from protobuf enum dht.MessageType
|
|
@@ -649,9 +640,9 @@ export declare enum MessageType {
|
|
|
649
640
|
*/
|
|
650
641
|
HANDSHAKE_RESPONSE = 4,
|
|
651
642
|
/**
|
|
652
|
-
* @generated from protobuf enum value:
|
|
643
|
+
* @generated from protobuf enum value: RECURSIVE_OPERATION_REQUEST = 5;
|
|
653
644
|
*/
|
|
654
|
-
|
|
645
|
+
RECURSIVE_OPERATION_REQUEST = 5
|
|
655
646
|
}
|
|
656
647
|
/**
|
|
657
648
|
* @generated from protobuf enum dht.DisconnectMode
|
|
@@ -722,20 +713,20 @@ declare class ClosestPeersResponse$Type extends MessageType$<ClosestPeersRespons
|
|
|
722
713
|
* @generated MessageType for protobuf message dht.ClosestPeersResponse
|
|
723
714
|
*/
|
|
724
715
|
export declare const ClosestPeersResponse: ClosestPeersResponse$Type;
|
|
725
|
-
declare class
|
|
716
|
+
declare class RecursiveOperationRequest$Type extends MessageType$<RecursiveOperationRequest> {
|
|
726
717
|
constructor();
|
|
727
718
|
}
|
|
728
719
|
/**
|
|
729
|
-
* @generated MessageType for protobuf message dht.
|
|
720
|
+
* @generated MessageType for protobuf message dht.RecursiveOperationRequest
|
|
730
721
|
*/
|
|
731
|
-
export declare const
|
|
732
|
-
declare class
|
|
722
|
+
export declare const RecursiveOperationRequest: RecursiveOperationRequest$Type;
|
|
723
|
+
declare class RecursiveOperationResponse$Type extends MessageType$<RecursiveOperationResponse> {
|
|
733
724
|
constructor();
|
|
734
725
|
}
|
|
735
726
|
/**
|
|
736
|
-
* @generated MessageType for protobuf message dht.
|
|
727
|
+
* @generated MessageType for protobuf message dht.RecursiveOperationResponse
|
|
737
728
|
*/
|
|
738
|
-
export declare const
|
|
729
|
+
export declare const RecursiveOperationResponse: RecursiveOperationResponse$Type;
|
|
739
730
|
declare class PingRequest$Type extends MessageType$<PingRequest> {
|
|
740
731
|
constructor();
|
|
741
732
|
}
|
|
@@ -827,13 +818,6 @@ declare class WebsocketConnectionRequest$Type extends MessageType$<WebsocketConn
|
|
|
827
818
|
* @generated MessageType for protobuf message dht.WebsocketConnectionRequest
|
|
828
819
|
*/
|
|
829
820
|
export declare const WebsocketConnectionRequest: WebsocketConnectionRequest$Type;
|
|
830
|
-
declare class WebsocketConnectionResponse$Type extends MessageType$<WebsocketConnectionResponse> {
|
|
831
|
-
constructor();
|
|
832
|
-
}
|
|
833
|
-
/**
|
|
834
|
-
* @generated MessageType for protobuf message dht.WebsocketConnectionResponse
|
|
835
|
-
*/
|
|
836
|
-
export declare const WebsocketConnectionResponse: WebsocketConnectionResponse$Type;
|
|
837
821
|
declare class WebrtcConnectionRequest$Type extends MessageType$<WebrtcConnectionRequest> {
|
|
838
822
|
constructor();
|
|
839
823
|
}
|
|
@@ -920,17 +904,17 @@ export declare const DhtNodeRpc: ServiceType;
|
|
|
920
904
|
*/
|
|
921
905
|
export declare const RouterRpc: ServiceType;
|
|
922
906
|
/**
|
|
923
|
-
* @generated ServiceType for protobuf service dht.
|
|
907
|
+
* @generated ServiceType for protobuf service dht.RecursiveOperationRpc
|
|
924
908
|
*/
|
|
925
|
-
export declare const
|
|
909
|
+
export declare const RecursiveOperationRpc: ServiceType;
|
|
926
910
|
/**
|
|
927
911
|
* @generated ServiceType for protobuf service dht.StoreRpc
|
|
928
912
|
*/
|
|
929
913
|
export declare const StoreRpc: ServiceType;
|
|
930
914
|
/**
|
|
931
|
-
* @generated ServiceType for protobuf service dht.
|
|
915
|
+
* @generated ServiceType for protobuf service dht.RecursiveOperationSessionRpc
|
|
932
916
|
*/
|
|
933
|
-
export declare const
|
|
917
|
+
export declare const RecursiveOperationSessionRpc: ServiceType;
|
|
934
918
|
/**
|
|
935
919
|
* @generated ServiceType for protobuf service dht.WebsocketConnectorRpc
|
|
936
920
|
*/
|