We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19a69c4 commit e7b333eCopy full SHA for e7b333e
index.js
@@ -219,7 +219,7 @@ class CorestoreNetworker extends EventEmitter {
219
}
220
opts = { ...opts, ...config }
221
222
- const keyString = (typeof discoveryKey === 'string') ? discoveryKey : Buffer.from(discoveryKey, 'hex')
+ const keyString = (typeof discoveryKey === 'string') ? discoveryKey : discoveryKey.toString('hex')
223
this._configurations.set(keyString, opts)
224
225
const joining = config.announce || config.lookup
package.json
@@ -7,7 +7,7 @@
7
"debug": "^4.1.1",
8
"end-of-stream": "^1.4.4",
9
"hypercore-protocol": "^8.0.0",
10
- "hyperswarm": "^2.10.0",
+ "hyperswarm": "^2.14.1",
11
"pump": "^3.0.0"
12
},
13
"devDependencies": {
0 commit comments