@libp2p/utils
Advanced tools
Comparing version 6.1.3 to 6.2.0-656db81cf
@@ -183,2 +183,5 @@ import { StreamResetError, StreamStateError } from '@libp2p/interface'; | ||
async close(options) { | ||
if (this.status !== 'open') { | ||
return; | ||
} | ||
this.log.trace('closing gracefully'); | ||
@@ -185,0 +188,0 @@ this.status = 'closing'; |
{ | ||
"name": "@libp2p/utils", | ||
"version": "6.1.3", | ||
"version": "6.2.0-656db81cf", | ||
"description": "Package to aggregate shared logic and dependencies for the libp2p ecosystem", | ||
@@ -71,2 +71,6 @@ "license": "Apache-2.0 OR MIT", | ||
}, | ||
"./debounce": { | ||
"types": "./dist/src/debounce.d.ts", | ||
"import": "./dist/src/debounce.js" | ||
}, | ||
"./filters": { | ||
@@ -116,2 +120,6 @@ "types": "./dist/src/filters/index.d.ts", | ||
}, | ||
"./repeating-task": { | ||
"types": "./dist/src/repeating-task.d.ts", | ||
"import": "./dist/src/repeating-task.js" | ||
}, | ||
"./stream-to-ma-conn": { | ||
@@ -153,5 +161,5 @@ "types": "./dist/src/stream-to-ma-conn.d.ts", | ||
"@chainsafe/is-ip": "^2.0.2", | ||
"@libp2p/crypto": "^5.0.6", | ||
"@libp2p/interface": "^2.2.0", | ||
"@libp2p/logger": "^5.1.3", | ||
"@libp2p/crypto": "5.0.6-656db81cf", | ||
"@libp2p/interface": "2.2.0-656db81cf", | ||
"@libp2p/logger": "5.1.3-656db81cf", | ||
"@multiformats/multiaddr": "^12.2.3", | ||
@@ -177,3 +185,3 @@ "@sindresorhus/fnv1a": "^3.1.0", | ||
"devDependencies": { | ||
"@libp2p/peer-id": "^5.0.7", | ||
"@libp2p/peer-id": "5.0.7-656db81cf", | ||
"@types/netmask": "^2.0.5", | ||
@@ -180,0 +188,0 @@ "aegir": "^44.0.1", |
@@ -287,2 +287,6 @@ import { StreamResetError, StreamStateError } from '@libp2p/interface' | ||
async close (options?: AbortOptions): Promise<void> { | ||
if (this.status !== 'open') { | ||
return | ||
} | ||
this.log.trace('closing gracefully') | ||
@@ -289,0 +293,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
169
5077
266873
1
+ Added@libp2p/crypto@5.0.6-656db81cf(transitive)
+ Added@libp2p/interface@2.2.0-656db81cf(transitive)
+ Added@libp2p/logger@5.1.3-656db81cf(transitive)
- Removed@libp2p/crypto@5.0.9(transitive)
- Removed@libp2p/interface@2.4.0(transitive)
- Removed@libp2p/logger@5.1.6(transitive)