@streamr/trackerless-network 103.0.0-rc.17 → 103.0.0-rc.19

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.
Files changed (36) hide show
  1. package/dist/generated/google/protobuf/any.d.ts +2 -2
  2. package/dist/generated/google/protobuf/timestamp.d.ts +2 -2
  3. package/dist/generated/packages/dht/protos/DhtRpc.client.d.ts +44 -44
  4. package/dist/generated/packages/dht/protos/DhtRpc.client.js +23 -23
  5. package/dist/generated/packages/dht/protos/DhtRpc.d.ts +100 -100
  6. package/dist/generated/packages/dht/protos/DhtRpc.js +1 -1
  7. package/dist/generated/packages/dht/protos/DhtRpc.server.d.ts +22 -22
  8. package/dist/generated/packages/proto-rpc/protos/ProtoRpc.d.ts +8 -8
  9. package/dist/generated/packages/proto-rpc/protos/ProtoRpc.js +1 -1
  10. package/dist/generated/packages/trackerless-network/protos/NetworkRpc.client.d.ts +24 -24
  11. package/dist/generated/packages/trackerless-network/protos/NetworkRpc.client.js +13 -13
  12. package/dist/generated/packages/trackerless-network/protos/NetworkRpc.d.ts +65 -65
  13. package/dist/generated/packages/trackerless-network/protos/NetworkRpc.js +1 -1
  14. package/dist/generated/packages/trackerless-network/protos/NetworkRpc.server.d.ts +12 -12
  15. package/dist/package.json +6 -6
  16. package/dist/src/ContentDeliveryManager.d.ts +0 -2
  17. package/dist/src/ContentDeliveryManager.js +0 -3
  18. package/dist/src/ContentDeliveryManager.js.map +1 -1
  19. package/dist/src/NetworkNode.d.ts +0 -3
  20. package/dist/src/NetworkNode.js +0 -6
  21. package/dist/src/NetworkNode.js.map +1 -1
  22. package/dist/src/content-delivery-layer/ContentDeliveryLayerNode.d.ts +0 -3
  23. package/dist/src/content-delivery-layer/ContentDeliveryLayerNode.js +0 -7
  24. package/dist/src/content-delivery-layer/ContentDeliveryLayerNode.js.map +1 -1
  25. package/dist/src/content-delivery-layer/ContentDeliveryRpcRemote.d.ts +1 -9
  26. package/dist/src/content-delivery-layer/ContentDeliveryRpcRemote.js +0 -16
  27. package/dist/src/content-delivery-layer/ContentDeliveryRpcRemote.js.map +1 -1
  28. package/dist/src/content-delivery-layer/NodeList.d.ts +0 -2
  29. package/dist/src/content-delivery-layer/NodeList.js +0 -7
  30. package/dist/src/content-delivery-layer/NodeList.js.map +1 -1
  31. package/dist/src/content-delivery-layer/inspection/Inspector.js +1 -1
  32. package/dist/src/content-delivery-layer/inspection/Inspector.js.map +1 -1
  33. package/dist/src/content-delivery-layer/neighbor-discovery/NeighborUpdateManager.js.map +1 -1
  34. package/dist/test/benchmark/first-message.js +1 -1
  35. package/dist/test/benchmark/first-message.js.map +1 -1
  36. package/package.json +6 -6
@@ -6,27 +6,27 @@ import { PeerDescriptor } from "../../dht/protos/DhtRpc";
6
6
  */
7
7
  export interface MessageID {
8
8
  /**
9
- * @generated from protobuf field: string streamId = 1;
9
+ * @generated from protobuf field: string streamId = 1
10
10
  */
11
11
  streamId: string;
12
12
  /**
13
- * @generated from protobuf field: int32 streamPartition = 2;
13
+ * @generated from protobuf field: int32 streamPartition = 2
14
14
  */
15
15
  streamPartition: number;
16
16
  /**
17
- * @generated from protobuf field: int64 timestamp = 3;
17
+ * @generated from protobuf field: int64 timestamp = 3
18
18
  */
19
19
  timestamp: number;
20
20
  /**
21
- * @generated from protobuf field: int32 sequenceNumber = 4;
21
+ * @generated from protobuf field: int32 sequenceNumber = 4
22
22
  */
23
23
  sequenceNumber: number;
24
24
  /**
25
- * @generated from protobuf field: bytes publisherId = 5;
25
+ * @generated from protobuf field: bytes publisherId = 5
26
26
  */
27
27
  publisherId: Uint8Array;
28
28
  /**
29
- * @generated from protobuf field: string messageChainId = 6;
29
+ * @generated from protobuf field: string messageChainId = 6
30
30
  */
31
31
  messageChainId: string;
32
32
  }
