Comparing version 2.3.0 to 2.3.1
@@ -0,1 +1,4 @@ | ||
## 2.3.1 (2020-02-14) | ||
- Add missing `cause` key to error. | ||
## 2.3.0 (2020-02-14) | ||
@@ -2,0 +5,0 @@ - Change emitted error format—errors now have `headers`, `status`, `body`, and `cause` keys. |
@@ -45,2 +45,3 @@ module.exports = apiServiceFactory; | ||
const wrappingError = new Error('Exceeded max retries'); | ||
wrappingError.cause = error; | ||
const response = error.response; | ||
@@ -47,0 +48,0 @@ if (response) { |
{ | ||
"name": "bestbuy", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "High level node.js client for the Best Buy API.", | ||
@@ -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
1724571
32800