promise-poller
Advanced tools
Comparing version 1.9.0 to 1.9.1
{ | ||
"name": "promise-poller", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "A basic poller built on top of promises", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/promise-poller.js", |
@@ -80,3 +80,3 @@ # promise-poller | ||
return new Promise((resolve, reject) => { | ||
doAsyncStuff.then(resolve, error => { | ||
doAsyncStuff().then(resolve, error => { | ||
if (error === 'invalid password') { | ||
@@ -83,0 +83,0 @@ reject(CANCEL_TOKEN); // will cancel polling |
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
29453