@@ -35,11 +35,11 @@ export interface MessageID {
35
35
  */
36
36
  export interface MessageRef {
37
37
  /**
38
- * @generated from protobuf field: int64 timestamp = 1;
38
+ * @generated from protobuf field: int64 timestamp = 1
39
39
  */
40
40
  timestamp: number;
41
41
  /**
42
- * @generated from protobuf field: int32 sequenceNumber = 2;
42
+ * @generated from protobuf field: int32 sequenceNumber = 2
43
43
  */
44
44
  sequenceNumber: number;
45
45
  }
@@ -50,19 +50,19 @@ export interface StreamMessage {
50
50
  /**
51
51
  * this is a required field but in generated NetworkRpc.ts it is incorrectly annotated as optional (NET-1082)
52
52
  *
53
- * @generated from protobuf field: MessageID messageId = 1;
53
+ * @generated from protobuf field: MessageID messageId = 1
54
54
  */
55
55
  messageId?: MessageID;
56
56
  /**
57
- * @generated from protobuf field: optional MessageRef previousMessageRef = 2;
57
+ * @generated from protobuf field: optional MessageRef previousMessageRef = 2
58
58
  */
59
59
  previousMessageRef?: MessageRef;
60
60
  /**
61
- * @generated from protobuf field: bytes signature = 3;
61
+ * @generated from protobuf field: bytes signature = 3
62
62
  */
63
63
  signature: Uint8Array;
64
64
  /**
65
- * @generated from protobuf field: SignatureType signatureType = 4;
65
+ * @generated from protobuf field: SignatureType signatureType = 4
66
66
  */
67
67
  signatureType: SignatureType;
68
68
  /**
@@ -71,19 +71,19 @@ export interface StreamMessage {
71
71
  body: {
72
72
  oneofKind: "contentMessage";
73
73
  /**
74
- * @generated from protobuf field: ContentMessage contentMessage = 5;
74
+ * @generated from protobuf field: ContentMessage contentMessage = 5
75
75
  */
76
76
  contentMessage: ContentMessage;
77
77
  } | {
78
78
  oneofKind: "groupKeyRequest";
79
79
  /**
80
- * @generated from protobuf field: GroupKeyRequest groupKeyRequest = 6;
80
+ * @generated from protobuf field: GroupKeyRequest groupKeyRequest = 6
81
81
  */
82
82
  groupKeyRequest: GroupKeyRequest;
83
83
  } | {
84
84
  oneofKind: "groupKeyResponse";
85
85
  /**
86
- * @generated from protobuf field: GroupKeyResponse groupKeyResponse = 7;
86
+ * @generated from protobuf field: GroupKeyResponse groupKeyResponse = 7
87
87
  */
88
88
  groupKeyResponse: GroupKeyResponse;
89
89
  } | {
@@ -95,23 +95,23 @@ export interface StreamMessage {
95
95
  */
96
96
  export interface ContentMessage {
97
97
  /**
98
- * @generated from protobuf field: bytes content = 1;
98
+ * @generated from protobuf field: bytes content = 1
99
99
  */
100
100
  content: Uint8Array;
101
101
  /**
102
- * @generated from protobuf field: ContentType contentType = 2;
102
+ * @generated from protobuf field: ContentType contentType = 2
103
103
  */
104
104
  contentType: ContentType;
105
105
  /**
106
- * @generated from protobuf field: EncryptionType encryptionType = 3;
106
+ * @generated from protobuf field: EncryptionType encryptionType = 3
107
107
  */
108
108
  encryptionType: EncryptionType;
109
109
  /**
110
- * @generated from protobuf field: optional string groupKeyId = 4;
110
+ * @generated from protobuf field: optional string groupKeyId = 4
111
111
  */
112
112
  groupKeyId?: string;
113
113
  /**
114
- * @generated from protobuf field: optional EncryptedGroupKey newGroupKey = 5;
114
+ * @generated from protobuf field: optional EncryptedGroupKey newGroupKey = 5
115
115
  */
116
116
  newGroupKey?: EncryptedGroupKey;
117
117
  }
@@ -120,23 +120,23 @@ export interface ContentMessage {
120
120
  */
121
121
  export interface GroupKeyRequest {
122
122
  /**
123
- * @generated from protobuf field: string requestId = 1;
123
+ * @generated from protobuf field: string requestId = 1
124
124
  */
125
125
  requestId: string;
126
126
  /**
127
- * @generated from protobuf field: bytes recipientId = 2;
127
+ * @generated from protobuf field: bytes recipientId = 2
128
128
  */
129
129
  recipientId: Uint8Array;
130
130
  /**
131
- * @generated from protobuf field: bytes publicKey = 3;
131
+ * @generated from protobuf field: bytes publicKey = 3
132
132
  */
133
133
  publicKey: Uint8Array;
134
134
  /**
135
- * @generated from protobuf field: repeated string groupKeyIds = 4;
135
+ * @generated from protobuf field: repeated string groupKeyIds = 4
136
136
  */
137
137
  groupKeyIds: string[];
138
138
  /**
139
- * @generated from protobuf field: AsymmetricEncryptionType encryptionType = 5;
139
+ * @generated from protobuf field: AsymmetricEncryptionType encryptionType = 5
140
140
  */
141
141
  encryptionType: AsymmetricEncryptionType;
142
142
  }
@@ -145,19 +145,19 @@ export interface GroupKeyRequest {
145
145
  */
146
146
  export interface GroupKeyResponse {
147
147
  /**
148
- * @generated from protobuf field: string requestId = 1;
148
+ * @generated from protobuf field: string requestId = 1
149
149
  */
150
150
  requestId: string;
151
151
  /**
152
- * @generated from protobuf field: bytes recipientId = 2;
152
+ * @generated from protobuf field: bytes recipientId = 2
153
153
  */
154
154
  recipientId: Uint8Array;
155
155
  /**
156
- * @generated from protobuf field: repeated EncryptedGroupKey groupKeys = 3;
156
+ * @generated from protobuf field: repeated EncryptedGroupKey groupKeys = 3
157
157
  */
158
158
  groupKeys: EncryptedGroupKey[];
159
159
  /**
160
- * @generated from protobuf field: AsymmetricEncryptionType encryptionType = 4;
160
+ * @generated from protobuf field: AsymmetricEncryptionType encryptionType = 4
161
161
  */
162
162
  encryptionType: AsymmetricEncryptionType;
163
163
  }
@@ -166,11 +166,11 @@ export interface GroupKeyResponse {
166
166
  */
167
167
  export interface EncryptedGroupKey {
168
168
  /**
169
- * @generated from protobuf field: string id = 1;
169
+ * @generated from protobuf field: string id = 1
170
170
  */
171
171
  id: string;
172
172
  /**
173
- * @generated from protobuf field: bytes data = 2;
173
+ * @generated from protobuf field: bytes data = 2
174
174
  */
175
175
  data: Uint8Array;
176
176
  }
@@ -179,23 +179,23 @@ export interface EncryptedGroupKey {
179
179
  */
180
180
  export interface StreamPartHandshakeRequest {
181
181
  /**
182
- * @generated from protobuf field: string streamPartId = 1;
182
+ * @generated from protobuf field: string streamPartId = 1
183
183
  */
184
184
  streamPartId: string;
185
185
  /**
186
- * @generated from protobuf field: string requestId = 2;
186
+ * @generated from protobuf field: string requestId = 2
187
187
  */
188
188
  requestId: string;
189
189
  /**
190
- * @generated from protobuf field: optional bytes concurrentHandshakeNodeId = 3;
190
+ * @generated from protobuf field: optional bytes concurrentHandshakeNodeId = 3
191
191
  */
192
192
  concurrentHandshakeNodeId?: Uint8Array;
193
193
  /**
194
- * @generated from protobuf field: repeated bytes neighborNodeIds = 4;
194
+ * @generated from protobuf field: repeated bytes neighborNodeIds = 4
195
195
  */
196
196
  neighborNodeIds: Uint8Array[];
197
197
  /**
198
- * @generated from protobuf field: optional bytes interleaveNodeId = 5;
198
+ * @generated from protobuf field: optional bytes interleaveNodeId = 5
199
199
  */
200
200
  interleaveNodeId?: Uint8Array;
201
201
  }
@@ -204,15 +204,15 @@ export interface StreamPartHandshakeRequest {
204
204
  */
205
205
  export interface StreamPartHandshakeResponse {
206
206
  /**
207
- * @generated from protobuf field: bool accepted = 1;
207
+ * @generated from protobuf field: bool accepted = 1
208
208
  */
209
209
  accepted: boolean;
210
210
  /**
211
- * @generated from protobuf field: string requestId = 2;
211
+ * @generated from protobuf field: string requestId = 2
212
212
  */
213
213
  requestId: string;
214
214
  /**
215
- * @generated from protobuf field: optional dht.PeerDescriptor interleaveTargetDescriptor = 3;
215
+ * @generated from protobuf field: optional dht.PeerDescriptor interleaveTargetDescriptor = 3
216
216
  */
217
217
  interleaveTargetDescriptor?: PeerDescriptor;
218
218
  }
@@ -223,7 +223,7 @@ export interface InterleaveRequest {
223
223
  /**
224
224
  * this is a required field but in generated NetworkRpc.ts it is incorrectly annotated as optional (NET-1082)
225
225
  *
226
- * @generated from protobuf field: dht.PeerDescriptor interleaveTargetDescriptor = 1;
226
+ * @generated from protobuf field: dht.PeerDescriptor interleaveTargetDescriptor = 1
227
227
  */
228
228
  interleaveTargetDescriptor?: PeerDescriptor;
229
229
  }
@@ -232,7 +232,7 @@ export interface InterleaveRequest {
232
232
  */
233
233
  export interface InterleaveResponse {
234
234
  /**
235
- * @generated from protobuf field: bool accepted = 1;
235
+ * @generated from protobuf field: bool accepted = 1
236
236
  */
237
237
  accepted: boolean;
238
238
  }
@@ -241,11 +241,11 @@ export interface InterleaveResponse {
241
241
  */
242
242
  export interface LeaveStreamPartNotice {
243
243
  /**
244
- * @generated from protobuf field: string streamPartId = 1;
244
+ * @generated from protobuf field: string streamPartId = 1
245
245
  */
246
246
  streamPartId: string;
247
247
  /**
248
- * @generated from protobuf field: bool isEntryPoint = 2;
248
+ * @generated from protobuf field: bool isEntryPoint = 2
249
249
  */
250
250
  isEntryPoint: boolean;
251
251
  }
@@ -254,15 +254,15 @@ export interface LeaveStreamPartNotice {
254
254
  */
255
255
  export interface NeighborUpdate {
256
256
  /**
257
- * @generated from protobuf field: string streamPartId = 1;
257
+ * @generated from protobuf field: string streamPartId = 1
258
258
  */
259
259
  streamPartId: string;
260
260
  /**
261
- * @generated from protobuf field: bool removeMe = 2;
261
+ * @generated from protobuf field: bool removeMe = 2
262
262
  */
263
263
  removeMe: boolean;
264
264
  /**
265
- * @generated from protobuf field: repeated dht.PeerDescriptor neighborDescriptors = 3;
265
+ * @generated from protobuf field: repeated dht.PeerDescriptor neighborDescriptors = 3
266
266
  */
267
267
  neighborDescriptors: PeerDescriptor[];
268
268
  }
@@ -271,11 +271,11 @@ export interface NeighborUpdate {
271
271
  */
272
272
  export interface ProxyConnectionRequest {
273
273
  /**
274
- * @generated from protobuf field: ProxyDirection direction = 1;
274
+ * @generated from protobuf field: ProxyDirection direction = 1
275
275
  */
276
276
  direction: ProxyDirection;
277
277
  /**
278
- * @generated from protobuf field: bytes userId = 2;
278
+ * @generated from protobuf field: bytes userId = 2
279
279
  */
280
280
  userId: Uint8Array;
281
281
  }
@@ -284,7 +284,7 @@ export interface ProxyConnectionRequest {
284
284
  */
285
285
  export interface ProxyConnectionResponse {
286
286
  /**
287
- * @generated from protobuf field: bool accepted = 1;
287
+ * @generated from protobuf field: bool accepted = 1
288
288
  */
289
289
  accepted: boolean;
290
290
  }
@@ -298,7 +298,7 @@ export interface TemporaryConnectionRequest {
298
298
  */
299
299
  export interface TemporaryConnectionResponse {
300
300
  /**
301
- * @generated from protobuf field: bool accepted = 1;
301
+ * @generated from protobuf field: bool accepted = 1
302
302
  */
303
303
  accepted: boolean;
304
304
  }
@@ -312,19 +312,19 @@ export interface CloseTemporaryConnection {
312
312
  */
313
313
  export interface StreamPartitionInfo {
314
314
  /**
315
- * @generated from protobuf field: string id = 1;
315
+ * @generated from protobuf field: string id = 1
316
316
  */
317
317
  id: string;
318
318
  /**
319
- * @generated from protobuf field: repeated dht.PeerDescriptor controlLayerNeighbors = 2;
319
+ * @generated from protobuf field: repeated dht.PeerDescriptor controlLayerNeighbors = 2
320
320
  */
321
321
  controlLayerNeighbors: PeerDescriptor[];
322
322
  /**
323
- * @generated from protobuf field: repeated dht.PeerDescriptor deprecatedContentDeliveryLayerNeighbors = 3;
323
+ * @generated from protobuf field: repeated dht.PeerDescriptor deprecatedContentDeliveryLayerNeighbors = 3
324
324
  */
325
325
  deprecatedContentDeliveryLayerNeighbors: PeerDescriptor[];
326
326
  /**
327
- * @generated from protobuf field: repeated ContentDeliveryLayerNeighborInfo contentDeliveryLayerNeighbors = 4;
327
+ * @generated from protobuf field: repeated ContentDeliveryLayerNeighborInfo contentDeliveryLayerNeighbors = 4
328
328
  */
329
329
  contentDeliveryLayerNeighbors: ContentDeliveryLayerNeighborInfo[];
330
330
  }
@@ -333,11 +333,11 @@ export interface StreamPartitionInfo {
333
333
  */
334
334
  export interface ContentDeliveryLayerNeighborInfo {
335
335
  /**
336
- * @generated from protobuf field: dht.PeerDescriptor peerDescriptor = 1;
336
+ * @generated from protobuf field: dht.PeerDescriptor peerDescriptor = 1
337
337
  */
338
338
  peerDescriptor?: PeerDescriptor;
339
339
  /**
340
- * @generated from protobuf field: optional int32 rtt = 2;
340
+ * @generated from protobuf field: optional int32 rtt = 2
341
341
  */
342
342
  rtt?: number;
343
343
  }
@@ -346,11 +346,11 @@ export interface ContentDeliveryLayerNeighborInfo {
346
346
  */
347
347
  export interface ControlLayerInfo {
348
348
  /**
349
- * @generated from protobuf field: repeated dht.PeerDescriptor neighbors = 1;
349
+ * @generated from protobuf field: repeated dht.PeerDescriptor neighbors = 1
350
350
  */
351
351
  neighbors: PeerDescriptor[];
352
352
  /**
353
- * @generated from protobuf field: repeated dht.PeerDescriptor connections = 2;
353
+ * @generated from protobuf field: repeated dht.PeerDescriptor connections = 2
354
354
  */
355
355
  connections: PeerDescriptor[];
356
356
  }
@@ -364,19 +364,19 @@ export interface NodeInfoRequest {
364
364
  */
365
365
  export interface NodeInfoResponse {
366
366
  /**
367
- * @generated from protobuf field: dht.PeerDescriptor peerDescriptor = 1;
367
+ * @generated from protobuf field: dht.PeerDescriptor peerDescriptor = 1
368
368
  */
369
369
  peerDescriptor?: PeerDescriptor;
370
370
  /**
371
- * @generated from protobuf field: repeated StreamPartitionInfo streamPartitions = 2;
371
+ * @generated from protobuf field: repeated StreamPartitionInfo streamPartitions = 2
372
372
  */
373
373
  streamPartitions: StreamPartitionInfo[];
374
374
  /**
375
- * @generated from protobuf field: ControlLayerInfo controlLayer = 3;
375
+ * @generated from protobuf field: ControlLayerInfo controlLayer = 3
376
376
  */
377
377
  controlLayer?: ControlLayerInfo;
378
378
  /**
379
- * @generated from protobuf field: string applicationVersion = 4;
379
+ * @generated from protobuf field: string applicationVersion = 4
380
380
  */
381
381
  applicationVersion: string;
382
382
  }
@@ -385,7 +385,7 @@ export interface NodeInfoResponse {
385
385
  */
386
386
  export interface PauseNeighborRequest {
387
387
  /**
388
- * @generated from protobuf field: string messageChainId = 1;
388
+ * @generated from protobuf field: string messageChainId = 1
389
389
  */
390
390
  messageChainId: string;
391
391
  }
@@ -394,11 +394,11 @@ export interface PauseNeighborRequest {
394
394
  */
395
395
  export interface ResumeNeighborRequest {
396
396
  /**
397
- * @generated from protobuf field: string messageChainId = 1;
397
+ * @generated from protobuf field: string messageChainId = 1
398
398
  */
399
399
  messageChainId: string;
400
400
  /**
401
- * @generated from protobuf field: int64 fromTimestamp = 2;
401
+ * @generated from protobuf field: int64 fromTimestamp = 2
402
402
  */
403
403
  fromTimestamp: number;
404
404
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PlumTreeRpc = exports.NodeInfoRpc = exports.TemporaryConnectionRpc = exports.NeighborUpdateRpc = exports.HandshakeRpc = exports.ProxyConnectionRpc = exports.ContentDeliveryRpc = exports.ResumeNeighborRequest = exports.PauseNeighborRequest = exports.NodeInfoResponse = exports.NodeInfoRequest = exports.ControlLayerInfo = exports.ContentDeliveryLayerNeighborInfo = exports.StreamPartitionInfo = exports.CloseTemporaryConnection = exports.TemporaryConnectionResponse = exports.TemporaryConnectionRequest = exports.ProxyConnectionResponse = exports.ProxyConnectionRequest = exports.NeighborUpdate = exports.LeaveStreamPartNotice = exports.InterleaveResponse = exports.InterleaveRequest = exports.StreamPartHandshakeResponse = exports.StreamPartHandshakeRequest = exports.EncryptedGroupKey = exports.GroupKeyResponse = exports.GroupKeyRequest = exports.ContentMessage = exports.StreamMessage = exports.MessageRef = exports.MessageID = exports.ProxyDirection = exports.SignatureType = exports.AsymmetricEncryptionType = exports.EncryptionType = exports.ContentType = void 0;
4
- // @generated by protobuf-ts 2.10.0 with parameter server_generic,generate_dependencies,long_type_number
4
+ // @generated by protobuf-ts 2.11.0 with parameter server_generic,generate_dependencies,long_type_number
5
5
  // @generated from protobuf file "packages/trackerless-network/protos/NetworkRpc.proto" (syntax proto3)
6
6
  // tslint:disable
7
7
  const empty_1 = require("../../../google/protobuf/empty");
@@ -22,11 +22,11 @@ import { ServerCallContext } from "@protobuf-ts/runtime-rpc";
22
22
  */
23
23
  export interface IContentDeliveryRpc<T = ServerCallContext> {
24
24
  /**
25
- * @generated from protobuf rpc: sendStreamMessage(StreamMessage) returns (google.protobuf.Empty);
25
+ * @generated from protobuf rpc: sendStreamMessage
26
26
  */
27
27
  sendStreamMessage(request: StreamMessage, context: T): Promise<Empty>;
28
28
  /**
29
- * @generated from protobuf rpc: leaveStreamPartNotice(LeaveStreamPartNotice) returns (google.protobuf.Empty);
29
+ * @generated from protobuf rpc: leaveStreamPartNotice
30
30
  */
31
31
  leaveStreamPartNotice(request: LeaveStreamPartNotice, context: T): Promise<Empty>;
32
32
  }
@@ -35,7 +35,7 @@ export interface IContentDeliveryRpc<T = ServerCallContext> {
35
35
  */
36
36
  export interface IProxyConnectionRpc<T = ServerCallContext> {
37
37
  /**
38
- * @generated from protobuf rpc: requestConnection(ProxyConnectionRequest) returns (ProxyConnectionResponse);
38
+ * @generated from protobuf rpc: requestConnection
39
39
  */
40
40
  requestConnection(request: ProxyConnectionRequest, context: T): Promise<ProxyConnectionResponse>;
41
41
  }
@@ -44,11 +44,11 @@ export interface IProxyConnectionRpc<T = ServerCallContext> {
44
44
  */
45
45
  export interface IHandshakeRpc<T = ServerCallContext> {
46
46
  /**
47
- * @generated from protobuf rpc: handshake(StreamPartHandshakeRequest) returns (StreamPartHandshakeResponse);
47
+ * @generated from protobuf rpc: handshake
48
48
  */
49
49
  handshake(request: StreamPartHandshakeRequest, context: T): Promise<StreamPartHandshakeResponse>;
50
50
  /**
51
- * @generated from protobuf rpc: interleaveRequest(InterleaveRequest) returns (InterleaveResponse);
51
+ * @generated from protobuf rpc: interleaveRequest
52
52
  */
53
53
  interleaveRequest(request: InterleaveRequest, context: T): Promise<InterleaveResponse>;
54
54
  }
@@ -57,7 +57,7 @@ export interface IHandshakeRpc<T = ServerCallContext> {
57
57
  */
58
58
  export interface INeighborUpdateRpc<T = ServerCallContext> {
59
59
  /**
60
- * @generated from protobuf rpc: neighborUpdate(NeighborUpdate) returns (NeighborUpdate);
60
+ * @generated from protobuf rpc: neighborUpdate
61
61
  */
62
62
  neighborUpdate(request: NeighborUpdate, context: T): Promise<NeighborUpdate>;
63
63
  }
@@ -66,11 +66,11 @@ export interface INeighborUpdateRpc<T = ServerCallContext> {
66
66
  */
67
67
  export interface ITemporaryConnectionRpc<T = ServerCallContext> {
68
68
  /**
69
- * @generated from protobuf rpc: openConnection(TemporaryConnectionRequest) returns (TemporaryConnectionResponse);
69
+ * @generated from protobuf rpc: openConnection
70
70
  */
71
71
  openConnection(request: TemporaryConnectionRequest, context: T): Promise<TemporaryConnectionResponse>;
72
72
  /**
73
- * @generated from protobuf rpc: closeConnection(CloseTemporaryConnection) returns (google.protobuf.Empty);
73
+ * @generated from protobuf rpc: closeConnection
74
74
  */
75
75
  closeConnection(request: CloseTemporaryConnection, context: T): Promise<Empty>;
76
76
  }
@@ -79,7 +79,7 @@ export interface ITemporaryConnectionRpc<T = ServerCallContext> {
79
79
  */
80
80
  export interface INodeInfoRpc<T = ServerCallContext> {
81
81
  /**
82
- * @generated from protobuf rpc: getInfo(NodeInfoRequest) returns (NodeInfoResponse);
82
+ * @generated from protobuf rpc: getInfo
83
83
  */
84
84
  getInfo(request: NodeInfoRequest, context: T): Promise<NodeInfoResponse>;
85
85
  }
@@ -88,15 +88,15 @@ export interface INodeInfoRpc<T = ServerCallContext> {
88
88
  */
89
89
  export interface IPlumTreeRpc<T = ServerCallContext> {
90
90
  /**
91
- * @generated from protobuf rpc: pauseNeighbor(PauseNeighborRequest) returns (google.protobuf.Empty);
91
+ * @generated from protobuf rpc: pauseNeighbor
92
92
  */
93
93
  pauseNeighbor(request: PauseNeighborRequest, context: T): Promise<Empty>;
94
94
  /**
95
- * @generated from protobuf rpc: resumeNeighbor(ResumeNeighborRequest) returns (google.protobuf.Empty);
95
+ * @generated from protobuf rpc: resumeNeighbor
96
96
  */
97
97
  resumeNeighbor(request: ResumeNeighborRequest, context: T): Promise<Empty>;
98
98
  /**
99
- * @generated from protobuf rpc: sendMetadata(MessageID) returns (google.protobuf.Empty);
99
+ * @generated from protobuf rpc: sendMetadata
100
100
  */
101
101
  sendMetadata(request: MessageID, context: T): Promise<Empty>;
102
102
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamr/trackerless-network",
3
- "version": "103.0.0-rc.17",
3
+ "version": "103.0.0-rc.19",
4
4
  "description": "Minimal and extendable implementation of the Streamr Network node.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,9 +36,9 @@
36
36
  "dependencies": {
37
37
  "@protobuf-ts/runtime": "^2.8.2",
38
38
  "@protobuf-ts/runtime-rpc": "^2.8.2",
39
- "@streamr/dht": "103.0.0-rc.17",
40
- "@streamr/proto-rpc": "103.0.0-rc.17",
41
- "@streamr/utils": "103.0.0-rc.17",
39
+ "@streamr/dht": "103.0.0-rc.19",
40
+ "@streamr/proto-rpc": "103.0.0-rc.19",
41
+ "@streamr/utils": "103.0.0-rc.19",
42
42
  "eventemitter3": "^5.0.0",
43
43
  "lodash": "^4.17.21",
44
44
  "ts-essentials": "^10.0.4",
@@ -47,8 +47,8 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@streamr/browser-test-runner": "^0.0.1",
50
- "@streamr/test-utils": "103.0.0-rc.17",
51
- "@types/lodash": "^4.17.16",
50
+ "@streamr/test-utils": "103.0.0-rc.19",
51
+ "@types/lodash": "^4.17.17",
52
52
  "@types/yallist": "^4.0.1",
53
53
  "expect": "^29.6.2",
54
54
  "ts-node": "^10.9.2"
@@ -8,7 +8,6 @@ import { DiscoveryLayerNode } from './discovery-layer/DiscoveryLayerNode';
8
8
  import { StreamPartNetworkSplitAvoidance } from './StreamPartNetworkSplitAvoidance';
9
9
  import { ProxyClient } from './content-delivery-layer/proxy/ProxyClient';
10
10
  import { StreamPartitionInfo } from './types';
11
- import { ContentDeliveryRpcRemote } from './content-delivery-layer/ContentDeliveryRpcRemote';
12
11
  export type StreamPartDelivery = {
13
12
  broadcast: (msg: StreamMessage) => void;
14
13
  stop: () => Promise<void>;
@@ -25,7 +24,6 @@ export type StreamPartDelivery = {
25
24
  });
26
25
  export interface Events {
27
26
  newMessage: (msg: StreamMessage) => void;
28
- neighborListUpdated: (streamPartId: StreamPartID, neighbors: ContentDeliveryRpcRemote[]) => void;
29
27
  }
30
28
  export interface ContentDeliveryManagerOptions {
31
29
  metricsContext?: MetricsContext;
@@ -120,9 +120,6 @@ class ContentDeliveryManager extends eventemitter3_1.EventEmitter {
120
120
  node.on('message', (message) => {
121
121
  this.emit('newMessage', message);
122
122
  });
123
- node.on('neighborListUpdated', (neighbors) => {
124
- this.emit('neighborListUpdated', streamPartId, neighbors);
125
- });
126
123
  const handleEntryPointLeave = async () => {
127
124
  if (this.destroyed || peerDescriptorStoreManager.isLocalNodeStored() || this.knownStreamPartEntryPoints.has(streamPartId)) {
128
125
  return;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentDeliveryManager.js","sourceRoot":"","sources":["../../src/ContentDeliveryManager.ts"],"names":[],"mappings":";;;;;;AAAA,sCAUqB;AACrB,0CAQuB;AACvB,mCAAmC;AACnC,iDAA4C;AAC5C,mEAA0C;AAK1C,2FAAuG;AACvG,uFAAqJ;AACrJ,+DAA2D;AAC3D,4GAAwG;AACxG,4EAAwE;AAExE,kFAIyD;AAuBzD,MAAM,MAAM,GAAG,IAAI,cAAM,CAAC,MAAM,CAAC,CAAA;AAsB1B,MAAM,qBAAqB,GAAG,CAAC,YAA0B,EAAc,EAAE;IAC5E,OAAO,IAAA,kBAAY,EAAC,IAAI,UAAU,CAAC,CAAC,IAAA,mBAAU,EAAC,MAAM,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAA;AAC3F,CAAC,CAAA;AAFY,QAAA,qBAAqB,yBAEjC;AAED,MAAa,sBAAuB,SAAQ,4BAAoB;IAEpD,SAAS,CAAa;IACtB,gBAAgB,CAAmB;IACnC,gBAAgB,CAAmB;IAC1B,cAAc,CAAgB;IAC9B,OAAO,CAAS;IAChB,OAAO,CAA+B;IACtC,WAAW,CAAuC;IAClD,0BAA0B,GAAwC,IAAI,GAAG,EAAE,CAAA;IACpF,OAAO,GAAG,KAAK,CAAA;IACf,SAAS,GAAG,KAAK,CAAA;IAEzB,YAAY,OAAsC;QAC9C,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,WAAW,GAAG,IAAI,GAAG,EAAE,CAAA;QAC5B,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,IAAI,IAAI,sBAAc,EAAE,CAAA;QACpE,IAAI,CAAC,OAAO,GAAG;YACX,0BAA0B,EAAE,IAAI,kBAAU,EAAE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C,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QACrD,OAAO,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,KAAK,KAAK,CAAC;YAC/D,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,cAAQ,EAAC,CAAC,CAAC,CAAC;YACxD,CAAC,CAAC,EAAE,CAAA;IACZ,CAAC;IAED,cAAc;QACV,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,yBAAiB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAA;IACvF,CAAC;IAED,iBAAiB;QACb,OAAO;YACH,WAAW,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE;gBAC1C,OAAO;oBACH,EAAE;oBACF,IAAI,EAAE,IAAI,CAAC,qBAAqB,CAAC,EAAE,CAAE,CAAC,iBAAiB,EAAE;iBAC5D,CAAA;YACL,CAAC,CAAC;SACL,CAAA;IACL,CAAC;CACJ;AA9UD,wDA8UC"}
@@ -7,7 +7,6 @@ import { ExternalRpcClient, ExternalRpcClientClass } from './control-layer/Exter
7
7
  import { NetworkOptions, NetworkStack } from './NetworkStack';
8
8
  import { ProxyDirection, StreamMessage } from '../generated/packages/trackerless-network/protos/NetworkRpc';
9
9
  import { NodeInfo } from './types';
10
- import { ContentDeliveryRpcRemote } from './content-delivery-layer/ContentDeliveryRpcRemote';
11
10
  import { StreamPartDeliveryOptions } from './ContentDeliveryManager';
12
11
  export declare const createNetworkNode: (opts: NetworkOptions) => NetworkNode;
13
12
  /**
@@ -27,10 +26,8 @@ export declare class NetworkNode {
27
26
  setProxies(streamPartId: StreamPartID, nodes: PeerDescriptor[], direction: ProxyDirection, userId: UserID, connectionCount?: number): Promise<void>;
28
27
  isProxiedStreamPart(streamPartId: StreamPartID): boolean;
29
28
  addMessageListener(listener: (msg: StreamMessage) => void): void;
30
- addNeighborListUpdatedListener(listener: (streamPartId: StreamPartID, neighbors: ContentDeliveryRpcRemote[]) => void): void;
31
29
  setStreamPartEntryPoints(streamPartId: StreamPartID, contactPeerDescriptors: PeerDescriptor[]): void;
32
30
  removeMessageListener(listener: (msg: StreamMessage) => void): void;
33
- removeNeighborListUpdatedListener(listener: (streamPartId: StreamPartID, neighbors: ContentDeliveryRpcRemote[]) => void): void;
34
31
  leave(streamPartId: StreamPartID): Promise<void>;
35
32
  getNeighbors(streamPartId: StreamPartID): readonly DhtAddress[];
36
33
  hasStreamPart(streamPartId: StreamPartID): boolean;