@libp2p/interface 1.4.0 → 1.4.1-44791342
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-gater/index.d.ts +12 -12
- package/dist/src/connection-gater/index.d.ts.map +1 -1
- package/dist/src/index.d.ts +0 -8
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js.map +1 -1
- package/package.json +2 -2
- package/src/connection-gater/index.ts +12 -12
- package/src/index.ts +0 -9
- package/dist/typedoc-urls.json +0 -162
|
@@ -11,7 +11,7 @@ export interface ConnectionGater {
|
|
|
11
11
|
*
|
|
12
12
|
* Return true to prevent dialing the passed peer.
|
|
13
13
|
*/
|
|
14
|
-
denyDialPeer?(peerId: PeerId): Promise<boolean
|
|
14
|
+
denyDialPeer?(peerId: PeerId): Promise<boolean> | boolean;
|
|
15
15
|
/**
|
|
16
16
|
* denyDialMultiaddr tests whether we're permitted to dial the specified
|
|
17
17
|
* multiaddr.
|
|
@@ -21,7 +21,7 @@ export interface ConnectionGater {
|
|
|
21
21
|
*
|
|
22
22
|
* Return true to prevent dialing the passed peer on the passed multiaddr.
|
|
23
23
|
*/
|
|
24
|
-
denyDialMultiaddr?(multiaddr: Multiaddr): Promise<boolean
|
|
24
|
+
denyDialMultiaddr?(multiaddr: Multiaddr): Promise<boolean> | boolean;
|
|
25
25
|
/**
|
|
26
26
|
* denyInboundConnection tests whether an incipient inbound connection is allowed.
|
|
27
27
|
*
|
|
@@ -30,7 +30,7 @@ export interface ConnectionGater {
|
|
|
30
30
|
*
|
|
31
31
|
* Return true to deny the incoming passed connection.
|
|
32
32
|
*/
|
|
33
|
-
denyInboundConnection?(maConn: MultiaddrConnection): Promise<boolean
|
|
33
|
+
denyInboundConnection?(maConn: MultiaddrConnection): Promise<boolean> | boolean;
|
|
34
34
|
/**
|
|
35
35
|
* denyOutboundConnection tests whether an incipient outbound connection is allowed.
|
|
36
36
|
*
|
|
@@ -39,7 +39,7 @@ export interface ConnectionGater {
|
|
|
39
39
|
*
|
|
40
40
|
* Return true to deny the incoming passed connection.
|
|
41
41
|
*/
|
|
42
|
-
denyOutboundConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean
|
|
42
|
+
denyOutboundConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean> | boolean;
|
|
43
43
|
/**
|
|
44
44
|
* denyInboundEncryptedConnection tests whether a given connection, now encrypted,
|
|
45
45
|
* is allowed.
|
|
@@ -50,7 +50,7 @@ export interface ConnectionGater {
|
|
|
50
50
|
*
|
|
51
51
|
* Return true to deny the passed secured connection.
|
|
52
52
|
*/
|
|
53
|
-
denyInboundEncryptedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean
|
|
53
|
+
denyInboundEncryptedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean> | boolean;
|
|
54
54
|
/**
|
|
55
55
|
* denyOutboundEncryptedConnection tests whether a given connection, now encrypted,
|
|
56
56
|
* is allowed.
|
|
@@ -61,7 +61,7 @@ export interface ConnectionGater {
|
|
|
61
61
|
*
|
|
62
62
|
* Return true to deny the passed secured connection.
|
|
63
63
|
*/
|
|
64
|
-
denyOutboundEncryptedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean
|
|
64
|
+
denyOutboundEncryptedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean> | boolean;
|
|
65
65
|
/**
|
|
66
66
|
* denyInboundUpgradedConnection tests whether a fully capable connection is allowed.
|
|
67
67
|
*
|
|
@@ -70,7 +70,7 @@ export interface ConnectionGater {
|
|
|
70
70
|
*
|
|
71
71
|
* Return true to deny the passed upgraded connection.
|
|
72
72
|
*/
|
|
73
|
-
denyInboundUpgradedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean
|
|
73
|
+
denyInboundUpgradedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean> | boolean;
|
|
74
74
|
/**
|
|
75
75
|
* denyOutboundUpgradedConnection tests whether a fully capable connection is allowed.
|
|
76
76
|
*
|
|
@@ -79,14 +79,14 @@ export interface ConnectionGater {
|
|
|
79
79
|
*
|
|
80
80
|
* Return true to deny the passed upgraded connection.
|
|
81
81
|
*/
|
|
82
|
-
denyOutboundUpgradedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean
|
|
82
|
+
denyOutboundUpgradedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean> | boolean;
|
|
83
83
|
/**
|
|
84
84
|
* denyInboundRelayReservation tests whether a remote peer is allowed make a
|
|
85
85
|
* relay reservation on this node.
|
|
86
86
|
*
|
|
87
87
|
* Return true to deny the relay reservation.
|
|
88
88
|
*/
|
|
89
|
-
denyInboundRelayReservation?(source: PeerId): Promise<boolean
|
|
89
|
+
denyInboundRelayReservation?(source: PeerId): Promise<boolean> | boolean;
|
|
90
90
|
/**
|
|
91
91
|
* denyOutboundRelayedConnection tests whether a remote peer is allowed to open a relayed
|
|
92
92
|
* connection to the destination node.
|
|
@@ -96,7 +96,7 @@ export interface ConnectionGater {
|
|
|
96
96
|
*
|
|
97
97
|
* Return true to deny the relayed connection.
|
|
98
98
|
*/
|
|
99
|
-
denyOutboundRelayedConnection?(source: PeerId, destination: PeerId): Promise<boolean
|
|
99
|
+
denyOutboundRelayedConnection?(source: PeerId, destination: PeerId): Promise<boolean> | boolean;
|
|
100
100
|
/**
|
|
101
101
|
* denyInboundRelayedConnection tests whether a remote peer is allowed to open a relayed
|
|
102
102
|
* connection to this node.
|
|
@@ -106,12 +106,12 @@ export interface ConnectionGater {
|
|
|
106
106
|
*
|
|
107
107
|
* Return true to deny the relayed connection.
|
|
108
108
|
*/
|
|
109
|
-
denyInboundRelayedConnection?(relay: PeerId, remotePeer: PeerId): Promise<boolean
|
|
109
|
+
denyInboundRelayedConnection?(relay: PeerId, remotePeer: PeerId): Promise<boolean> | boolean;
|
|
110
110
|
/**
|
|
111
111
|
* Used by the address book to filter passed addresses.
|
|
112
112
|
*
|
|
113
113
|
* Return true to allow storing the passed multiaddr for the passed peer.
|
|
114
114
|
*/
|
|
115
|
-
filterMultiaddrForPeer?(peer: PeerId, multiaddr: Multiaddr): Promise<boolean
|
|
115
|
+
filterMultiaddrForPeer?(peer: PeerId, multiaddr: Multiaddr): Promise<boolean> | boolean;
|
|
116
116
|
}
|
|
117
117
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/connection-gater/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAExD,MAAM,WAAW,eAAe;IAC9B;;;;;;;;OAQG;IACH,YAAY,CAAC,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/connection-gater/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAExD,MAAM,WAAW,eAAe;IAC9B;;;;;;;;OAQG;IACH,YAAY,CAAC,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAA;IAEzD;;;;;;;;OAQG;IACH,iBAAiB,CAAC,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAA;IAEpE;;;;;;;OAOG;IACH,qBAAqB,CAAC,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAA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,CAAA;CACxF"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -621,14 +621,6 @@ export interface AbortOptions {
|
|
|
621
621
|
export interface LoggerOptions {
|
|
622
622
|
log: Logger;
|
|
623
623
|
}
|
|
624
|
-
/**
|
|
625
|
-
* Returns a new type with all fields marked optional.
|
|
626
|
-
*
|
|
627
|
-
* Borrowed from the tsdef module.
|
|
628
|
-
*/
|
|
629
|
-
export type RecursivePartial<T> = {
|
|
630
|
-
[P in keyof T]?: T[P] extends Array<infer I> ? Array<RecursivePartial<I>> : T[P] extends (...args: any[]) => any ? T[P] : RecursivePartial<T[P]>;
|
|
631
|
-
};
|
|
632
624
|
/**
|
|
633
625
|
* When a routing operation involves reading values, these options allow
|
|
634
626
|
* controlling where the values are read from. By default libp2p will check
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,KAAK,EAAE,aAAa,EA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,cAAc,2BAA2B,CAAA;AACzC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA"}
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAsrBH,cAAc,uBAAuB,CAAA;AACrC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,2BAA2B,CAAA;AACzC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/interface",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1-044791342",
|
|
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",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"uint8arraylist": "^2.4.8"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"aegir": "^
|
|
59
|
+
"aegir": "^43.0.1"
|
|
60
60
|
},
|
|
61
61
|
"browser": {
|
|
62
62
|
"events": "./dist/src/events.browser.js"
|
|
@@ -12,7 +12,7 @@ export interface ConnectionGater {
|
|
|
12
12
|
*
|
|
13
13
|
* Return true to prevent dialing the passed peer.
|
|
14
14
|
*/
|
|
15
|
-
denyDialPeer?(peerId: PeerId): Promise<boolean>
|
|
15
|
+
denyDialPeer?(peerId: PeerId): Promise<boolean> | boolean
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* denyDialMultiaddr tests whether we're permitted to dial the specified
|
|
@@ -23,7 +23,7 @@ export interface ConnectionGater {
|
|
|
23
23
|
*
|
|
24
24
|
* Return true to prevent dialing the passed peer on the passed multiaddr.
|
|
25
25
|
*/
|
|
26
|
-
denyDialMultiaddr?(multiaddr: Multiaddr): Promise<boolean>
|
|
26
|
+
denyDialMultiaddr?(multiaddr: Multiaddr): Promise<boolean> | boolean
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* denyInboundConnection tests whether an incipient inbound connection is allowed.
|
|
@@ -33,7 +33,7 @@ export interface ConnectionGater {
|
|
|
33
33
|
*
|
|
34
34
|
* Return true to deny the incoming passed connection.
|
|
35
35
|
*/
|
|
36
|
-
denyInboundConnection?(maConn: MultiaddrConnection): Promise<boolean>
|
|
36
|
+
denyInboundConnection?(maConn: MultiaddrConnection): Promise<boolean> | boolean
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* denyOutboundConnection tests whether an incipient outbound connection is allowed.
|
|
@@ -43,7 +43,7 @@ export interface ConnectionGater {
|
|
|
43
43
|
*
|
|
44
44
|
* Return true to deny the incoming passed connection.
|
|
45
45
|
*/
|
|
46
|
-
denyOutboundConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean>
|
|
46
|
+
denyOutboundConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean> | boolean
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* denyInboundEncryptedConnection tests whether a given connection, now encrypted,
|
|
@@ -55,7 +55,7 @@ export interface ConnectionGater {
|
|
|
55
55
|
*
|
|
56
56
|
* Return true to deny the passed secured connection.
|
|
57
57
|
*/
|
|
58
|
-
denyInboundEncryptedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean>
|
|
58
|
+
denyInboundEncryptedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean> | boolean
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* denyOutboundEncryptedConnection tests whether a given connection, now encrypted,
|
|
@@ -67,7 +67,7 @@ export interface ConnectionGater {
|
|
|
67
67
|
*
|
|
68
68
|
* Return true to deny the passed secured connection.
|
|
69
69
|
*/
|
|
70
|
-
denyOutboundEncryptedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean>
|
|
70
|
+
denyOutboundEncryptedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean> | boolean
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* denyInboundUpgradedConnection tests whether a fully capable connection is allowed.
|
|
@@ -77,7 +77,7 @@ export interface ConnectionGater {
|
|
|
77
77
|
*
|
|
78
78
|
* Return true to deny the passed upgraded connection.
|
|
79
79
|
*/
|
|
80
|
-
denyInboundUpgradedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean>
|
|
80
|
+
denyInboundUpgradedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean> | boolean
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* denyOutboundUpgradedConnection tests whether a fully capable connection is allowed.
|
|
@@ -87,7 +87,7 @@ export interface ConnectionGater {
|
|
|
87
87
|
*
|
|
88
88
|
* Return true to deny the passed upgraded connection.
|
|
89
89
|
*/
|
|
90
|
-
denyOutboundUpgradedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean>
|
|
90
|
+
denyOutboundUpgradedConnection?(peerId: PeerId, maConn: MultiaddrConnection): Promise<boolean> | boolean
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* denyInboundRelayReservation tests whether a remote peer is allowed make a
|
|
@@ -95,7 +95,7 @@ export interface ConnectionGater {
|
|
|
95
95
|
*
|
|
96
96
|
* Return true to deny the relay reservation.
|
|
97
97
|
*/
|
|
98
|
-
denyInboundRelayReservation?(source: PeerId): Promise<boolean>
|
|
98
|
+
denyInboundRelayReservation?(source: PeerId): Promise<boolean> | boolean
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
101
|
* denyOutboundRelayedConnection tests whether a remote peer is allowed to open a relayed
|
|
@@ -106,7 +106,7 @@ export interface ConnectionGater {
|
|
|
106
106
|
*
|
|
107
107
|
* Return true to deny the relayed connection.
|
|
108
108
|
*/
|
|
109
|
-
denyOutboundRelayedConnection?(source: PeerId, destination: PeerId): Promise<boolean>
|
|
109
|
+
denyOutboundRelayedConnection?(source: PeerId, destination: PeerId): Promise<boolean> | boolean
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
112
|
* denyInboundRelayedConnection tests whether a remote peer is allowed to open a relayed
|
|
@@ -117,12 +117,12 @@ export interface ConnectionGater {
|
|
|
117
117
|
*
|
|
118
118
|
* Return true to deny the relayed connection.
|
|
119
119
|
*/
|
|
120
|
-
denyInboundRelayedConnection?(relay: PeerId, remotePeer: PeerId): Promise<boolean>
|
|
120
|
+
denyInboundRelayedConnection?(relay: PeerId, remotePeer: PeerId): Promise<boolean> | boolean
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* Used by the address book to filter passed addresses.
|
|
124
124
|
*
|
|
125
125
|
* Return true to allow storing the passed multiaddr for the passed peer.
|
|
126
126
|
*/
|
|
127
|
-
filterMultiaddrForPeer?(peer: PeerId, multiaddr: Multiaddr): Promise<boolean>
|
|
127
|
+
filterMultiaddrForPeer?(peer: PeerId, multiaddr: Multiaddr): Promise<boolean> | boolean
|
|
128
128
|
}
|
package/src/index.ts
CHANGED
|
@@ -684,15 +684,6 @@ export interface LoggerOptions {
|
|
|
684
684
|
log: Logger
|
|
685
685
|
}
|
|
686
686
|
|
|
687
|
-
/**
|
|
688
|
-
* Returns a new type with all fields marked optional.
|
|
689
|
-
*
|
|
690
|
-
* Borrowed from the tsdef module.
|
|
691
|
-
*/
|
|
692
|
-
export type RecursivePartial<T> = {
|
|
693
|
-
[P in keyof T]?: T[P] extends Array<infer I> ? Array<RecursivePartial<I>> : T[P] extends (...args: any[]) => any ? T[P] : RecursivePartial<T[P]>
|
|
694
|
-
}
|
|
695
|
-
|
|
696
687
|
/**
|
|
697
688
|
* When a routing operation involves reading values, these options allow
|
|
698
689
|
* controlling where the values are read from. By default libp2p will check
|
package/dist/typedoc-urls.json
DELETED
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"KeyTypes": "https://libp2p.github.io/js-libp2p/types/_libp2p_crypto.keys.KeyTypes.html",
|
|
3
|
-
"FaultTolerance": "https://libp2p.github.io/js-libp2p/enums/_libp2p_interface.FaultTolerance.html",
|
|
4
|
-
"TopicValidatorResult": "https://libp2p.github.io/js-libp2p/enums/_libp2p_interface.TopicValidatorResult.html",
|
|
5
|
-
"AbortError": "https://libp2p.github.io/js-libp2p/classes/_libp2p_interface.AbortError.html",
|
|
6
|
-
"AggregateCodeError": "https://libp2p.github.io/js-libp2p/classes/_libp2p_interface.AggregateCodeError.html",
|
|
7
|
-
"CodeError": "https://libp2p.github.io/js-libp2p/classes/_libp2p_interface.CodeError.html",
|
|
8
|
-
"InvalidCryptoExchangeError": "https://libp2p.github.io/js-libp2p/classes/_libp2p_interface.InvalidCryptoExchangeError.html",
|
|
9
|
-
"InvalidCryptoTransmissionError": "https://libp2p.github.io/js-libp2p/classes/_libp2p_interface.InvalidCryptoTransmissionError.html",
|
|
10
|
-
"TypedEventEmitter": "https://libp2p.github.io/js-libp2p/classes/_libp2p_interface.TypedEventEmitter.html",
|
|
11
|
-
"UnexpectedPeerError": "https://libp2p.github.io/js-libp2p/classes/_libp2p_interface.UnexpectedPeerError.html",
|
|
12
|
-
"AbortOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.AbortOptions.html",
|
|
13
|
-
".:AbortOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.AbortOptions.html",
|
|
14
|
-
"Address": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Address.html",
|
|
15
|
-
"AddressSorter": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.AddressSorter.html",
|
|
16
|
-
".:AddressSorter": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.AddressSorter.html",
|
|
17
|
-
"CalculatedMetricOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.CalculatedMetricOptions.html",
|
|
18
|
-
"ComponentLogger": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.ComponentLogger.html",
|
|
19
|
-
".:ComponentLogger": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.ComponentLogger.html",
|
|
20
|
-
"Connection": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Connection.html",
|
|
21
|
-
"ConnectionEncrypter": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.ConnectionEncrypter.html",
|
|
22
|
-
"ConnectionGater": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.ConnectionGater.html",
|
|
23
|
-
"ConnectionHandler": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.ConnectionHandler.html",
|
|
24
|
-
"ConnectionProtector": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.ConnectionProtector.html",
|
|
25
|
-
"ConnectionTimeline": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.ConnectionTimeline.html",
|
|
26
|
-
"ContentRouting": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.ContentRouting.html",
|
|
27
|
-
"ContentRoutingProvider": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.ContentRoutingProvider.html",
|
|
28
|
-
"Counter": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Counter.html",
|
|
29
|
-
"CounterGroup": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.CounterGroup.html",
|
|
30
|
-
"CreateListenerOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.CreateListenerOptions.html",
|
|
31
|
-
"DialOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.DialOptions.html",
|
|
32
|
-
"Ed25519PeerId": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Ed25519PeerId.html",
|
|
33
|
-
"Envelope": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Envelope.html",
|
|
34
|
-
"EventCallback": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.EventCallback.html",
|
|
35
|
-
"EventObject": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.EventObject.html",
|
|
36
|
-
"IdentifyResult": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.IdentifyResult.html",
|
|
37
|
-
".:IdentifyResult": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.IdentifyResult.html",
|
|
38
|
-
"IncomingStreamData": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.IncomingStreamData.html",
|
|
39
|
-
"IsDialableOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.IsDialableOptions.html",
|
|
40
|
-
".:IsDialableOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.IsDialableOptions.html",
|
|
41
|
-
"Libp2p": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Libp2p.html",
|
|
42
|
-
".:Libp2p": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.Libp2p.html",
|
|
43
|
-
"Libp2pEvents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Libp2pEvents.html",
|
|
44
|
-
".:Libp2pEvents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Libp2pEvents.html",
|
|
45
|
-
"Listener": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Listener.html",
|
|
46
|
-
"ListenerEvents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.ListenerEvents.html",
|
|
47
|
-
"Logger": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Logger.html",
|
|
48
|
-
".:Logger": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Logger.html",
|
|
49
|
-
"LoggerOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.LoggerOptions.html",
|
|
50
|
-
".:LoggerOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.LoggerOptions.html",
|
|
51
|
-
"Metric": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Metric.html",
|
|
52
|
-
"MetricGroup": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.MetricGroup.html",
|
|
53
|
-
"MetricOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.MetricOptions.html",
|
|
54
|
-
"Metrics": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Metrics.html",
|
|
55
|
-
"MultiaddrConnection": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.MultiaddrConnection.html",
|
|
56
|
-
"MultiaddrConnectionTimeline": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.MultiaddrConnectionTimeline.html",
|
|
57
|
-
"MultiaddrFilter": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.MultiaddrFilter.html",
|
|
58
|
-
"NewStreamOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.NewStreamOptions.html",
|
|
59
|
-
"NodeInfo": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.NodeInfo.html",
|
|
60
|
-
".:NodeInfo": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.NodeInfo.html",
|
|
61
|
-
"Peer": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Peer.html",
|
|
62
|
-
"PeerData": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerData.html",
|
|
63
|
-
"PeerDiscovery": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerDiscovery.html",
|
|
64
|
-
"PeerDiscoveryEvents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerDiscoveryEvents.html",
|
|
65
|
-
"PeerDiscoveryProvider": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerDiscoveryProvider.html",
|
|
66
|
-
"PeerId": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerId.html",
|
|
67
|
-
"PeerInfo": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerInfo.html",
|
|
68
|
-
"PeerQuery": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerQuery.html",
|
|
69
|
-
"PeerQueryFilter": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerQueryFilter.html",
|
|
70
|
-
"PeerQueryOrder": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerQueryOrder.html",
|
|
71
|
-
"PeerRouting": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerRouting.html",
|
|
72
|
-
"PeerRoutingProvider": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerRoutingProvider.html",
|
|
73
|
-
"PeerStore": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerStore.html",
|
|
74
|
-
"PeerStreamEvents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerStreamEvents.html",
|
|
75
|
-
"PeerStreams": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerStreams.html",
|
|
76
|
-
"PeerUpdate": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerUpdate.html",
|
|
77
|
-
".:PeerUpdate": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PeerUpdate.html",
|
|
78
|
-
"PendingDial": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PendingDial.html",
|
|
79
|
-
".:PendingDial": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PendingDial.html",
|
|
80
|
-
"PrivateKey": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PrivateKey.html",
|
|
81
|
-
"PubSub": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PubSub.html",
|
|
82
|
-
"PubSubEvents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PubSubEvents.html",
|
|
83
|
-
"PubSubInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PubSubInit.html",
|
|
84
|
-
"PubSubRPC": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PubSubRPC.html",
|
|
85
|
-
"PubSubRPCMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PubSubRPCMessage.html",
|
|
86
|
-
"PubSubRPCSubscription": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PubSubRPCSubscription.html",
|
|
87
|
-
"PublicKey": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PublicKey.html",
|
|
88
|
-
"PublishResult": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.PublishResult.html",
|
|
89
|
-
"RSAPeerId": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.RSAPeerId.html",
|
|
90
|
-
"Record": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Record.html",
|
|
91
|
-
"RoutingOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.RoutingOptions.html",
|
|
92
|
-
".:RoutingOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.RoutingOptions.html",
|
|
93
|
-
"Secp256k1PeerId": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Secp256k1PeerId.html",
|
|
94
|
-
"SecuredConnection": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.SecuredConnection.html",
|
|
95
|
-
"SignedMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.SignedMessage.html",
|
|
96
|
-
"SignedPeerRecord": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.SignedPeerRecord.html",
|
|
97
|
-
".:SignedPeerRecord": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.SignedPeerRecord.html",
|
|
98
|
-
"Startable": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Startable.html",
|
|
99
|
-
"StopTimer": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.StopTimer.html",
|
|
100
|
-
"Stream": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Stream.html",
|
|
101
|
-
"StreamHandler": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.StreamHandler.html",
|
|
102
|
-
"StreamHandlerOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.StreamHandlerOptions.html",
|
|
103
|
-
"StreamHandlerRecord": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.StreamHandlerRecord.html",
|
|
104
|
-
"StreamMuxer": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.StreamMuxer.html",
|
|
105
|
-
"StreamMuxerFactory": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.StreamMuxerFactory.html",
|
|
106
|
-
"StreamMuxerInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.StreamMuxerInit.html",
|
|
107
|
-
"StreamTimeline": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.StreamTimeline.html",
|
|
108
|
-
"SubscriptionChangeData": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.SubscriptionChangeData.html",
|
|
109
|
-
"Tag": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Tag.html",
|
|
110
|
-
"TagOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.TagOptions.html",
|
|
111
|
-
"TopicValidatorFn": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.TopicValidatorFn.html",
|
|
112
|
-
"Topology": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Topology.html",
|
|
113
|
-
"TopologyFilter": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.TopologyFilter.html",
|
|
114
|
-
"Transport": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Transport.html",
|
|
115
|
-
"TypedEventTarget": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.TypedEventTarget.html",
|
|
116
|
-
"UnsignedMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.UnsignedMessage.html",
|
|
117
|
-
"Upgrader": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.Upgrader.html",
|
|
118
|
-
"UpgraderOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface.UpgraderOptions.html",
|
|
119
|
-
"CalculateMetric": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.CalculateMetric.html",
|
|
120
|
-
"ConnectionStatus": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.ConnectionStatus.html",
|
|
121
|
-
"Direction": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.Direction.html",
|
|
122
|
-
"EventHandler": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.EventHandler.html",
|
|
123
|
-
"KeyType": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.KeyType.html",
|
|
124
|
-
"Libp2pStatus": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.Libp2pStatus.html",
|
|
125
|
-
".:Libp2pStatus": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.Libp2pStatus.html",
|
|
126
|
-
"Message": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.Message.html",
|
|
127
|
-
"PeerIdType": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.PeerIdType.html",
|
|
128
|
-
"PendingDialStatus": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.PendingDialStatus.html",
|
|
129
|
-
".:PendingDialStatus": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.PendingDialStatus.html",
|
|
130
|
-
"ReadStatus": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.ReadStatus.html",
|
|
131
|
-
"RecursivePartial": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.RecursivePartial.html",
|
|
132
|
-
".:RecursivePartial": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.RecursivePartial.html",
|
|
133
|
-
"ServiceMap": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.ServiceMap.html",
|
|
134
|
-
".:ServiceMap": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.ServiceMap.html",
|
|
135
|
-
"SignaturePolicy": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.SignaturePolicy.html",
|
|
136
|
-
"StreamStatus": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.StreamStatus.html",
|
|
137
|
-
"WriteStatus": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface.WriteStatus.html",
|
|
138
|
-
"CustomEvent": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.CustomEvent.html",
|
|
139
|
-
"ERR_INVALID_MESSAGE": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.ERR_INVALID_MESSAGE.html",
|
|
140
|
-
"ERR_INVALID_PARAMETERS": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.ERR_INVALID_PARAMETERS.html",
|
|
141
|
-
"ERR_NOT_FOUND": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.ERR_NOT_FOUND.html",
|
|
142
|
-
"ERR_TIMEOUT": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.ERR_TIMEOUT.html",
|
|
143
|
-
"Ed25519": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.Ed25519.html",
|
|
144
|
-
"KEEP_ALIVE": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.KEEP_ALIVE.html",
|
|
145
|
-
"RSA": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.RSA.html",
|
|
146
|
-
"StrictNoSign": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.StrictNoSign.html",
|
|
147
|
-
"StrictSign": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.StrictSign.html",
|
|
148
|
-
"connectionSymbol": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.connectionSymbol.html",
|
|
149
|
-
"contentRoutingSymbol": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.contentRoutingSymbol.html",
|
|
150
|
-
"peerDiscoverySymbol": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.peerDiscoverySymbol.html",
|
|
151
|
-
"peerIdSymbol": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.peerIdSymbol.html",
|
|
152
|
-
"peerRoutingSymbol": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.peerRoutingSymbol.html",
|
|
153
|
-
"secp256k1": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.secp256k1.html",
|
|
154
|
-
"transportSymbol": "https://libp2p.github.io/js-libp2p/variables/_libp2p_interface.transportSymbol.html",
|
|
155
|
-
"isConnection": "https://libp2p.github.io/js-libp2p/functions/_libp2p_interface.isConnection.html",
|
|
156
|
-
"isPeerId": "https://libp2p.github.io/js-libp2p/functions/_libp2p_interface.isPeerId.html",
|
|
157
|
-
"isStartable": "https://libp2p.github.io/js-libp2p/functions/_libp2p_interface.isStartable.html",
|
|
158
|
-
"isTransport": "https://libp2p.github.io/js-libp2p/functions/_libp2p_interface.isTransport.html",
|
|
159
|
-
"setMaxListeners": "https://libp2p.github.io/js-libp2p/functions/_libp2p_interface.setMaxListeners.html",
|
|
160
|
-
"start": "https://libp2p.github.io/js-libp2p/functions/_libp2p_interface.start.html",
|
|
161
|
-
"stop": "https://libp2p.github.io/js-libp2p/functions/_libp2p_interface.stop.html"
|
|
162
|
-
}
|