@libp2p/interface 2.6.0-e7e01f58f → 2.6.0-f465c5473
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/src/connection.d.ts +2 -2
- package/dist/src/index.d.ts +1 -1
- package/dist/src/pubsub.d.ts +1 -1
- package/dist/src/pubsub.js +1 -1
- package/dist/src/startable.d.ts +1 -1
- package/dist/src/transport.d.ts +1 -1
- package/package.json +1 -1
- package/src/connection.ts +2 -2
- package/src/index.ts +1 -1
- package/src/pubsub.ts +1 -1
- package/src/startable.ts +1 -1
- package/src/transport.ts +1 -1
package/dist/src/connection.d.ts
CHANGED
|
@@ -244,7 +244,7 @@ export interface Connection {
|
|
|
244
244
|
*/
|
|
245
245
|
streams: Stream[];
|
|
246
246
|
/**
|
|
247
|
-
* Outbound
|
|
247
|
+
* Outbound connections are opened by the local node, inbound streams are opened by the remote
|
|
248
248
|
*/
|
|
249
249
|
direction: Direction;
|
|
250
250
|
/**
|
|
@@ -338,7 +338,7 @@ export interface MultiaddrConnection extends Duplex<AsyncGenerator<Uint8Array |
|
|
|
338
338
|
*/
|
|
339
339
|
remoteAddr: Multiaddr;
|
|
340
340
|
/**
|
|
341
|
-
* When connection
|
|
341
|
+
* When connection life cycle events occurred
|
|
342
342
|
*/
|
|
343
343
|
timeline: MultiaddrConnectionTimeline;
|
|
344
344
|
/**
|
package/dist/src/index.d.ts
CHANGED
|
@@ -689,7 +689,7 @@ export interface TraceOptions {
|
|
|
689
689
|
* When a routing operation involves reading values, these options allow
|
|
690
690
|
* controlling where the values are read from. By default libp2p will check
|
|
691
691
|
* local caches but may not use the network if a valid local value is found,
|
|
692
|
-
* these options allow tuning that
|
|
692
|
+
* these options allow tuning that behavior.
|
|
693
693
|
*/
|
|
694
694
|
export interface RoutingOptions extends AbortOptions, ProgressOptions, TraceOptions {
|
|
695
695
|
/**
|
package/dist/src/pubsub.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const StrictSign = "StrictSign";
|
|
|
16
16
|
/**
|
|
17
17
|
* On the producing side:
|
|
18
18
|
* * Build messages without the signature, key, from and seqno fields.
|
|
19
|
-
* * The corresponding protobuf key-value pairs are absent from the
|
|
19
|
+
* * The corresponding protobuf key-value pairs are absent from the marshaled message, not just empty.
|
|
20
20
|
*
|
|
21
21
|
* On the consuming side:
|
|
22
22
|
* * Enforce the fields to be absent, reject otherwise.
|
package/dist/src/pubsub.js
CHANGED
|
@@ -10,7 +10,7 @@ export const StrictSign = 'StrictSign';
|
|
|
10
10
|
/**
|
|
11
11
|
* On the producing side:
|
|
12
12
|
* * Build messages without the signature, key, from and seqno fields.
|
|
13
|
-
* * The corresponding protobuf key-value pairs are absent from the
|
|
13
|
+
* * The corresponding protobuf key-value pairs are absent from the marshaled message, not just empty.
|
|
14
14
|
*
|
|
15
15
|
* On the consuming side:
|
|
16
16
|
* * Enforce the fields to be absent, reject otherwise.
|
package/dist/src/startable.d.ts
CHANGED
package/dist/src/transport.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ export interface Transport<DialEvents extends ProgressEvent = ProgressEvent> {
|
|
|
85
85
|
*/
|
|
86
86
|
listenFilter: MultiaddrFilter;
|
|
87
87
|
/**
|
|
88
|
-
* Takes a list of `Multiaddr`s and returns only addresses that are
|
|
88
|
+
* Takes a list of `Multiaddr`s and returns only addresses that are valid for
|
|
89
89
|
* the transport to dial
|
|
90
90
|
*/
|
|
91
91
|
dialFilter: MultiaddrFilter;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/interface",
|
|
3
|
-
"version": "2.6.0-
|
|
3
|
+
"version": "2.6.0-f465c5473",
|
|
4
4
|
"description": "The interface implemented by a libp2p node",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/interface#readme",
|
package/src/connection.ts
CHANGED
|
@@ -282,7 +282,7 @@ export interface Connection {
|
|
|
282
282
|
streams: Stream[]
|
|
283
283
|
|
|
284
284
|
/**
|
|
285
|
-
* Outbound
|
|
285
|
+
* Outbound connections are opened by the local node, inbound streams are opened by the remote
|
|
286
286
|
*/
|
|
287
287
|
direction: Direction
|
|
288
288
|
|
|
@@ -398,7 +398,7 @@ export interface MultiaddrConnection extends Duplex<AsyncGenerator<Uint8Array |
|
|
|
398
398
|
remoteAddr: Multiaddr
|
|
399
399
|
|
|
400
400
|
/**
|
|
401
|
-
* When connection
|
|
401
|
+
* When connection life cycle events occurred
|
|
402
402
|
*/
|
|
403
403
|
timeline: MultiaddrConnectionTimeline
|
|
404
404
|
|
package/src/index.ts
CHANGED
|
@@ -772,7 +772,7 @@ export interface TraceOptions {
|
|
|
772
772
|
* When a routing operation involves reading values, these options allow
|
|
773
773
|
* controlling where the values are read from. By default libp2p will check
|
|
774
774
|
* local caches but may not use the network if a valid local value is found,
|
|
775
|
-
* these options allow tuning that
|
|
775
|
+
* these options allow tuning that behavior.
|
|
776
776
|
*/
|
|
777
777
|
export interface RoutingOptions extends AbortOptions, ProgressOptions, TraceOptions {
|
|
778
778
|
/**
|
package/src/pubsub.ts
CHANGED
|
@@ -18,7 +18,7 @@ export const StrictSign = 'StrictSign'
|
|
|
18
18
|
/**
|
|
19
19
|
* On the producing side:
|
|
20
20
|
* * Build messages without the signature, key, from and seqno fields.
|
|
21
|
-
* * The corresponding protobuf key-value pairs are absent from the
|
|
21
|
+
* * The corresponding protobuf key-value pairs are absent from the marshaled message, not just empty.
|
|
22
22
|
*
|
|
23
23
|
* On the consuming side:
|
|
24
24
|
* * Enforce the fields to be absent, reject otherwise.
|
package/src/startable.ts
CHANGED
package/src/transport.ts
CHANGED
|
@@ -97,7 +97,7 @@ export interface Transport<DialEvents extends ProgressEvent = ProgressEvent> {
|
|
|
97
97
|
listenFilter: MultiaddrFilter
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
|
-
* Takes a list of `Multiaddr`s and returns only addresses that are
|
|
100
|
+
* Takes a list of `Multiaddr`s and returns only addresses that are valid for
|
|
101
101
|
* the transport to dial
|
|
102
102
|
*/
|
|
103
103
|
dialFilter: MultiaddrFilter
|