libp2p 3.3.1 → 3.3.2-b7c6dc0f2
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/README.md +2 -2
- package/dist/index.min.js +15 -15
- package/dist/index.min.js.map +4 -4
- package/dist/src/connection-manager/dial-queue.js +2 -2
- package/dist/src/connection-manager/index.js +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.d.ts.map +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/version.js.map +1 -1
- package/package.json +12 -12
- package/src/connection-manager/dial-queue.ts +2 -2
- package/src/connection-manager/index.ts +1 -1
- package/src/version.ts +1 -1
- package/dist/typedoc-urls.json +0 -24
|
@@ -8,8 +8,8 @@ import { anySignal } from 'any-signal';
|
|
|
8
8
|
import { setMaxListeners } from 'main-event';
|
|
9
9
|
import { CustomProgressEvent } from 'progress-events';
|
|
10
10
|
import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string';
|
|
11
|
-
import { DialDeniedError, NoValidAddressesError } from
|
|
12
|
-
import { getPeerAddress } from
|
|
11
|
+
import { DialDeniedError, NoValidAddressesError } from "../errors.js";
|
|
12
|
+
import { getPeerAddress } from "../get-peer.js";
|
|
13
13
|
import { defaultAddressSorter } from "./address-sorter.js";
|
|
14
14
|
import { ADDRESS_DIAL_TIMEOUT, DIAL_TIMEOUT, MAX_PARALLEL_DIALS, MAX_PEER_ADDRS_TO_DIAL, LAST_DIAL_FAILURE_KEY, MAX_DIAL_QUEUE_LENGTH, LAST_DIAL_SUCCESS_KEY } from "./constants.js";
|
|
15
15
|
import { DEFAULT_DIAL_PRIORITY } from "./index.js";
|
|
@@ -4,7 +4,7 @@ import { getNetConfig, isNetworkAddress, RateLimiter } from '@libp2p/utils';
|
|
|
4
4
|
import { multiaddr } from '@multiformats/multiaddr';
|
|
5
5
|
import { pEvent } from 'p-event';
|
|
6
6
|
import { CustomProgressEvent } from 'progress-events';
|
|
7
|
-
import { getPeerAddress } from
|
|
7
|
+
import { getPeerAddress } from "../get-peer.js";
|
|
8
8
|
import { ConnectionPruner } from "./connection-pruner.js";
|
|
9
9
|
import { ADDRESS_DIAL_TIMEOUT, DIAL_TIMEOUT, INBOUND_CONNECTION_THRESHOLD, MAX_CONNECTIONS, MAX_DIAL_QUEUE_LENGTH, MAX_INCOMING_PENDING_CONNECTIONS, MAX_PARALLEL_DIALS, MAX_PEER_ADDRS_TO_DIAL } from "./constants.js";
|
|
10
10
|
import { DialQueue } from "./dial-queue.js";
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,oBAAoB,CAAA;AACxC,eAAO,MAAM,IAAI,cAAc,CAAA"}
|
package/dist/src/version.js
CHANGED
package/dist/src/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,iBAAiB,CAAA;AACxC,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "libp2p",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2-b7c6dc0f2",
|
|
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",
|
|
@@ -83,15 +83,15 @@
|
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@chainsafe/is-ip": "^2.1.0",
|
|
85
85
|
"@chainsafe/netmask": "^2.0.0",
|
|
86
|
-
"@libp2p/crypto": "
|
|
87
|
-
"@libp2p/interface": "
|
|
88
|
-
"@libp2p/interface-internal": "
|
|
89
|
-
"@libp2p/logger": "
|
|
90
|
-
"@libp2p/multistream-select": "
|
|
91
|
-
"@libp2p/peer-collections": "
|
|
92
|
-
"@libp2p/peer-id": "
|
|
93
|
-
"@libp2p/peer-store": "
|
|
94
|
-
"@libp2p/utils": "
|
|
86
|
+
"@libp2p/crypto": "5.1.18-b7c6dc0f2",
|
|
87
|
+
"@libp2p/interface": "3.2.2-b7c6dc0f2",
|
|
88
|
+
"@libp2p/interface-internal": "3.1.5-b7c6dc0f2",
|
|
89
|
+
"@libp2p/logger": "6.2.7-b7c6dc0f2",
|
|
90
|
+
"@libp2p/multistream-select": "7.0.20-b7c6dc0f2",
|
|
91
|
+
"@libp2p/peer-collections": "7.0.20-b7c6dc0f2",
|
|
92
|
+
"@libp2p/peer-id": "6.0.9-b7c6dc0f2",
|
|
93
|
+
"@libp2p/peer-store": "12.0.20-b7c6dc0f2",
|
|
94
|
+
"@libp2p/utils": "7.2.1-b7c6dc0f2",
|
|
95
95
|
"@multiformats/dns": "^1.0.6",
|
|
96
96
|
"@multiformats/multiaddr": "^13.0.1",
|
|
97
97
|
"@multiformats/multiaddr-matcher": "^3.0.1",
|
|
@@ -107,10 +107,10 @@
|
|
|
107
107
|
"p-retry": "^8.0.0",
|
|
108
108
|
"progress-events": "^1.1.0",
|
|
109
109
|
"race-signal": "^2.0.0",
|
|
110
|
-
"uint8arrays": "^
|
|
110
|
+
"uint8arrays": "^6.1.1"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
|
-
"aegir": "^
|
|
113
|
+
"aegir": "^48.0.11",
|
|
114
114
|
"delay": "^7.0.0",
|
|
115
115
|
"it-all": "^3.0.9",
|
|
116
116
|
"it-drain": "^3.0.10",
|
|
@@ -8,8 +8,8 @@ import { anySignal } from 'any-signal'
|
|
|
8
8
|
import { setMaxListeners } from 'main-event'
|
|
9
9
|
import { CustomProgressEvent } from 'progress-events'
|
|
10
10
|
import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
|
|
11
|
-
import { DialDeniedError, NoValidAddressesError } from '../errors.
|
|
12
|
-
import { getPeerAddress } from '../get-peer.
|
|
11
|
+
import { DialDeniedError, NoValidAddressesError } from '../errors.ts'
|
|
12
|
+
import { getPeerAddress } from '../get-peer.ts'
|
|
13
13
|
import { defaultAddressSorter } from './address-sorter.ts'
|
|
14
14
|
import {
|
|
15
15
|
ADDRESS_DIAL_TIMEOUT,
|
|
@@ -4,7 +4,7 @@ import { getNetConfig, isNetworkAddress, RateLimiter } from '@libp2p/utils'
|
|
|
4
4
|
import { multiaddr } from '@multiformats/multiaddr'
|
|
5
5
|
import { pEvent } from 'p-event'
|
|
6
6
|
import { CustomProgressEvent } from 'progress-events'
|
|
7
|
-
import { getPeerAddress } from '../get-peer.
|
|
7
|
+
import { getPeerAddress } from '../get-peer.ts'
|
|
8
8
|
import { ConnectionPruner } from './connection-pruner.ts'
|
|
9
9
|
import { ADDRESS_DIAL_TIMEOUT, DIAL_TIMEOUT, INBOUND_CONNECTION_THRESHOLD, MAX_CONNECTIONS, MAX_DIAL_QUEUE_LENGTH, MAX_INCOMING_PENDING_CONNECTIONS, MAX_PARALLEL_DIALS, MAX_PEER_ADDRS_TO_DIAL } from './constants.ts'
|
|
10
10
|
import { DialQueue } from './dial-queue.ts'
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '3.3.
|
|
1
|
+
export const version = '3.3.2-b7c6dc0f2'
|
|
2
2
|
export const name = 'js-libp2p'
|
package/dist/typedoc-urls.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"AddressFilter": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.AddressFilter.html",
|
|
3
|
-
"AddressManagerInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.AddressManagerInit.html",
|
|
4
|
-
"ConnectionManagerInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html",
|
|
5
|
-
"ConnectionMonitorInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionMonitorInit.html",
|
|
6
|
-
"Libp2pInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.Libp2pInit.html",
|
|
7
|
-
".:Libp2pInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.Libp2pInit.html",
|
|
8
|
-
"TransportManagerInit": "https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.TransportManagerInit.html",
|
|
9
|
-
"Libp2pOptions": "https://libp2p.github.io/js-libp2p/types/libp2p.index.Libp2pOptions.html",
|
|
10
|
-
".:Libp2pOptions": "https://libp2p.github.io/js-libp2p/types/libp2p.index.Libp2pOptions.html",
|
|
11
|
-
"ServiceFactoryMap": "https://libp2p.github.io/js-libp2p/types/libp2p.index.ServiceFactoryMap.html",
|
|
12
|
-
".:ServiceFactoryMap": "https://libp2p.github.io/js-libp2p/types/libp2p.index.ServiceFactoryMap.html",
|
|
13
|
-
"dnsaddrResolver": "https://libp2p.github.io/js-libp2p/variables/libp2p.index.dnsaddrResolver.html",
|
|
14
|
-
"createLibp2p": "https://libp2p.github.io/js-libp2p/functions/libp2p.index.createLibp2p.html",
|
|
15
|
-
".:createLibp2p": "https://libp2p.github.io/js-libp2p/functions/libp2p.index.createLibp2p.html",
|
|
16
|
-
"isLibp2p": "https://libp2p.github.io/js-libp2p/functions/libp2p.index.isLibp2p.html",
|
|
17
|
-
".:isLibp2p": "https://libp2p.github.io/js-libp2p/functions/libp2p.index.isLibp2p.html",
|
|
18
|
-
"userAgent": "https://libp2p.github.io/js-libp2p/functions/libp2p.user-agent.userAgent.html",
|
|
19
|
-
"./user-agent:userAgent": "https://libp2p.github.io/js-libp2p/functions/libp2p.user-agent.userAgent.html",
|
|
20
|
-
"name": "https://libp2p.github.io/js-libp2p/variables/libp2p.version.name.html",
|
|
21
|
-
"./version:name": "https://libp2p.github.io/js-libp2p/variables/libp2p.version.name.html",
|
|
22
|
-
"version": "https://libp2p.github.io/js-libp2p/variables/libp2p.version.version.html",
|
|
23
|
-
"./version:version": "https://libp2p.github.io/js-libp2p/variables/libp2p.version.version.html"
|
|
24
|
-
}
|