Comparing version 15.0.6 to 15.0.7
@@ -22,3 +22,3 @@ import WebTorrent from "webtorrent"; | ||
constructor (opts = {}) { | ||
const defOpts = { dir: __dirname, storage: 'storage', base: 'base', routine: 3600000, dht: { verify: (sig, message, key) => {return ed.verify(sig, ArrayBuffer.isView(message) ? Buffer.from(message.buffer, message.byteOffset, message.byteLength) : message, key)} } } | ||
const defOpts = { dir: import.meta.dirname, storage: 'storage', base: 'base', routine: 3600000, dht: { verify: (sig, message, key) => {return ed.verify(sig, ArrayBuffer.isView(message) ? Buffer.from(message.buffer, message.byteOffset, message.byteLength) : message, key)} } } | ||
const finalOpts = { ...defOpts, ...opts } | ||
@@ -25,0 +25,0 @@ this._routine = finalOpts.routine |
{ | ||
"name": "torrentz", | ||
"version": "15.0.6", | ||
"version": "15.0.7", | ||
"description": "", | ||
@@ -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
43102