Comparing version 0.9.1 to 0.9.2
{ | ||
"name": "peer-info", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "IPFS Peer abstraction JavaScript implementation", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -22,3 +22,3 @@ 'use strict' | ||
ma = ensureMultiaddr(ma) | ||
if (!this.multiaddrs.has(ma)) { | ||
if (!this.multiaddrs.has(ma) && ma.toString() !== `/ipfs/${this.id.toB58String()}`) { | ||
throw new Error('can\'t be connected to missing multiaddr from set') | ||
@@ -25,0 +25,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2742523
33305