@libp2p/bootstrap
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -1,2 +0,2 @@ | ||
import { Multiaddr } from '@multiformats/multiaddr'; | ||
import { multiaddr } from '@multiformats/multiaddr'; | ||
import { P2P } from '@multiformats/mafmt'; | ||
@@ -24,3 +24,3 @@ import { CustomEvent, EventEmitter } from '@libp2p/interfaces/events'; | ||
} | ||
const ma = new Multiaddr(candidate); | ||
const ma = multiaddr(candidate); | ||
const peerIdStr = ma.getPeerId(); | ||
@@ -27,0 +27,0 @@ if (peerIdStr == null) { |
{ | ||
"name": "@libp2p/bootstrap", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Node.js IPFS Implementation of the railing process of a Node through a bootstrap peer list", | ||
@@ -68,11 +68,11 @@ "license": "Apache-2.0 OR MIT", | ||
{ | ||
"type": "chore", | ||
"type": "docs", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "docs", | ||
"type": "test", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "test", | ||
"type": "deps", | ||
"release": "patch" | ||
@@ -107,5 +107,9 @@ }, | ||
"type": "docs", | ||
"section": "Trivial Changes" | ||
"section": "Documentation" | ||
}, | ||
{ | ||
"type": "deps", | ||
"section": "Dependencies" | ||
}, | ||
{ | ||
"type": "test", | ||
@@ -139,15 +143,15 @@ "section": "Tests" | ||
"dependencies": { | ||
"@libp2p/interface-peer-discovery": "^1.0.0", | ||
"@libp2p/interface-peer-info": "^1.0.1", | ||
"@libp2p/interfaces": "^3.0.2", | ||
"@libp2p/interface-peer-discovery": "^1.0.1", | ||
"@libp2p/interface-peer-info": "^1.0.3", | ||
"@libp2p/interfaces": "^3.0.3", | ||
"@libp2p/logger": "^2.0.0", | ||
"@libp2p/peer-id": "^1.1.9", | ||
"@multiformats/mafmt": "^11.0.2", | ||
"@multiformats/multiaddr": "^10.1.7" | ||
"@libp2p/peer-id": "^1.1.15", | ||
"@multiformats/mafmt": "^11.0.3", | ||
"@multiformats/multiaddr": "^11.0.0" | ||
}, | ||
"devDependencies": { | ||
"@libp2p/interface-peer-discovery-compliance-tests": "^1.0.0", | ||
"@libp2p/interface-peer-id": "^1.0.2", | ||
"aegir": "^37.2.0" | ||
"@libp2p/interface-peer-discovery-compliance-tests": "^1.0.2", | ||
"@libp2p/interface-peer-id": "^1.0.4", | ||
"aegir": "^37.5.3" | ||
} | ||
} |
@@ -17,3 +17,3 @@ # @libp2p/bootstrap <!-- omit in toc --> | ||
- [License](#license) | ||
- [Contribution](#contribution) | ||
- [Contribute](#contribute-1) | ||
@@ -85,4 +85,4 @@ ## Install | ||
## Contribution | ||
## Contribute | ||
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. |
@@ -1,2 +0,2 @@ | ||
import { Multiaddr } from '@multiformats/multiaddr' | ||
import { multiaddr } from '@multiformats/multiaddr' | ||
import { P2P } from '@multiformats/mafmt' | ||
@@ -49,3 +49,3 @@ import { CustomEvent, EventEmitter } from '@libp2p/interfaces/events' | ||
const ma = new Multiaddr(candidate) | ||
const ma = multiaddr(candidate) | ||
const peerIdStr = ma.getPeerId() | ||
@@ -52,0 +52,0 @@ |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
16620
1
+ Added@multiformats/multiaddr@11.6.1(transitive)
- Removed@multiformats/multiaddr@10.5.0(transitive)
- Removedclone-regexp@3.0.0(transitive)
- Removedconvert-hrtime@5.0.0(transitive)
- Removedfunction-timeout@0.1.1(transitive)
- Removedip-regex@5.0.0(transitive)
- Removedis-ip@5.0.1(transitive)
- Removedis-regexp@3.1.0(transitive)
- Removedmultiformats@9.9.0(transitive)
- Removedsuper-regex@0.2.0(transitive)
- Removedtime-span@5.1.0(transitive)
- Removeduint8arrays@3.1.1(transitive)
Updated@libp2p/interfaces@^3.0.3
Updated@libp2p/peer-id@^1.1.15
Updated@multiformats/mafmt@^11.0.3