@libp2p/interface-internal 2.2.0 → 2.2.1-20d9ba73e
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.
|
@@ -43,6 +43,10 @@ export interface ConfirmAddressOptions {
|
|
|
43
43
|
* Override the TTL of the observed address verification
|
|
44
44
|
*/
|
|
45
45
|
ttl?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Allows hinting which type of address this is
|
|
48
|
+
*/
|
|
49
|
+
type?: AddressType;
|
|
46
50
|
}
|
|
47
51
|
export interface AddressManager {
|
|
48
52
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/address-manager/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAExD;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,aAAa,GAAG,YAAY,CAAA;AAE9F;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,SAAS,EAAE,SAAS,CAAA;IAEpB;;;;;;OAMG;IACH,QAAQ,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/address-manager/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAExD;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,aAAa,GAAG,YAAY,CAAA;A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,QAAQ,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,IAAI,CAAA;IAE7I;;OAEG;IACH,0BAA0B,CAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,IAAI,CAAA;CACjJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/interface-internal",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1-20d9ba73e",
|
|
4
4
|
"description": "Interfaces implemented by internal libp2p components",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/interface-internal#readme",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"build": "aegir build"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@libp2p/interface": "
|
|
52
|
-
"@libp2p/peer-collections": "
|
|
51
|
+
"@libp2p/interface": "2.3.0-20d9ba73e",
|
|
52
|
+
"@libp2p/peer-collections": "6.0.13-20d9ba73e",
|
|
53
53
|
"@multiformats/multiaddr": "^12.3.3",
|
|
54
54
|
"progress-events": "^1.0.1",
|
|
55
55
|
"uint8arraylist": "^2.4.8"
|
|
@@ -50,6 +50,11 @@ export interface ConfirmAddressOptions {
|
|
|
50
50
|
* Override the TTL of the observed address verification
|
|
51
51
|
*/
|
|
52
52
|
ttl?: number
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Allows hinting which type of address this is
|
|
56
|
+
*/
|
|
57
|
+
type?: AddressType
|
|
53
58
|
}
|
|
54
59
|
|
|
55
60
|
export interface AddressManager {
|
package/dist/typedoc-urls.json
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"AddressManager": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.AddressManager.html",
|
|
3
|
-
"ConfirmAddressOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.ConfirmAddressOptions.html",
|
|
4
|
-
"ConnectionManager": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.ConnectionManager.html",
|
|
5
|
-
"Envelope": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.Envelope.html",
|
|
6
|
-
"IncomingStreamData": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.IncomingStreamData.html",
|
|
7
|
-
"NodeAddress": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.NodeAddress.html",
|
|
8
|
-
"OpenConnectionOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.OpenConnectionOptions.html",
|
|
9
|
-
"RandomWalk": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.RandomWalk.html",
|
|
10
|
-
"Record": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.Record.html",
|
|
11
|
-
"Registrar": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.Registrar.html",
|
|
12
|
-
"StreamHandler": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.StreamHandler.html",
|
|
13
|
-
"StreamHandlerOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.StreamHandlerOptions.html",
|
|
14
|
-
"StreamHandlerRecord": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.StreamHandlerRecord.html",
|
|
15
|
-
"TransportManager": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.TransportManager.html",
|
|
16
|
-
"TransportManagerDialOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_interface_internal.TransportManagerDialOptions.html",
|
|
17
|
-
"AddressType": "https://libp2p.github.io/js-libp2p/types/_libp2p_interface_internal.AddressType.html"
|
|
18
|
-
}
|