Socket
Socket
Sign inDemoInstall

dht-rpc

Package Overview
Dependencies
Maintainers
1
Versions
108
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 6.11.3 to 6.12.0

3

lib/io.js

@@ -501,3 +501,4 @@ const FIFO = require('fast-fifo')

function validateId (id, from) {
return b4a.equals(peer.id(from.host, from.port, TMP), id) ? id : null
const expected = peer.id(from.host, from.port, b4a.alloc(32))
return b4a.equals(expected, id) ? expected : null
}
{
"name": "dht-rpc",
"version": "6.11.3",
"version": "6.12.0",
"description": "Make RPC calls over a Kademlia based DHT",

@@ -5,0 +5,0 @@ "main": "index.js",

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