list-fetch
Advanced tools
Comparing version 10.0.0 to 15.0.1
@@ -7,4 +7,4 @@ const makeFetch = require('make-fetch') | ||
module.exports = function makeBTFetch (opts = {}) { | ||
const DEFAULT_OPTS = {timeout: 60000} | ||
module.exports = async function makeBTFetch (opts = {}) { | ||
const DEFAULT_OPTS = {} | ||
const finalOpts = { ...DEFAULT_OPTS, ...opts } | ||
@@ -18,3 +18,3 @@ const checkHash = /^[a-fA-F0-9]{40}$/ | ||
const app = new Torrentz(finalOpts) | ||
const app = await new Promise((resolve) => {if(finalOpts.torrentz){resolve(finalOpts.torrentz)}else{resolve(new Torrentz(finalOpts))}}) | ||
@@ -21,0 +21,0 @@ // const prog = new Map() |
{ | ||
"name": "list-fetch", | ||
"version": "10.0.0", | ||
"version": "15.0.1", | ||
"description": "coming soon", | ||
@@ -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
15573