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

@libp2p/interfaces

Package Overview
Dependencies
Maintainers
4
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interfaces - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

dist/src/connection/index.d.ts

@@ -33,11 +33,11 @@ import type { Multiaddr } from '@multiformats/multiaddr';

*/
close: () => Promise<void>;
close: () => void;
/**
* Close a stream for reading only
*/
closeRead: () => Promise<void>;
closeRead: () => void;
/**
* Close a stream for writing only
*/
closeWrite: () => Promise<void>;
closeWrite: () => void;
/**

@@ -44,0 +44,0 @@ * Call when a local error occurs, should close the stream for reading and writing

{
"name": "@libp2p/interfaces",
"version": "2.0.0",
"version": "2.0.1",
"description": "Interfaces for JS Libp2p",

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

@@ -37,3 +37,3 @@ import type { Multiaddr } from '@multiformats/multiaddr'

*/
close: () => Promise<void>
close: () => void

@@ -43,3 +43,3 @@ /**

*/
closeRead: () => Promise<void>
closeRead: () => void

@@ -49,3 +49,3 @@ /**

*/
closeWrite: () => Promise<void>
closeWrite: () => void

@@ -52,0 +52,0 @@ /**

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