Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dht-rpc

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dht-rpc - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

2

package.json
{
"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
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc