@google-cloud/common
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -359,3 +359,4 @@ "use strict"; | ||
if (apiResponseError && | ||
apiResponseError.code === 401) { | ||
apiResponseError.code === 401 && | ||
authLibraryError) { | ||
// Re-use the "Could not load the default credentials error" if | ||
@@ -362,0 +363,0 @@ // the API request failed due to missing credentials. |
@@ -7,2 +7,9 @@ # Changelog | ||
### [2.2.1](https://www.github.com/googleapis/nodejs-common/compare/v2.2.0...v2.2.1) (2019-09-12) | ||
### Bug Fixes | ||
* do not block API 401 errors when auth was provided ([#482](https://www.github.com/googleapis/nodejs-common/issues/482)) ([1b617e6](https://www.github.com/googleapis/nodejs-common/commit/1b617e6)) | ||
## [2.2.0](https://www.github.com/googleapis/nodejs-common/compare/v2.1.2...v2.2.0) (2019-09-11) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "@google-cloud/common", | ||
"description": "Common components for Cloud APIs Node.js Client Libraries", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": "Google Inc.", |
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
110274
1856