google-gax
Advanced tools
Comparing version 2.29.5 to 2.29.6
@@ -71,2 +71,7 @@ "use strict"; | ||
}); | ||
if (canceller instanceof Promise) { | ||
canceller.catch(err => { | ||
setImmediate(this.callback, new googleError_1.GoogleError(err), null, null, null); | ||
}); | ||
} | ||
this.cancelFunc = () => canceller.cancel(); | ||
@@ -73,0 +78,0 @@ } |
@@ -105,2 +105,7 @@ "use strict"; | ||
}); | ||
if (canceller instanceof Promise) { | ||
canceller.catch(err => { | ||
callback(new googleError_1.GoogleError(err)); | ||
}); | ||
} | ||
} | ||
@@ -107,0 +112,0 @@ if (maxRetries && deadline) { |
@@ -149,2 +149,4 @@ #!/usr/bin/env node | ||
js = apacheLicense + js; | ||
// 3. reformat JSDoc reference link in the comments | ||
js = js.replace(/{@link (.*?)#(.*?)}/g, '{@link $1|$2}'); | ||
return js; | ||
@@ -151,0 +153,0 @@ } |
@@ -7,2 +7,10 @@ # Changelog | ||
### [2.29.6](https://github.com/googleapis/gax-nodejs/compare/v2.29.5...v2.29.6) (2022-02-10) | ||
### Bug Fixes | ||
* catch rejected promise from closed client ([#1180](https://github.com/googleapis/gax-nodejs/issues/1180)) ([9e63e65](https://github.com/googleapis/gax-nodejs/commit/9e63e65299b9424088b99cffccc58329c908b793)) | ||
* post-process JSDoc link format in proto.d.ts ([#1178](https://github.com/googleapis/gax-nodejs/issues/1178)) ([98dcfcd](https://github.com/googleapis/gax-nodejs/commit/98dcfcd41871586fa5d4d1837a24a4fb4c7a469f)) | ||
### [2.29.5](https://github.com/googleapis/gax-nodejs/compare/v2.29.4...v2.29.5) (2022-01-27) | ||
@@ -9,0 +17,0 @@ |
{ | ||
"name": "google-gax", | ||
"version": "2.29.5", | ||
"version": "2.29.6", | ||
"description": "Google API Extensions", | ||
@@ -5,0 +5,0 @@ "main": "build/src/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
10929133
163700