bittorrent-dht
Advanced tools
Comparing version 7.5.3 to 7.6.0
@@ -355,5 +355,5 @@ module.exports = DHT | ||
DHT.prototype.listen = function (port, cb) { | ||
if (typeof port === 'function') return this.listen(0, port) | ||
this._rpc.bind(port, cb) | ||
// listen([port], [address], [onlistening]) | ||
DHT.prototype.listen = function () { | ||
this._rpc.bind.apply(this._rpc, arguments) | ||
} | ||
@@ -360,0 +360,0 @@ |
{ | ||
"name": "bittorrent-dht", | ||
"description": "Simple, robust, BitTorrent DHT implementation", | ||
"version": "7.5.3", | ||
"version": "7.6.0", | ||
"author": { | ||
@@ -14,3 +14,3 @@ "name": "WebTorrent, LLC", | ||
"dependencies": { | ||
"bencode": "^0.11.0", | ||
"bencode": "^1.0.0", | ||
"buffer-equals": "^1.0.3", | ||
@@ -20,3 +20,3 @@ "debug": "^2.2.0", | ||
"k-bucket": "^3.0.1", | ||
"k-rpc": "^4.0.0", | ||
"k-rpc": "^4.1.0", | ||
"lru": "^3.1.0", | ||
@@ -23,0 +23,0 @@ "safe-buffer": "^5.0.1" |
Sorry, the diff of this file is not supported yet
81437
+ Addedbencode@1.0.0(transitive)
- Removedbencode@0.11.0(transitive)
Updatedbencode@^1.0.0
Updatedk-rpc@^4.1.0