Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "dht-rpc", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Make RPC calls over a Kademlia based DHT.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -48,2 +48,3 @@ var stream = require('readable-stream') | ||
this._moveCloser = !nodes | ||
this._map = opts.map || echo | ||
this._bootstrapped = !this._moveCloser | ||
@@ -168,3 +169,3 @@ this._onresponse = onresponse | ||
this.push({ | ||
this.push(this._map({ | ||
node: { | ||
@@ -176,3 +177,3 @@ id: res.id, | ||
value: res.value | ||
}) | ||
})) | ||
} | ||
@@ -293,1 +294,5 @@ | ||
} | ||
function echo (a) { | ||
return a | ||
} |
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
31415
834