libp2p 3.3.1 → 3.3.2-29797a5bb

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.
@@ -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.js';
12
- import { getPeerAddress } from '../get-peer.js';
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 '../get-peer.js';
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";
@@ -1,3 +1,3 @@
1
- export declare const version = "3.3.1";
1
+ export declare const version = "3.3.2-29797a5bb";
2
2
  export declare const name = "js-libp2p";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAA;AAC9B,eAAO,MAAM,IAAI,cAAc,CAAA"}
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"}
@@ -1,3 +1,3 @@
1
- export const version = '3.3.1';
1
+ export const version = '3.3.2-29797a5bb';
2
2
  export const name = 'js-libp2p';
3
3
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAA;AAC9B,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAA"}
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.1",
3
+ "version": "3.3.2-29797a5bb",
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": "^5.1.18",
87
- "@libp2p/interface": "^3.2.2",
88
- "@libp2p/interface-internal": "^3.1.5",
89
- "@libp2p/logger": "^6.2.7",
90
- "@libp2p/multistream-select": "^7.0.20",
91
- "@libp2p/peer-collections": "^7.0.20",
92
- "@libp2p/peer-id": "^6.0.9",
93
- "@libp2p/peer-store": "^12.0.20",
94
- "@libp2p/utils": "^7.2.1",
86
+ "@libp2p/crypto": "5.1.18-29797a5bb",
87
+ "@libp2p/interface": "3.2.2-29797a5bb",
88
+ "@libp2p/interface-internal": "3.1.5-29797a5bb",
89
+ "@libp2p/logger": "6.2.7-29797a5bb",
90
+ "@libp2p/multistream-select": "7.0.20-29797a5bb",
91
+ "@libp2p/peer-collections": "7.0.20-29797a5bb",
92
+ "@libp2p/peer-id": "6.0.9-29797a5bb",
93
+ "@libp2p/peer-store": "12.0.20-29797a5bb",
94
+ "@libp2p/utils": "7.2.1-29797a5bb",
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": "^5.1.0"
110
+ "uint8arrays": "^6.1.1"
111
111
  },
112
112
  "devDependencies": {
113
- "aegir": "^47.0.22",
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.js'
12
- import { getPeerAddress } from '../get-peer.js'
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.js'
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'
1
+ export const version = '3.3.2-29797a5bb'
2
2
  export const name = 'js-libp2p'
@@ -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
- }