Comparing version 6.11.3 to 6.12.0
@@ -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", |
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
62875
1440