@libp2p/interface-internal
Advanced tools
Comparing version 2.0.10 to 2.1.0-656db81cf
@@ -36,3 +36,14 @@ import type { Multiaddr } from '@multiformats/multiaddr'; | ||
getAddresses(): Multiaddr[]; | ||
/** | ||
* Adds a mapping between one or more IP addresses and a domain name - when | ||
* `getAddresses` is invoked, where the IP addresses are present in a | ||
* multiaddr, an additional multiaddr will be added with `ip4` and `ip6` | ||
* tuples replaced with `dns4` and `dns6 ones respectively. | ||
*/ | ||
addDNSMapping(domain: string, ipAddresses: string[]): void; | ||
/** | ||
* Remove a mapping previously added with `addDNSMapping`. | ||
*/ | ||
removeDNSMapping(domain: string): void; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@libp2p/interface-internal", | ||
"version": "2.0.10", | ||
"version": "2.1.0-656db81cf", | ||
"description": "Interfaces implemented by internal libp2p components", | ||
@@ -51,4 +51,4 @@ "license": "Apache-2.0 OR MIT", | ||
"dependencies": { | ||
"@libp2p/interface": "^2.2.0", | ||
"@libp2p/peer-collections": "^6.0.10", | ||
"@libp2p/interface": "2.2.0-656db81cf", | ||
"@libp2p/peer-collections": "6.0.11-656db81cf", | ||
"@multiformats/multiaddr": "^12.2.3", | ||
@@ -55,0 +55,0 @@ "progress-events": "^1.0.0", |
@@ -43,2 +43,15 @@ import type { Multiaddr } from '@multiformats/multiaddr' | ||
getAddresses(): Multiaddr[] | ||
/** | ||
* Adds a mapping between one or more IP addresses and a domain name - when | ||
* `getAddresses` is invoked, where the IP addresses are present in a | ||
* multiaddr, an additional multiaddr will be added with `ip4` and `ip6` | ||
* tuples replaced with `dns4` and `dns6 ones respectively. | ||
*/ | ||
addDNSMapping(domain: string, ipAddresses: string[]): void | ||
/** | ||
* Remove a mapping previously added with `addDNSMapping`. | ||
*/ | ||
removeDNSMapping(domain: string): void | ||
} |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
654
31339
39
1
+ Added@libp2p/crypto@5.0.6-656db81cf(transitive)
+ Added@libp2p/interface@2.2.0-656db81cf(transitive)
+ Added@libp2p/logger@5.1.3-656db81cf(transitive)
+ Added@libp2p/peer-collections@6.0.11-656db81cf(transitive)
+ Added@libp2p/peer-id@5.0.7-656db81cf(transitive)
+ Added@libp2p/utils@6.2.0-656db81cf(transitive)
- Removed@libp2p/crypto@5.0.9(transitive)
- Removed@libp2p/interface@2.4.0(transitive)
- Removed@libp2p/logger@5.1.6(transitive)
- Removed@libp2p/peer-collections@6.0.14(transitive)
- Removed@libp2p/peer-id@5.0.10(transitive)
- Removed@libp2p/utils@6.3.1(transitive)