@libp2p/interfaces
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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
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
1383685