@libp2p/interface-internal
Advanced tools
Comparing version 2.1.1-0862522fe to 2.1.1-4a85eb033
@@ -47,3 +47,18 @@ import type { Multiaddr } from '@multiformats/multiaddr'; | ||
removeDNSMapping(domain: string): void; | ||
/** | ||
* Add a publicly routable address/port/protocol tuple that this node is | ||
* reachable on. Where this node listens on a link-local (e.g. LAN) address | ||
* with the same protocol for any transport, an additional listen address will | ||
* be added with the IP and port replaced with this IP and port. | ||
* | ||
* It's possible to add a IPv6 address here and have it added to the address | ||
* list, this is for the case when a router has an external IPv6 address with | ||
* port forwarding configured, but it does IPv6 -> IPv4 NAT. | ||
*/ | ||
addPublicAddressMapping(internalIp: string, internalPort: number, externalIp: string, externalPort?: number, protocol?: 'tcp' | 'udp'): void; | ||
/** | ||
* Remove a publicly routable address that this node is no longer reachable on | ||
*/ | ||
removePublicAddressMapping(internalIp: string, internalPort: number, externalIp: string, externalPort?: number, protocol?: 'tcp' | 'udp'): void; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@libp2p/interface-internal", | ||
"version": "2.1.1-0862522fe", | ||
"version": "2.1.1-4a85eb033", | ||
"description": "Interfaces implemented by internal libp2p components", | ||
@@ -51,4 +51,4 @@ "license": "Apache-2.0 OR MIT", | ||
"dependencies": { | ||
"@libp2p/interface": "2.2.1-0862522fe", | ||
"@libp2p/peer-collections": "6.0.12-0862522fe", | ||
"@libp2p/interface": "2.2.1-4a85eb033", | ||
"@libp2p/peer-collections": "6.0.12-4a85eb033", | ||
"@multiformats/multiaddr": "^12.2.3", | ||
@@ -55,0 +55,0 @@ "progress-events": "^1.0.0", |
@@ -56,2 +56,19 @@ import type { Multiaddr } from '@multiformats/multiaddr' | ||
removeDNSMapping(domain: string): void | ||
/** | ||
* Add a publicly routable address/port/protocol tuple that this node is | ||
* reachable on. Where this node listens on a link-local (e.g. LAN) address | ||
* with the same protocol for any transport, an additional listen address will | ||
* be added with the IP and port replaced with this IP and port. | ||
* | ||
* It's possible to add a IPv6 address here and have it added to the address | ||
* list, this is for the case when a router has an external IPv6 address with | ||
* port forwarding configured, but it does IPv6 -> IPv4 NAT. | ||
*/ | ||
addPublicAddressMapping (internalIp: string, internalPort: number, externalIp: string, externalPort?: number, protocol?: 'tcp' | 'udp'): void | ||
/** | ||
* Remove a publicly routable address that this node is no longer reachable on | ||
*/ | ||
removePublicAddressMapping (internalIp: string, internalPort: number, externalIp: string, externalPort?: number, protocol?: 'tcp' | 'udp'): void | ||
} |
Sorry, the diff of this file is not supported yet
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
33544
684
332
+ Added@libp2p/crypto@5.0.7-4a85eb033(transitive)
+ Added@libp2p/interface@2.2.1-4a85eb033(transitive)
+ Added@libp2p/logger@5.1.4-4a85eb033(transitive)
+ Added@libp2p/peer-collections@6.0.12-4a85eb033(transitive)
+ Added@libp2p/peer-id@5.0.8-4a85eb033(transitive)
+ Added@libp2p/utils@6.2.1-4a85eb033(transitive)
- Removed@libp2p/crypto@5.0.7-0862522fe(transitive)
- Removed@libp2p/interface@2.2.1-0862522fe(transitive)
- Removed@libp2p/logger@5.1.4-0862522fe(transitive)
- Removed@libp2p/peer-collections@6.0.12-0862522fe(transitive)
- Removed@libp2p/peer-id@5.0.8-0862522fe(transitive)
- Removed@libp2p/utils@6.2.1-0862522fe(transitive)