libp2p-tcp
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "libp2p-tcp", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Node.js implementation of the TCP module that libp2p uses, which implements the interface-connection and interface-transport interfaces", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -1,3 +0,3 @@ | ||
// const debug = require('debug') | ||
// const log = debug('libp2p:tcp') | ||
const debug = require('debug') | ||
const log = debug('libp2p:tcp') | ||
const tcp = require('net') | ||
@@ -66,3 +66,4 @@ const multiaddr = require('multiaddr') | ||
if (listeners.length === 0) { | ||
callback(new Error('there are no listeners')) | ||
log('Called close with no active listeners') | ||
return callback() | ||
} | ||
@@ -69,0 +70,0 @@ var count = 0 |
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
12008
216