libp2p 3.1.6 → 3.1.7-2a3e54738

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.
Files changed (42) hide show
  1. package/README.md +1 -1
  2. package/dist/index.min.js +12 -12
  3. package/dist/index.min.js.map +4 -4
  4. package/dist/src/connection-manager/constants.browser.d.ts +2 -2
  5. package/dist/src/connection-manager/constants.browser.js +2 -2
  6. package/dist/src/connection-manager/constants.d.ts +2 -2
  7. package/dist/src/connection-manager/constants.defaults.d.ts +11 -10
  8. package/dist/src/connection-manager/constants.defaults.d.ts.map +1 -1
  9. package/dist/src/connection-manager/constants.defaults.js +11 -10
  10. package/dist/src/connection-manager/constants.defaults.js.map +1 -1
  11. package/dist/src/connection-manager/constants.js +2 -2
  12. package/dist/src/connection-manager/dial-queue.d.ts +2 -2
  13. package/dist/src/connection-manager/dial-queue.d.ts.map +1 -1
  14. package/dist/src/connection-manager/dial-queue.js +1 -1
  15. package/dist/src/connection-manager/dial-queue.js.map +1 -1
  16. package/dist/src/connection-manager/index.d.ts +3 -3
  17. package/dist/src/connection-manager/index.d.ts.map +1 -1
  18. package/dist/src/connection-manager/index.js.map +1 -1
  19. package/dist/src/connection-manager/utils.d.ts.map +1 -1
  20. package/dist/src/connection-manager/utils.js +5 -0
  21. package/dist/src/connection-manager/utils.js.map +1 -1
  22. package/dist/src/get-peer.d.ts +2 -2
  23. package/dist/src/get-peer.d.ts.map +1 -1
  24. package/dist/src/get-peer.js.map +1 -1
  25. package/dist/src/libp2p.d.ts +3 -3
  26. package/dist/src/libp2p.d.ts.map +1 -1
  27. package/dist/src/libp2p.js.map +1 -1
  28. package/dist/src/version.d.ts +1 -1
  29. package/dist/src/version.d.ts.map +1 -1
  30. package/dist/src/version.js +1 -1
  31. package/dist/src/version.js.map +1 -1
  32. package/package.json +10 -10
  33. package/src/connection-manager/constants.browser.ts +2 -2
  34. package/src/connection-manager/constants.defaults.ts +11 -10
  35. package/src/connection-manager/constants.ts +2 -2
  36. package/src/connection-manager/dial-queue.ts +3 -3
  37. package/src/connection-manager/index.ts +3 -3
  38. package/src/connection-manager/utils.ts +5 -0
  39. package/src/get-peer.ts +2 -2
  40. package/src/libp2p.ts +3 -3
  41. package/src/version.ts +1 -1
  42. package/dist/typedoc-urls.json +0 -24
