Comparing version 0.3.0 to 0.3.1
@@ -6,2 +6,6 @@ All notable changes to this project will be documented in this file. | ||
## [0.3.1] - 2019-04-02 | ||
### Fixed | ||
- unhandled rejections even when they are handled from user code | ||
## [0.3.0] - 2019-03-21 | ||
@@ -8,0 +12,0 @@ ### Changed |
@@ -84,2 +84,4 @@ "use strict"; | ||
const wait = time => new Promise(resolve => setTimeout(resolve, time)); | ||
const noop = () => undefined; | ||
/** | ||
@@ -291,3 +293,4 @@ * @class ApiClient | ||
globalTimeout && globalTimeout.stop(); // eslint-disable-line no-use-before-define | ||
}); | ||
}).catch(noop); // noop is required here, as finally is creating new promise branch and throws if errors occurs | ||
// and each branch should handle error separately (even if that is the same error) | ||
@@ -294,0 +297,0 @@ future.abort = () => { |
{ | ||
"name": "api-reach", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"repository": "https://github.com/dzek69/api-reach.git", | ||
@@ -5,0 +5,0 @@ "author": "Jacek Nowacki @dzek69 <git-public@dzek.eu>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
169488
1948