Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "promto", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Create a promise with timeout", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -25,3 +25,3 @@ 'use strict' | ||
}) | ||
return { to, promise } | ||
return { timeout: to, promise } | ||
} | ||
@@ -64,3 +64,2 @@ | ||
const timeoutPromise = makeTimeoutPromise(desc, timeout) | ||
return Promise.race([ | ||
@@ -67,0 +66,0 @@ promise, |
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
9250
7
194