New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hyperdht

Package Overview
Dependencies
Maintainers
3
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperdht - npm Package Compare versions

Comparing version 6.11.7 to 6.12.0

3

index.js

@@ -14,2 +14,3 @@ const DHT = require('dht-rpc')

const { hash, createKeyPair } = require('./lib/crypto')
const { decode } = require('hypercore-id-encoding')
const RawStreamSet = require('./lib/raw-stream-set')

@@ -60,3 +61,3 @@ const ConnectionPool = require('./lib/connection-pool')

connect (remotePublicKey, opts) {
return connect(this, remotePublicKey, opts)
return connect(this, decode(remotePublicKey), opts)
}

@@ -63,0 +64,0 @@

{
"name": "hyperdht",
"version": "6.11.7",
"version": "6.12.0",
"description": "The DHT powering Hyperswarm",

@@ -34,2 +34,3 @@ "main": "index.js",

"hypercore-crypto": "^3.3.0",
"hypercore-id-encoding": "^1.2.0",
"noise-curve-ed": "^2.0.0",

@@ -36,0 +37,0 @@ "noise-handshake": "^3.0.0",

@@ -171,2 +171,4 @@ # hyperdht

The remote public key can be encoded as either a buffer, a hex string or a z-base32 string.
Options include:

@@ -173,0 +175,0 @@

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