New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@libp2p/interface-internal

Package Overview
Dependencies
Maintainers
0
Versions
558
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface-internal - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10-432955390

11

dist/src/address-manager/index.d.ts

@@ -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

6

package.json
{
"name": "@libp2p/interface-internal",
"version": "2.0.9",
"version": "2.0.10-432955390",
"description": "Interfaces implemented by internal libp2p components",

@@ -51,4 +51,4 @@ "license": "Apache-2.0 OR MIT",

"dependencies": {
"@libp2p/interface": "^2.1.3",
"@libp2p/peer-collections": "^6.0.9",
"@libp2p/interface": "2.2.0-432955390",
"@libp2p/peer-collections": "6.0.10-432955390",
"@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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc