libp2p 2.8.0 → 2.8.1
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/index.min.js +6 -6
- package/dist/src/registrar.d.ts +2 -2
- package/dist/src/registrar.d.ts.map +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/package.json +8 -8
- package/src/registrar.ts +2 -2
- package/src/version.ts +1 -1
package/dist/src/registrar.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IdentifyResult, Libp2pEvents, PeerUpdate, TypedEventTarget, PeerId, PeerStore, Topology, StreamHandlerRecord, StreamHandlerOptions } from '@libp2p/interface';
|
|
2
|
-
import type { Registrar as RegistrarInterface
|
|
1
|
+
import type { IdentifyResult, Libp2pEvents, PeerUpdate, TypedEventTarget, PeerId, PeerStore, Topology, StreamHandler, StreamHandlerRecord, StreamHandlerOptions } from '@libp2p/interface';
|
|
2
|
+
import type { Registrar as RegistrarInterface } from '@libp2p/interface-internal';
|
|
3
3
|
import type { ComponentLogger } from '@libp2p/logger';
|
|
4
4
|
export declare const DEFAULT_MAX_INBOUND_STREAMS = 32;
|
|
5
5
|
export declare const DEFAULT_MAX_OUTBOUND_STREAMS = 64;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registrar.d.ts","sourceRoot":"","sources":["../../src/registrar.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAU,UAAU,EAAE,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"registrar.d.ts","sourceRoot":"","sources":["../../src/registrar.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAU,UAAU,EAAE,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,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,OAAO,CAAC,MAAM,CAAC;IAoBtE;;OAEG;IACH,UAAU,CAAE,EAAE,EAAE,MAAM,GAAG,IAAI;IAY7B;;OAEG;IACH,aAAa,CAAE,GAAG,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,IAAI;IAiC9C;;;OAGG;IACH,aAAa,CAAE,GAAG,EAAE,WAAW,CAAC,UAAU,CAAC,GAAG,IAAI;IAuBlD;;;OAGG;IACH,eAAe,CAAE,GAAG,EAAE,WAAW,CAAC,cAAc,CAAC,GAAG,IAAI;CA2BzD"}
|
package/dist/src/version.d.ts
CHANGED
package/dist/src/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "libp2p",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"description": "JavaScript implementation of libp2p, a modular peer to peer network stack",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/libp2p#readme",
|
|
@@ -94,13 +94,13 @@
|
|
|
94
94
|
"@chainsafe/netmask": "^2.0.0",
|
|
95
95
|
"@libp2p/crypto": "^5.0.15",
|
|
96
96
|
"@libp2p/interface": "^2.7.0",
|
|
97
|
-
"@libp2p/interface-internal": "^2.3.
|
|
98
|
-
"@libp2p/logger": "^5.1.
|
|
99
|
-
"@libp2p/multistream-select": "^6.0.
|
|
100
|
-
"@libp2p/peer-collections": "^6.0.
|
|
101
|
-
"@libp2p/peer-id": "^5.0
|
|
102
|
-
"@libp2p/peer-store": "^11.1.
|
|
103
|
-
"@libp2p/utils": "^6.5.
|
|
97
|
+
"@libp2p/interface-internal": "^2.3.8",
|
|
98
|
+
"@libp2p/logger": "^5.1.13",
|
|
99
|
+
"@libp2p/multistream-select": "^6.0.20",
|
|
100
|
+
"@libp2p/peer-collections": "^6.0.24",
|
|
101
|
+
"@libp2p/peer-id": "^5.1.0",
|
|
102
|
+
"@libp2p/peer-store": "^11.1.1",
|
|
103
|
+
"@libp2p/utils": "^6.5.8",
|
|
104
104
|
"@multiformats/dns": "^1.0.6",
|
|
105
105
|
"@multiformats/multiaddr": "^12.3.5",
|
|
106
106
|
"@multiformats/multiaddr-matcher": "^1.6.0",
|
package/src/registrar.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { InvalidParametersError } from '@libp2p/interface'
|
|
2
2
|
import merge from 'merge-options'
|
|
3
3
|
import * as errorsJs from './errors.js'
|
|
4
|
-
import type { IdentifyResult, Libp2pEvents, Logger, PeerUpdate, TypedEventTarget, PeerId, PeerStore, Topology, StreamHandlerRecord, StreamHandlerOptions } from '@libp2p/interface'
|
|
5
|
-
import type { Registrar as RegistrarInterface
|
|
4
|
+
import type { IdentifyResult, Libp2pEvents, Logger, PeerUpdate, TypedEventTarget, PeerId, PeerStore, Topology, StreamHandler, StreamHandlerRecord, StreamHandlerOptions } from '@libp2p/interface'
|
|
5
|
+
import type { Registrar as RegistrarInterface } from '@libp2p/interface-internal'
|
|
6
6
|
import type { ComponentLogger } from '@libp2p/logger'
|
|
7
7
|
|
|
8
8
|
export const DEFAULT_MAX_INBOUND_STREAMS = 32
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '2.8.
|
|
1
|
+
export const version = '2.8.1'
|
|
2
2
|
export const name = 'js-libp2p'
|