@streamr/trackerless-network 100.0.0-pretestnet.2 → 100.0.0-pretestnet.4
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 +8 -8
- package/dist/src/NetworkNode.d.ts +1 -1
- package/dist/src/NetworkNode.js +3 -3
- package/dist/src/NetworkNode.js.map +1 -1
- package/dist/src/NetworkStack.js +2 -1
- package/dist/src/NetworkStack.js.map +1 -1
- package/dist/src/logic/DeliveryRpcLocal.d.ts +1 -1
- package/dist/src/logic/EntryPointDiscovery.d.ts +1 -1
- package/dist/src/logic/EntryPointDiscovery.js +5 -5
- package/dist/src/logic/EntryPointDiscovery.js.map +1 -1
- package/dist/src/logic/Layer0Node.d.ts +1 -1
- package/dist/src/logic/Layer1Node.d.ts +1 -1
- package/dist/src/logic/RandomGraphNode.d.ts +2 -1
- package/dist/src/logic/RandomGraphNode.js +7 -7
- package/dist/src/logic/RandomGraphNode.js.map +1 -1
- package/dist/src/logic/StreamrNode.d.ts +3 -2
- package/dist/src/logic/StreamrNode.js +42 -39
- package/dist/src/logic/StreamrNode.js.map +1 -1
- package/dist/src/logic/createRandomGraphNode.js +8 -7
- package/dist/src/logic/createRandomGraphNode.js.map +1 -1
- package/dist/src/logic/inspect/Inspector.d.ts +2 -2
- package/dist/src/logic/inspect/Inspector.js +2 -2
- package/dist/src/logic/inspect/Inspector.js.map +1 -1
- package/dist/src/logic/neighbor-discovery/Handshaker.d.ts +2 -1
- package/dist/src/logic/neighbor-discovery/Handshaker.js +3 -3
- package/dist/src/logic/neighbor-discovery/Handshaker.js.map +1 -1
- package/dist/src/logic/neighbor-discovery/NeighborUpdateManager.d.ts +1 -1
- package/dist/src/logic/neighbor-discovery/NeighborUpdateManager.js +1 -1
- package/dist/src/logic/neighbor-discovery/NeighborUpdateManager.js.map +1 -1
- package/dist/src/logic/neighbor-discovery/NeighborUpdateRpcLocal.d.ts +1 -1
- package/dist/src/logic/neighbor-discovery/NeighborUpdateRpcLocal.js +2 -2
- package/dist/src/logic/neighbor-discovery/NeighborUpdateRpcLocal.js.map +1 -1
- package/dist/src/logic/proxy/ProxyClient.d.ts +1 -1
- package/dist/src/logic/proxy/ProxyClient.js +4 -4
- package/dist/src/logic/proxy/ProxyClient.js.map +1 -1
- package/dist/src/logic/proxy/ProxyConnectionRpcLocal.d.ts +1 -1
- package/dist/src/logic/proxy/ProxyConnectionRpcLocal.js +1 -1
- package/dist/src/logic/proxy/ProxyConnectionRpcLocal.js.map +1 -1
- package/dist/src/logic/proxy/ProxyConnectionRpcRemote.js +1 -1
- package/dist/src/logic/proxy/ProxyConnectionRpcRemote.js.map +1 -1
- package/dist/src/logic/temporary-connection/TemporaryConnectionRpcLocal.d.ts +1 -1
- package/dist/src/logic/temporary-connection/TemporaryConnectionRpcLocal.js +2 -2
- package/dist/src/logic/temporary-connection/TemporaryConnectionRpcLocal.js.map +1 -1
- package/dist/src/proto/packages/dht/protos/DhtRpc.client.d.ts +77 -60
- package/dist/src/proto/packages/dht/protos/DhtRpc.client.js +71 -58
- package/dist/src/proto/packages/dht/protos/DhtRpc.client.js.map +1 -1
- package/dist/src/proto/packages/dht/protos/DhtRpc.d.ts +112 -136
- package/dist/src/proto/packages/dht/protos/DhtRpc.js +103 -107
- package/dist/src/proto/packages/dht/protos/DhtRpc.js.map +1 -1
- package/dist/src/proto/packages/dht/protos/DhtRpc.server.d.ts +37 -32
- package/dist/test/benchmark/first-message.js +1 -1
- package/dist/test/benchmark/first-message.js.map +1 -1
- package/dist/test/utils/utils.d.ts +1 -1
- package/dist/test/utils/utils.js +12 -9
- package/dist/test/utils/utils.js.map +1 -1
- package/karma.config.js +2 -2
- package/package.json +8 -8
- package/src/NetworkNode.ts +3 -3
- package/src/NetworkStack.ts +2 -1
- package/src/logic/DeliveryRpcLocal.ts +1 -1
- package/src/logic/EntryPointDiscovery.ts +6 -6
- package/src/logic/Layer0Node.ts +1 -1
- package/src/logic/Layer1Node.ts +1 -1
- package/src/logic/RandomGraphNode.ts +18 -12
- package/src/logic/StreamrNode.ts +31 -24
- package/src/logic/createRandomGraphNode.ts +8 -7
- package/src/logic/inspect/Inspector.ts +4 -4
- package/src/logic/neighbor-discovery/Handshaker.ts +15 -6
- package/src/logic/neighbor-discovery/NeighborUpdateManager.ts +2 -2
- package/src/logic/neighbor-discovery/NeighborUpdateRpcLocal.ts +3 -3
- package/src/logic/proxy/ProxyClient.ts +6 -6
- package/src/logic/proxy/ProxyConnectionRpcLocal.ts +2 -2
- package/src/logic/proxy/ProxyConnectionRpcRemote.ts +2 -2
- package/src/logic/temporary-connection/TemporaryConnectionRpcLocal.ts +3 -3
- package/src/proto/packages/dht/protos/DhtRpc.client.ts +113 -97
- package/src/proto/packages/dht/protos/DhtRpc.server.ts +37 -32
- package/src/proto/packages/dht/protos/DhtRpc.ts +146 -178
- package/test/benchmark/first-message.ts +1 -1
- package/test/end-to-end/inspect.test.ts +6 -3
- package/test/end-to-end/proxy-and-full-node.test.ts +1 -0
- package/test/end-to-end/proxy-connections.test.ts +3 -1
- package/test/end-to-end/proxy-key-exchange.test.ts +1 -0
- package/test/end-to-end/random-graph-with-real-connections.test.ts +10 -10
- package/test/end-to-end/webrtc-full-node-network.test.ts +2 -1
- package/test/end-to-end/websocket-full-node-network.test.ts +3 -1
- package/test/integration/Handshakes.test.ts +1 -1
- package/test/integration/Inspect.test.ts +2 -2
- package/test/integration/NetworkStack.test.ts +4 -2
- package/test/integration/RandomGraphNode-Layer1Node-Latencies.test.ts +2 -2
- package/test/integration/RandomGraphNode-Layer1Node.test.ts +2 -2
- package/test/integration/StreamrNode.test.ts +1 -1
- package/test/integration/joining-streams-on-offline-peers.test.ts +12 -7
- package/test/integration/stream-without-default-entrypoints.test.ts +4 -3
- package/test/unit/DeliveryRpcLocal.test.ts +1 -1
- package/test/unit/EntrypointDiscovery.test.ts +3 -3
- package/test/unit/HandshakeRpcLocal.test.ts +2 -2
- package/test/unit/Handshaker.test.ts +3 -2
- package/test/unit/Inspector.test.ts +1 -1
- package/test/unit/NodeList.test.ts +1 -1
- package/test/unit/RandomGraphNode.test.ts +1 -1
- package/test/unit/StreamrNode.test.ts +1 -1
- package/test/utils/mock/MockLayer0Node.ts +1 -1
- package/test/utils/mock/Transport.ts +1 -1
- package/test/utils/utils.ts +13 -10
- package/test/integration/NetworkStackStoppedDuringStart.test.ts +0 -37
|
@@ -155,26 +155,26 @@ export interface ClosestPeersResponse {
|
|
|
155
155
|
requestId: string;
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
|
-
* @generated from protobuf message dht.
|
|
158
|
+
* @generated from protobuf message dht.FindRequest
|
|
159
159
|
*/
|
|
160
|
-
export interface
|
|
160
|
+
export interface FindRequest {
|
|
161
161
|
/**
|
|
162
|
-
* @generated from protobuf field: string
|
|
162
|
+
* @generated from protobuf field: string sessionId = 1;
|
|
163
163
|
*/
|
|
164
|
-
|
|
164
|
+
sessionId: string;
|
|
165
165
|
/**
|
|
166
|
-
* @generated from protobuf field:
|
|
166
|
+
* @generated from protobuf field: bool fetchData = 2;
|
|
167
167
|
*/
|
|
168
|
-
|
|
168
|
+
fetchData: boolean;
|
|
169
169
|
}
|
|
170
170
|
/**
|
|
171
|
-
* @generated from protobuf message dht.
|
|
171
|
+
* @generated from protobuf message dht.FindResponse
|
|
172
172
|
*/
|
|
173
|
-
export interface
|
|
173
|
+
export interface FindResponse {
|
|
174
174
|
/**
|
|
175
|
-
* @generated from protobuf field: repeated dht.PeerDescriptor
|
|
175
|
+
* @generated from protobuf field: repeated dht.PeerDescriptor closestConnectedPeers = 1;
|
|
176
176
|
*/
|
|
177
|
-
|
|
177
|
+
closestConnectedPeers: PeerDescriptor[];
|
|
178
178
|
/**
|
|
179
179
|
* @generated from protobuf field: repeated dht.DataEntry dataEntries = 2;
|
|
180
180
|
*/
|
|
@@ -240,11 +240,7 @@ export interface PeerDescriptor {
|
|
|
240
240
|
*/
|
|
241
241
|
websocket?: ConnectivityMethod;
|
|
242
242
|
/**
|
|
243
|
-
* @generated from protobuf field: optional
|
|
244
|
-
*/
|
|
245
|
-
openInternet?: boolean;
|
|
246
|
-
/**
|
|
247
|
-
* @generated from protobuf field: optional uint32 region = 7;
|
|
243
|
+
* @generated from protobuf field: optional uint32 region = 6;
|
|
248
244
|
*/
|
|
249
245
|
region?: number;
|
|
250
246
|
}
|
|
@@ -282,19 +278,15 @@ export interface RouteMessageWrapper {
|
|
|
282
278
|
*/
|
|
283
279
|
destinationPeer?: PeerDescriptor;
|
|
284
280
|
/**
|
|
285
|
-
* @generated from protobuf field: dht.
|
|
286
|
-
*/
|
|
287
|
-
previousPeer?: PeerDescriptor;
|
|
288
|
-
/**
|
|
289
|
-
* @generated from protobuf field: dht.Message message = 5;
|
|
281
|
+
* @generated from protobuf field: dht.Message message = 4;
|
|
290
282
|
*/
|
|
291
283
|
message?: Message;
|
|
292
284
|
/**
|
|
293
|
-
* @generated from protobuf field: repeated dht.PeerDescriptor reachableThrough =
|
|
285
|
+
* @generated from protobuf field: repeated dht.PeerDescriptor reachableThrough = 5;
|
|
294
286
|
*/
|
|
295
287
|
reachableThrough: PeerDescriptor[];
|
|
296
288
|
/**
|
|
297
|
-
* @generated from protobuf field: repeated dht.PeerDescriptor routingPath =
|
|
289
|
+
* @generated from protobuf field: repeated dht.PeerDescriptor routingPath = 6;
|
|
298
290
|
*/
|
|
299
291
|
routingPath: PeerDescriptor[];
|
|
300
292
|
}
|
|
@@ -327,25 +319,25 @@ export interface ConnectivityRequest {
|
|
|
327
319
|
* @generated from protobuf field: optional string host = 3;
|
|
328
320
|
*/
|
|
329
321
|
host?: string;
|
|
322
|
+
/**
|
|
323
|
+
* @generated from protobuf field: bool selfSigned = 4;
|
|
324
|
+
*/
|
|
325
|
+
selfSigned: boolean;
|
|
330
326
|
}
|
|
331
327
|
/**
|
|
332
328
|
* @generated from protobuf message dht.ConnectivityResponse
|
|
333
329
|
*/
|
|
334
330
|
export interface ConnectivityResponse {
|
|
335
331
|
/**
|
|
336
|
-
* @generated from protobuf field:
|
|
337
|
-
*/
|
|
338
|
-
openInternet: boolean;
|
|
339
|
-
/**
|
|
340
|
-
* @generated from protobuf field: string host = 2;
|
|
332
|
+
* @generated from protobuf field: string host = 1;
|
|
341
333
|
*/
|
|
342
334
|
host: string;
|
|
343
335
|
/**
|
|
344
|
-
* @generated from protobuf field: string natType =
|
|
336
|
+
* @generated from protobuf field: string natType = 2;
|
|
345
337
|
*/
|
|
346
338
|
natType: string;
|
|
347
339
|
/**
|
|
348
|
-
* @generated from protobuf field: dht.ConnectivityMethod websocket =
|
|
340
|
+
* @generated from protobuf field: dht.ConnectivityMethod websocket = 3;
|
|
349
341
|
*/
|
|
350
342
|
websocket?: ConnectivityMethod;
|
|
351
343
|
}
|
|
@@ -354,30 +346,26 @@ export interface ConnectivityResponse {
|
|
|
354
346
|
*/
|
|
355
347
|
export interface HandshakeRequest {
|
|
356
348
|
/**
|
|
357
|
-
* @generated from protobuf field:
|
|
349
|
+
* @generated from protobuf field: dht.PeerDescriptor sourcePeerDescriptor = 1;
|
|
358
350
|
*/
|
|
359
|
-
|
|
351
|
+
sourcePeerDescriptor?: PeerDescriptor;
|
|
360
352
|
/**
|
|
361
|
-
* @generated from protobuf field: dht.PeerDescriptor
|
|
353
|
+
* @generated from protobuf field: optional dht.PeerDescriptor targetPeerDescriptor = 2;
|
|
362
354
|
*/
|
|
363
|
-
|
|
355
|
+
targetPeerDescriptor?: PeerDescriptor;
|
|
364
356
|
}
|
|
365
357
|
/**
|
|
366
358
|
* @generated from protobuf message dht.HandshakeResponse
|
|
367
359
|
*/
|
|
368
360
|
export interface HandshakeResponse {
|
|
369
361
|
/**
|
|
370
|
-
* @generated from protobuf field:
|
|
371
|
-
*/
|
|
372
|
-
sourceId: Uint8Array;
|
|
373
|
-
/**
|
|
374
|
-
* @generated from protobuf field: dht.PeerDescriptor peerDescriptor = 2;
|
|
362
|
+
* @generated from protobuf field: dht.PeerDescriptor sourcePeerDescriptor = 1;
|
|
375
363
|
*/
|
|
376
|
-
|
|
364
|
+
sourcePeerDescriptor?: PeerDescriptor;
|
|
377
365
|
/**
|
|
378
|
-
* @generated from protobuf field: optional
|
|
366
|
+
* @generated from protobuf field: optional dht.HandshakeError error = 2;
|
|
379
367
|
*/
|
|
380
|
-
|
|
368
|
+
error?: HandshakeError;
|
|
381
369
|
}
|
|
382
370
|
/**
|
|
383
371
|
* @generated from protobuf message dht.Message
|
|
@@ -437,11 +425,11 @@ export interface Message {
|
|
|
437
425
|
*/
|
|
438
426
|
rpcMessage: RpcMessage;
|
|
439
427
|
} | {
|
|
440
|
-
oneofKind: "
|
|
428
|
+
oneofKind: "findRequest";
|
|
441
429
|
/**
|
|
442
|
-
* @generated from protobuf field: dht.
|
|
430
|
+
* @generated from protobuf field: dht.FindRequest findRequest = 11;
|
|
443
431
|
*/
|
|
444
|
-
|
|
432
|
+
findRequest: FindRequest;
|
|
445
433
|
} | {
|
|
446
434
|
oneofKind: undefined;
|
|
447
435
|
};
|
|
@@ -449,41 +437,25 @@ export interface Message {
|
|
|
449
437
|
/**
|
|
450
438
|
* WebSocket
|
|
451
439
|
*
|
|
452
|
-
* @generated from protobuf message dht.
|
|
440
|
+
* @generated from protobuf message dht.WebsocketConnectionRequest
|
|
453
441
|
*/
|
|
454
|
-
export interface
|
|
455
|
-
/**
|
|
456
|
-
* @generated from protobuf field: string ip = 1;
|
|
457
|
-
*/
|
|
458
|
-
ip: string;
|
|
459
|
-
/**
|
|
460
|
-
* @generated from protobuf field: uint32 port = 2;
|
|
461
|
-
*/
|
|
462
|
-
port: number;
|
|
442
|
+
export interface WebsocketConnectionRequest {
|
|
463
443
|
}
|
|
464
444
|
/**
|
|
465
|
-
* @generated from protobuf message dht.
|
|
445
|
+
* @generated from protobuf message dht.WebsocketConnectionResponse
|
|
466
446
|
*/
|
|
467
|
-
export interface
|
|
447
|
+
export interface WebsocketConnectionResponse {
|
|
468
448
|
/**
|
|
469
449
|
* @generated from protobuf field: bool accepted = 1;
|
|
470
450
|
*/
|
|
471
451
|
accepted: boolean;
|
|
472
|
-
/**
|
|
473
|
-
* @generated from protobuf field: optional string reason = 2;
|
|
474
|
-
*/
|
|
475
|
-
reason?: string;
|
|
476
452
|
}
|
|
477
453
|
/**
|
|
478
454
|
* WebRTC
|
|
479
455
|
*
|
|
480
|
-
* @generated from protobuf message dht.
|
|
456
|
+
* @generated from protobuf message dht.WebrtcConnectionRequest
|
|
481
457
|
*/
|
|
482
|
-
export interface
|
|
483
|
-
/**
|
|
484
|
-
* @generated from protobuf field: string connectionId = 1;
|
|
485
|
-
*/
|
|
486
|
-
connectionId: string;
|
|
458
|
+
export interface WebrtcConnectionRequest {
|
|
487
459
|
}
|
|
488
460
|
/**
|
|
489
461
|
* @generated from protobuf message dht.RtcOffer
|
|
@@ -533,18 +505,18 @@ export interface IceCandidate {
|
|
|
533
505
|
*/
|
|
534
506
|
export interface LockRequest {
|
|
535
507
|
/**
|
|
536
|
-
* @generated from protobuf field: string
|
|
508
|
+
* @generated from protobuf field: string lockId = 1;
|
|
537
509
|
*/
|
|
538
|
-
|
|
510
|
+
lockId: string;
|
|
539
511
|
}
|
|
540
512
|
/**
|
|
541
513
|
* @generated from protobuf message dht.UnlockRequest
|
|
542
514
|
*/
|
|
543
515
|
export interface UnlockRequest {
|
|
544
516
|
/**
|
|
545
|
-
* @generated from protobuf field: string
|
|
517
|
+
* @generated from protobuf field: string lockId = 1;
|
|
546
518
|
*/
|
|
547
|
-
|
|
519
|
+
lockId: string;
|
|
548
520
|
}
|
|
549
521
|
/**
|
|
550
522
|
* @generated from protobuf message dht.LockResponse
|
|
@@ -574,18 +546,18 @@ export interface DisconnectNotice {
|
|
|
574
546
|
export interface DisconnectNoticeResponse {
|
|
575
547
|
}
|
|
576
548
|
/**
|
|
577
|
-
* @generated from protobuf message dht.
|
|
549
|
+
* @generated from protobuf message dht.ExternalFindDataRequest
|
|
578
550
|
*/
|
|
579
|
-
export interface
|
|
551
|
+
export interface ExternalFindDataRequest {
|
|
580
552
|
/**
|
|
581
553
|
* @generated from protobuf field: bytes kademliaId = 1;
|
|
582
554
|
*/
|
|
583
555
|
kademliaId: Uint8Array;
|
|
584
556
|
}
|
|
585
557
|
/**
|
|
586
|
-
* @generated from protobuf message dht.
|
|
558
|
+
* @generated from protobuf message dht.ExternalFindDataResponse
|
|
587
559
|
*/
|
|
588
|
-
export interface
|
|
560
|
+
export interface ExternalFindDataResponse {
|
|
589
561
|
/**
|
|
590
562
|
* @generated from protobuf field: repeated dht.DataEntry dataEntries = 1;
|
|
591
563
|
*/
|
|
@@ -595,19 +567,6 @@ export interface FindDataResponse {
|
|
|
595
567
|
*/
|
|
596
568
|
error?: string;
|
|
597
569
|
}
|
|
598
|
-
/**
|
|
599
|
-
* @generated from protobuf enum dht.FindMode
|
|
600
|
-
*/
|
|
601
|
-
export declare enum FindMode {
|
|
602
|
-
/**
|
|
603
|
-
* @generated from protobuf enum value: NODE = 0;
|
|
604
|
-
*/
|
|
605
|
-
NODE = 0,
|
|
606
|
-
/**
|
|
607
|
-
* @generated from protobuf enum value: DATA = 1;
|
|
608
|
-
*/
|
|
609
|
-
DATA = 1
|
|
610
|
-
}
|
|
611
570
|
/**
|
|
612
571
|
* @generated from protobuf enum dht.NodeType
|
|
613
572
|
*/
|
|
@@ -646,34 +605,47 @@ export declare enum RpcResponseError {
|
|
|
646
605
|
*/
|
|
647
606
|
UNKNOWN_RPC_METHOD = 3
|
|
648
607
|
}
|
|
608
|
+
/**
|
|
609
|
+
* @generated from protobuf enum dht.HandshakeError
|
|
610
|
+
*/
|
|
611
|
+
export declare enum HandshakeError {
|
|
612
|
+
/**
|
|
613
|
+
* @generated from protobuf enum value: DUPLICATE_CONNECTION = 0;
|
|
614
|
+
*/
|
|
615
|
+
DUPLICATE_CONNECTION = 0,
|
|
616
|
+
/**
|
|
617
|
+
* @generated from protobuf enum value: INVALID_TARGET_PEER_DESCRIPTOR = 1;
|
|
618
|
+
*/
|
|
619
|
+
INVALID_TARGET_PEER_DESCRIPTOR = 1
|
|
620
|
+
}
|
|
649
621
|
/**
|
|
650
622
|
* @generated from protobuf enum dht.MessageType
|
|
651
623
|
*/
|
|
652
624
|
export declare enum MessageType {
|
|
653
625
|
/**
|
|
654
|
-
* @generated from protobuf enum value:
|
|
626
|
+
* @generated from protobuf enum value: RPC = 0;
|
|
655
627
|
*/
|
|
656
|
-
|
|
628
|
+
RPC = 0,
|
|
657
629
|
/**
|
|
658
|
-
* @generated from protobuf enum value:
|
|
630
|
+
* @generated from protobuf enum value: CONNECTIVITY_REQUEST = 1;
|
|
659
631
|
*/
|
|
660
|
-
|
|
632
|
+
CONNECTIVITY_REQUEST = 1,
|
|
661
633
|
/**
|
|
662
|
-
* @generated from protobuf enum value:
|
|
634
|
+
* @generated from protobuf enum value: CONNECTIVITY_RESPONSE = 2;
|
|
663
635
|
*/
|
|
664
|
-
|
|
636
|
+
CONNECTIVITY_RESPONSE = 2,
|
|
665
637
|
/**
|
|
666
|
-
* @generated from protobuf enum value:
|
|
638
|
+
* @generated from protobuf enum value: HANDSHAKE_REQUEST = 3;
|
|
667
639
|
*/
|
|
668
|
-
|
|
640
|
+
HANDSHAKE_REQUEST = 3,
|
|
669
641
|
/**
|
|
670
|
-
* @generated from protobuf enum value:
|
|
642
|
+
* @generated from protobuf enum value: HANDSHAKE_RESPONSE = 4;
|
|
671
643
|
*/
|
|
672
|
-
|
|
644
|
+
HANDSHAKE_RESPONSE = 4,
|
|
673
645
|
/**
|
|
674
|
-
* @generated from protobuf enum value:
|
|
646
|
+
* @generated from protobuf enum value: FIND_REQUEST = 5;
|
|
675
647
|
*/
|
|
676
|
-
|
|
648
|
+
FIND_REQUEST = 5
|
|
677
649
|
}
|
|
678
650
|
/**
|
|
679
651
|
* @generated from protobuf enum dht.DisconnectMode
|
|
@@ -765,20 +737,20 @@ declare class ClosestPeersResponse$Type extends MessageType$<ClosestPeersRespons
|
|
|
765
737
|
* @generated MessageType for protobuf message dht.ClosestPeersResponse
|
|
766
738
|
*/
|
|
767
739
|
export declare const ClosestPeersResponse: ClosestPeersResponse$Type;
|
|
768
|
-
declare class
|
|
740
|
+
declare class FindRequest$Type extends MessageType$<FindRequest> {
|
|
769
741
|
constructor();
|
|
770
742
|
}
|
|
771
743
|
/**
|
|
772
|
-
* @generated MessageType for protobuf message dht.
|
|
744
|
+
* @generated MessageType for protobuf message dht.FindRequest
|
|
773
745
|
*/
|
|
774
|
-
export declare const
|
|
775
|
-
declare class
|
|
746
|
+
export declare const FindRequest: FindRequest$Type;
|
|
747
|
+
declare class FindResponse$Type extends MessageType$<FindResponse> {
|
|
776
748
|
constructor();
|
|
777
749
|
}
|
|
778
750
|
/**
|
|
779
|
-
* @generated MessageType for protobuf message dht.
|
|
751
|
+
* @generated MessageType for protobuf message dht.FindResponse
|
|
780
752
|
*/
|
|
781
|
-
export declare const
|
|
753
|
+
export declare const FindResponse: FindResponse$Type;
|
|
782
754
|
declare class PingRequest$Type extends MessageType$<PingRequest> {
|
|
783
755
|
constructor();
|
|
784
756
|
}
|
|
@@ -863,27 +835,27 @@ declare class Message$Type extends MessageType$<Message> {
|
|
|
863
835
|
* @generated MessageType for protobuf message dht.Message
|
|
864
836
|
*/
|
|
865
837
|
export declare const Message: Message$Type;
|
|
866
|
-
declare class
|
|
838
|
+
declare class WebsocketConnectionRequest$Type extends MessageType$<WebsocketConnectionRequest> {
|
|
867
839
|
constructor();
|
|
868
840
|
}
|
|
869
841
|
/**
|
|
870
|
-
* @generated MessageType for protobuf message dht.
|
|
842
|
+
* @generated MessageType for protobuf message dht.WebsocketConnectionRequest
|
|
871
843
|
*/
|
|
872
|
-
export declare const
|
|
873
|
-
declare class
|
|
844
|
+
export declare const WebsocketConnectionRequest: WebsocketConnectionRequest$Type;
|
|
845
|
+
declare class WebsocketConnectionResponse$Type extends MessageType$<WebsocketConnectionResponse> {
|
|
874
846
|
constructor();
|
|
875
847
|
}
|
|
876
848
|
/**
|
|
877
|
-
* @generated MessageType for protobuf message dht.
|
|
849
|
+
* @generated MessageType for protobuf message dht.WebsocketConnectionResponse
|
|
878
850
|
*/
|
|
879
|
-
export declare const
|
|
880
|
-
declare class
|
|
851
|
+
export declare const WebsocketConnectionResponse: WebsocketConnectionResponse$Type;
|
|
852
|
+
declare class WebrtcConnectionRequest$Type extends MessageType$<WebrtcConnectionRequest> {
|
|
881
853
|
constructor();
|
|
882
854
|
}
|
|
883
855
|
/**
|
|
884
|
-
* @generated MessageType for protobuf message dht.
|
|
856
|
+
* @generated MessageType for protobuf message dht.WebrtcConnectionRequest
|
|
885
857
|
*/
|
|
886
|
-
export declare const
|
|
858
|
+
export declare const WebrtcConnectionRequest: WebrtcConnectionRequest$Type;
|
|
887
859
|
declare class RtcOffer$Type extends MessageType$<RtcOffer> {
|
|
888
860
|
constructor();
|
|
889
861
|
}
|
|
@@ -940,50 +912,54 @@ declare class DisconnectNoticeResponse$Type extends MessageType$<DisconnectNotic
|
|
|
940
912
|
* @generated MessageType for protobuf message dht.DisconnectNoticeResponse
|
|
941
913
|
*/
|
|
942
914
|
export declare const DisconnectNoticeResponse: DisconnectNoticeResponse$Type;
|
|
943
|
-
declare class
|
|
915
|
+
declare class ExternalFindDataRequest$Type extends MessageType$<ExternalFindDataRequest> {
|
|
944
916
|
constructor();
|
|
945
917
|
}
|
|
946
918
|
/**
|
|
947
|
-
* @generated MessageType for protobuf message dht.
|
|
919
|
+
* @generated MessageType for protobuf message dht.ExternalFindDataRequest
|
|
948
920
|
*/
|
|
949
|
-
export declare const
|
|
950
|
-
declare class
|
|
921
|
+
export declare const ExternalFindDataRequest: ExternalFindDataRequest$Type;
|
|
922
|
+
declare class ExternalFindDataResponse$Type extends MessageType$<ExternalFindDataResponse> {
|
|
951
923
|
constructor();
|
|
952
924
|
}
|
|
953
925
|
/**
|
|
954
|
-
* @generated MessageType for protobuf message dht.
|
|
926
|
+
* @generated MessageType for protobuf message dht.ExternalFindDataResponse
|
|
927
|
+
*/
|
|
928
|
+
export declare const ExternalFindDataResponse: ExternalFindDataResponse$Type;
|
|
929
|
+
/**
|
|
930
|
+
* @generated ServiceType for protobuf service dht.DhtNodeRpc
|
|
955
931
|
*/
|
|
956
|
-
export declare const
|
|
932
|
+
export declare const DhtNodeRpc: ServiceType;
|
|
957
933
|
/**
|
|
958
|
-
* @generated ServiceType for protobuf service dht.
|
|
934
|
+
* @generated ServiceType for protobuf service dht.RouterRpc
|
|
959
935
|
*/
|
|
960
|
-
export declare const
|
|
936
|
+
export declare const RouterRpc: ServiceType;
|
|
961
937
|
/**
|
|
962
|
-
* @generated ServiceType for protobuf service dht.
|
|
938
|
+
* @generated ServiceType for protobuf service dht.FindRpc
|
|
963
939
|
*/
|
|
964
|
-
export declare const
|
|
940
|
+
export declare const FindRpc: ServiceType;
|
|
965
941
|
/**
|
|
966
|
-
* @generated ServiceType for protobuf service dht.
|
|
942
|
+
* @generated ServiceType for protobuf service dht.StoreRpc
|
|
967
943
|
*/
|
|
968
|
-
export declare const
|
|
944
|
+
export declare const StoreRpc: ServiceType;
|
|
969
945
|
/**
|
|
970
|
-
* @generated ServiceType for protobuf service dht.
|
|
946
|
+
* @generated ServiceType for protobuf service dht.FindSessionRpc
|
|
971
947
|
*/
|
|
972
|
-
export declare const
|
|
948
|
+
export declare const FindSessionRpc: ServiceType;
|
|
973
949
|
/**
|
|
974
|
-
* @generated ServiceType for protobuf service dht.
|
|
950
|
+
* @generated ServiceType for protobuf service dht.WebsocketConnectorRpc
|
|
975
951
|
*/
|
|
976
|
-
export declare const
|
|
952
|
+
export declare const WebsocketConnectorRpc: ServiceType;
|
|
977
953
|
/**
|
|
978
|
-
* @generated ServiceType for protobuf service dht.
|
|
954
|
+
* @generated ServiceType for protobuf service dht.WebrtcConnectorRpc
|
|
979
955
|
*/
|
|
980
|
-
export declare const
|
|
956
|
+
export declare const WebrtcConnectorRpc: ServiceType;
|
|
981
957
|
/**
|
|
982
|
-
* @generated ServiceType for protobuf service dht.
|
|
958
|
+
* @generated ServiceType for protobuf service dht.ConnectionLockRpc
|
|
983
959
|
*/
|
|
984
|
-
export declare const
|
|
960
|
+
export declare const ConnectionLockRpc: ServiceType;
|
|
985
961
|
/**
|
|
986
|
-
* @generated ServiceType for protobuf service dht.
|
|
962
|
+
* @generated ServiceType for protobuf service dht.ExternalApiRpc
|
|
987
963
|
*/
|
|
988
|
-
export declare const
|
|
964
|
+
export declare const ExternalApiRpc: ServiceType;
|
|
989
965
|
export {};
|