Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@libp2p/interface

Package Overview
Dependencies
Maintainers
6
Versions
536
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface - npm Package Compare versions

Comparing version 1.6.1-40902d99b to 1.6.1-4a994c5ef

2

dist/src/index.d.ts

@@ -467,3 +467,3 @@ /**

* // create a new stream within the connection
* const { stream, protocol } = await conn.newStream(['/echo/1.1.0', '/echo/1.0.0'])
* const stream = await conn.newStream(['/echo/1.1.0', '/echo/1.0.0'])
*

@@ -470,0 +470,0 @@ * // protocol negotiated: 'echo/1.0.0' means that the other party only supports the older version

{
"name": "@libp2p/interface",
"version": "1.6.1-40902d99b",
"version": "1.6.1-4a994c5ef",
"description": "The interface implemented by a libp2p node",

@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT",

@@ -530,3 +530,3 @@ /**

* // create a new stream within the connection
* const { stream, protocol } = await conn.newStream(['/echo/1.1.0', '/echo/1.0.0'])
* const stream = await conn.newStream(['/echo/1.1.0', '/echo/1.0.0'])
*

@@ -533,0 +533,0 @@ * // protocol negotiated: 'echo/1.0.0' means that the other party only supports the older version

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