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
538
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 0.1.1 to 0.1.2-32825633

8

dist/src/connection/index.d.ts

@@ -221,10 +221,2 @@ import type { AbortOptions } from '../index.js';

/**
* Add a stream to this connection
*/
addStream: (stream: Stream) => void;
/**
* Remove a stream from this connection
*/
removeStream: (id: string) => void;
/**
* Gracefully close the connection. All queued data will be written to the

@@ -231,0 +223,0 @@ * underlying transport.

6

package.json
{
"name": "@libp2p/interface",
"version": "0.1.1",
"version": "0.1.2-32825633",
"description": "The interface implemented by a libp2p node",

@@ -160,3 +160,3 @@ "license": "Apache-2.0 OR MIT",

"dependencies": {
"@multiformats/multiaddr": "^12.1.3",
"@multiformats/multiaddr": "^12.1.5",
"abortable-iterator": "^5.0.1",

@@ -171,3 +171,3 @@ "it-pushable": "^3.2.0",

"@types/sinon": "^10.0.15",
"aegir": "^40.0.1",
"aegir": "^40.0.8",
"sinon": "^15.1.2",

@@ -174,0 +174,0 @@ "sinon-ts": "^1.0.0"

@@ -262,12 +262,2 @@ import type { AbortOptions } from '../index.js'

/**
* Add a stream to this connection
*/
addStream: (stream: Stream) => void
/**
* Remove a stream from this connection
*/
removeStream: (id: string) => void
/**
* Gracefully close the connection. All queued data will be written to the

@@ -274,0 +264,0 @@ * underlying transport.

Sorry, the diff of this file is not supported yet

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