@@ -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.1.6';
1
+ export const version = '3.1.7-2a3e54738';
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.1.6",
3
+ "version": "3.1.7-2a3e54738",
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",
@@ -80,15 +80,15 @@
80
80
  "dependencies": {
81
81
  "@chainsafe/is-ip": "^2.1.0",
82
82
  "@chainsafe/netmask": "^2.0.0",
83
- "@libp2p/crypto": "^5.1.13",
84
- "@libp2p/interface": "^3.1.0",
85
- "@libp2p/interface-internal": "^3.0.13",
86
- "@libp2p/logger": "^6.2.2",
87
- "@libp2p/multistream-select": "^7.0.13",
88
- "@libp2p/peer-collections": "^7.0.13",
89
- "@libp2p/peer-id": "^6.0.4",
90
- "@libp2p/peer-store": "^12.0.13",
91
- "@libp2p/utils": "^7.0.13",
83
+ "@libp2p/crypto": "5.1.14-2a3e54738",
84
+ "@libp2p/interface": "3.1.1-2a3e54738",
85
+ "@libp2p/interface-internal": "3.0.14-2a3e54738",
86
+ "@libp2p/logger": "6.2.3-2a3e54738",
87
+ "@libp2p/multistream-select": "7.0.14-2a3e54738",
88
+ "@libp2p/peer-collections": "7.0.14-2a3e54738",
89
+ "@libp2p/peer-id": "6.0.5-2a3e54738",
90
+ "@libp2p/peer-store": "12.0.14-2a3e54738",
91
+ "@libp2p/utils": "7.0.14-2a3e54738",
92
92
  "@multiformats/dns": "^1.0.6",
93
93
  "@multiformats/multiaddr": "^13.0.1",
94
94
  "@multiformats/multiaddr-matcher": "^3.0.1",
@@ -1,11 +1,11 @@
1
1
  export * from './constants.defaults.js'
2
2
 
3
3
  /**
4
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#maxConnections
4
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#maxConnections
5
5
  */
6
6
  export const MAX_CONNECTIONS = 100
7
7
 
8
8
  /**
9
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#maxParallelDials
9
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#maxParallelDials
10
10
  */
11
11
  export const MAX_PARALLEL_DIALS = 50
@@ -1,40 +1,41 @@
1
1
  /**
2
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#dialTimeout
2
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#dialTimeout
3
3
  */
4
4
  export const DIAL_TIMEOUT = 10_000
5
5
 
6
6
  /**
7
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#connectionCloseTimeout
7
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#connectionCloseTimeout
8
8
  */
9
9
  export const CONNECTION_CLOSE_TIMEOUT = 1_000
10
10
 
11
11
  /**
12
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#inboundUpgradeTimeout
12
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#inboundUpgradeTimeout
13
13
  */
14
14
  export const INBOUND_UPGRADE_TIMEOUT = 10_000
15
15
 
16
16
  /**
17
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#protocolNegotiationTimeout
17
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#inboundStreamProtocolNegotiationTimeout
18
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#outboundStreamProtocolNegotiationTimeout
18
19
  */
19
20
  export const PROTOCOL_NEGOTIATION_TIMEOUT = 10_000
20
21
 
21
22
  /**
22
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#maxPeerAddrsToDial
23
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#maxPeerAddrsToDial
23
24
  */
24
25
  export const MAX_PEER_ADDRS_TO_DIAL = 25
25
26
 
26
27
  /**
27
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#inboundConnectionThreshold
28
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#inboundConnectionThreshold
28
29
  */
29
30
  export const INBOUND_CONNECTION_THRESHOLD = 5
30
31
 
31
32
  /**
32
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#maxIncomingPendingConnections
33
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#maxIncomingPendingConnections
33
34
  */
34
35
  export const MAX_INCOMING_PENDING_CONNECTIONS = 10
35
36
 
36
37
  /**
37
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#maxParallelReconnects
38
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#maxParallelReconnects
38
39
  */
39
40
  export const MAX_PARALLEL_RECONNECTS = 5
40
41
 
@@ -56,11 +57,11 @@ export const LAST_DIAL_FAILURE_KEY = 'last-dial-failure'
56
57
  export const LAST_DIAL_SUCCESS_KEY = 'last-dial-success'
57
58
 
58
59
  /**
59
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#maxDialQueueLength
60
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#maxDialQueueLength
60
61
  */
61
62
  export const MAX_DIAL_QUEUE_LENGTH = 500
62
63
 
63
64
  /**
64
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#maxRecursiveDepth
65
+ * @see https://github.com/libp2p/js-libp2p/blob/main/packages/libp2p/src/connection-manager/resolvers/index.ts
65
66
  */
66
67
  export const MAX_RECURSIVE_DEPTH = 32
@@ -1,11 +1,11 @@
1
1
  export * from './constants.defaults.js'
2
2
 
3
3
  /**
4
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#maxConnections
4
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#maxConnections
5
5
  */
6
6
  export const MAX_CONNECTIONS = 300
7
7
 
8
8
  /**
9
- * @see https://libp2p.github.io/js-libp2p/interfaces/index._internal_.ConnectionManagerConfig.html#maxParallelDials
9
+ * @see https://libp2p.github.io/js-libp2p/interfaces/libp2p.index.ConnectionManagerInit.html#maxParallelDials
10
10
  */
11
11
  export const MAX_PARALLEL_DIALS = 100
@@ -22,7 +22,7 @@ import {
22
22
  import { resolveMultiaddr, dnsaddrResolver } from './resolvers/index.js'
23
23
  import { findExistingConnection } from './utils.ts'
24
24
  import { DEFAULT_DIAL_PRIORITY } from './index.js'
25
- import type { AddressSorter, ComponentLogger, Logger, Connection, ConnectionGater, Metrics, PeerId, Address, PeerStore, PeerRouting, IsDialableOptions, OpenConnectionProgressEvents, MultiaddrResolver } from '@libp2p/interface'
25
+ import type { AddressSorter, ComponentLogger, Logger, Connection, ConnectionGater, Metrics, PeerId, Address, PeerStore, PeerRouting, IsDialableOptions, OpenConnectionProgressEvents, MultiaddrResolver, DialTarget } from '@libp2p/interface'
26
26
  import type { OpenConnectionOptions, TransportManager } from '@libp2p/interface-internal'
27
27
  import type { PriorityQueueJobOptions } from '@libp2p/utils'
28
28
  import type { DNS } from '@multiformats/dns'
@@ -134,7 +134,7 @@ export class DialQueue {
134
134
  * The dial to the first address that is successfully able to upgrade a
135
135
  * connection will be used, all other dials will be aborted when that happens.
136
136
  */
137
- async dial (peerIdOrMultiaddr: PeerId | Multiaddr | Multiaddr[], options: OpenConnectionOptions = {}): Promise<Connection> {
137
+ async dial (peerIdOrMultiaddr: DialTarget, options: OpenConnectionOptions = {}): Promise<Connection> {
138
138
  const { peerId, multiaddrs } = getPeerAddress(peerIdOrMultiaddr)
139
139
 
140
140
  if (peerId != null && options.force !== true) {
@@ -142,7 +142,7 @@ export class DialQueue {
142
142
 
143
143
  if (existingConnection != null) {
144
144
  this.log('already connected to %a', existingConnection.remoteAddr)
145
- options.onProgress?.(new CustomProgressEvent('dial-queue:already-connected'))
145
+ options.onProgress?.(new CustomProgressEvent('dial-queue:already-connected', existingConnection))
146
146
  return existingConnection
147
147
  }
148
148
  }
@@ -12,7 +12,7 @@ import { ReconnectQueue } from './reconnect-queue.js'
12
12
  import { dnsaddrResolver } from './resolvers/index.ts'
13
13
  import { findExistingConnection, multiaddrToIpNet } from './utils.js'
14
14
  import type { IpNet } from '@chainsafe/netmask'
15
- import type { PendingDial, AddressSorter, Libp2pEvents, AbortOptions, ComponentLogger, Logger, Connection, MultiaddrConnection, ConnectionGater, Metrics, PeerId, PeerStore, Startable, PendingDialStatus, PeerRouting, IsDialableOptions, MultiaddrResolver, Stream, NewStreamOptions } from '@libp2p/interface'
15
+ import type { PendingDial, AddressSorter, Libp2pEvents, AbortOptions, ComponentLogger, Logger, Connection, MultiaddrConnection, ConnectionGater, Metrics, PeerId, PeerStore, Startable, PendingDialStatus, PeerRouting, IsDialableOptions, MultiaddrResolver, Stream, NewStreamOptions, DialTarget } from '@libp2p/interface'
16
16
  import type { ConnectionManager, OpenConnectionOptions, TransportManager } from '@libp2p/interface-internal'
17
17
  import type { JobStatus } from '@libp2p/utils'
18
18
  import type { Multiaddr } from '@multiformats/multiaddr'
@@ -523,7 +523,7 @@ export class DefaultConnectionManager implements ConnectionManager, Startable {
523
523
  return this.connections
524
524
  }
525
525
 
526
- async openConnection (peerIdOrMultiaddr: PeerId | Multiaddr | Multiaddr[], options: OpenConnectionOptions = {}): Promise<Connection> {
526
+ async openConnection (peerIdOrMultiaddr: DialTarget, options: OpenConnectionOptions = {}): Promise<Connection> {
527
527
  if (!this.started) {
528
528
  throw new NotStartedError('Not started')
529
529
  }
@@ -596,7 +596,7 @@ export class DefaultConnectionManager implements ConnectionManager, Startable {
596
596
  }
597
597
  }
598
598
 
599
- async openStream (peerIdOrMultiaddr: PeerId | Multiaddr | Multiaddr[], protocol: string | string[], options: OpenConnectionOptions & NewStreamOptions = {}): Promise<Stream> {
599
+ async openStream (peerIdOrMultiaddr: DialTarget, protocol: string | string[], options: OpenConnectionOptions & NewStreamOptions = {}): Promise<Stream> {
600
600
  const connection = await this.openConnection(peerIdOrMultiaddr, options)
601
601
 
602
602
  return connection.newStream(protocol, options)
@@ -116,6 +116,11 @@ export function findExistingConnection (peerId?: PeerId, connections?: Connectio
116
116
  }
117
117
 
118
118
  const existingConnection = connections
119
+ // only consider connections that are still open - a closing/closed
120
+ // connection may still appear in the connection list if the 'close' event
121
+ // hasn't been processed yet (e.g. TCP FIN received at OS level but the JS
122
+ // event hasn't fired in this tick)
123
+ .filter(con => con.status === 'open')
119
124
  .sort((a, b) => {
120
125
  if (a.direct) {
121
126
  return -1
package/src/get-peer.ts CHANGED
@@ -2,7 +2,7 @@ import { InvalidMultiaddrError, InvalidParametersError, isPeerId } from '@libp2p
2
2
  import { peerIdFromString } from '@libp2p/peer-id'
3
3
  import { CODE_P2P, isMultiaddr } from '@multiformats/multiaddr'
4
4
  import { PEER_ID } from '@multiformats/multiaddr-matcher'
5
- import type { PeerId } from '@libp2p/interface'
5
+ import type { DialTarget, PeerId } from '@libp2p/interface'
6
6
  import type { Multiaddr } from '@multiformats/multiaddr'
7
7
 
8
8
  export interface PeerAddress {
@@ -14,7 +14,7 @@ export interface PeerAddress {
14
14
  * Extracts a PeerId and/or multiaddr from the passed PeerId or Multiaddr or an
15
15
  * array of Multiaddrs
16
16
  */
17
- export function getPeerAddress (peer: PeerId | Multiaddr | Multiaddr[]): PeerAddress {
17
+ export function getPeerAddress (peer: DialTarget): PeerAddress {
18
18
  if (isPeerId(peer)) {
19
19
  return { peerId: peer, multiaddrs: [] }
20
20
  }
package/src/libp2p.ts CHANGED
@@ -24,7 +24,7 @@ import { userAgent } from './user-agent.js'
24
24
  import * as pkg from './version.js'
25
25
  import type { Components } from './components.js'
26
26
  import type { Libp2p as Libp2pInterface, Libp2pInit } from './index.js'
27
- import type { PeerRouting, ContentRouting, Libp2pEvents, PendingDial, ServiceMap, AbortOptions, ComponentLogger, Logger, Connection, NewStreamOptions, Stream, Metrics, PeerId, PeerInfo, PeerStore, Topology, Libp2pStatus, IsDialableOptions, DialOptions, PublicKey, Ed25519PeerId, Secp256k1PeerId, RSAPublicKey, RSAPeerId, URLPeerId, Ed25519PublicKey, Secp256k1PublicKey, StreamHandler, StreamHandlerOptions, StreamMiddleware } from '@libp2p/interface'
27
+ import type { PeerRouting, ContentRouting, Libp2pEvents, PendingDial, ServiceMap, AbortOptions, ComponentLogger, Logger, Connection, NewStreamOptions, Stream, Metrics, PeerId, PeerInfo, PeerStore, Topology, Libp2pStatus, IsDialableOptions, DialOptions, PublicKey, Ed25519PeerId, Secp256k1PeerId, RSAPublicKey, RSAPeerId, URLPeerId, Ed25519PublicKey, Secp256k1PublicKey, StreamHandler, StreamHandlerOptions, StreamMiddleware, DialTarget } from '@libp2p/interface'
28
28
  import type { Multiaddr } from '@multiformats/multiaddr'
29
29
 
30
30
  export class Libp2p<T extends ServiceMap = ServiceMap> extends TypedEventEmitter<Libp2pEvents> implements Libp2pInterface<T> {
@@ -286,7 +286,7 @@ export class Libp2p<T extends ServiceMap = ServiceMap> extends TypedEventEmitter
286
286
  return Array.from(peerSet)
287
287
  }
288
288
 
289
- async dial (peer: PeerId | Multiaddr | Multiaddr[], options: DialOptions = {}): Promise<Connection> {
289
+ async dial (peer: DialTarget, options: DialOptions = {}): Promise<Connection> {
290
290
  return this.components.connectionManager.openConnection(peer, {
291
291
  // ensure any userland dials take top priority in the queue
292
292
  priority: 75,
@@ -294,7 +294,7 @@ export class Libp2p<T extends ServiceMap = ServiceMap> extends TypedEventEmitter
294
294
  })
295
295
  }
296
296
 
297
- async dialProtocol (peer: PeerId | Multiaddr | Multiaddr[], protocols: string | string[], options: NewStreamOptions = {}): Promise<Stream> {
297
+ async dialProtocol (peer: DialTarget, protocols: string | string[], options: NewStreamOptions = {}): Promise<Stream> {
298
298
  if (protocols == null) {
299
299
  throw new InvalidParametersError('no protocols were provided to open a stream')
300
300
  }
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
- export const version = '3.1.6'
1
+ export const version = '3.1.7-2a3e54738'
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
- }