@google-cloud/common
Advanced tools
Comparing version 3.7.4 to 3.8.0
@@ -108,5 +108,2 @@ "use strict"; | ||
self.metadata = instance.metadata; | ||
if (self.id && instance.metadata) { | ||
self.id = instance.metadata.id; | ||
} | ||
args[1] = self; // replace the created `instance` with this one. | ||
@@ -113,0 +110,0 @@ } |
@@ -282,3 +282,3 @@ "use strict"; | ||
if (err) { | ||
if ([408, 429, 500, 502, 503].indexOf(err.code) !== -1) { | ||
if ([408, 429, 500, 502, 503, 504].indexOf(err.code) !== -1) { | ||
return true; | ||
@@ -285,0 +285,0 @@ } |
@@ -7,2 +7,15 @@ # Changelog | ||
## [3.8.0](https://www.github.com/googleapis/nodejs-common/compare/v3.7.3...v3.8.0) (2021-11-01) | ||
### Features | ||
* Add retry support for 504 (Gateway Timeout) ([#704](https://www.github.com/googleapis/nodejs-common/issues/704)) ([5a3a96f](https://www.github.com/googleapis/nodejs-common/commit/5a3a96f5aa607e53d71e7ed9af5f26431af45679)) | ||
### Bug Fixes | ||
* allow authentication with custom endpoint ([#698](https://www.github.com/googleapis/nodejs-common/issues/698)) ([4c0f7ec](https://www.github.com/googleapis/nodejs-common/commit/4c0f7ec0c6ebedc34eaaab79fc053e7e889e243d)) | ||
* update table.create to not reset id ([#700](https://www.github.com/googleapis/nodejs-common/issues/700)) ([b1ceb53](https://www.github.com/googleapis/nodejs-common/commit/b1ceb532ac7bf4852f430c83af5a71618ed42f54)) | ||
### [3.7.4](https://www.github.com/googleapis/nodejs-common/compare/v3.7.3...v3.7.4) (2021-10-06) | ||
@@ -9,0 +22,0 @@ |
{ | ||
"name": "@google-cloud/common", | ||
"description": "Common components for Cloud APIs Node.js Client Libraries", | ||
"version": "3.7.4", | ||
"version": "3.8.0", | ||
"license": "Apache-2.0", | ||
@@ -52,3 +52,3 @@ "author": "Google Inc.", | ||
"@types/ncp": "^2.0.3", | ||
"@types/node": "^14.0.0", | ||
"@types/node": "^16.0.0", | ||
"@types/proxyquire": "^1.3.28", | ||
@@ -55,0 +55,0 @@ "@types/request": "^2.48.4", |
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
125348
1911