Daniel Bankhead
Daniel Bankhead
We can streamline `fastFailMetadataRequest` by using [`Promise.any`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/any) in Node 15+ rather than `Promise.race`: https://github.com/googleapis/gcp-metadata/blob/92f258ca6a62160ed9b9bdedf15a2ae147f4f35c/src/index.ts#L179-L229
The PEM endpoints have been long-deprecated and are causing issues for customers. As a dependency, added `JWK` support to `NodeCrypto`. Related: - #1756 - https://github.com/googleapis/node-gtoken/pull/466 Fixes: #1756 🦕
Today, there are types imported from other AuthClients that should be in the base client's file. E.g.: https://github.com/googleapis/google-auth-library-nodejs/blob/f45f9753a7c83bc04616a1bdbaf687b3f38a17d2/src/auth/authclient.ts#L20 These should be moved here and the imports should be updated throughout...
Dependency: - #617 🦕
As we plan to support multiple environments and runtimes it makes sense to migrate from `node-fetch` to the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). Transitioning this library to a interface on top of `fetch`...
It simply does not work well with the open-ended `GaxiosOptions` & `Response` types and is pretty unmaintainable. Instead, customers should use a proper data loss prevention (DLP) product for this...
With the advent of TPC and PSC, there’s a lot of complexity with apiEndpoints. To improve, we should: - expose an `async Storage#getEndpoint()` method - make the `apiEndpoint` property private...
Reverts googleapis/gax-nodejs#1648
Headers should be [`Headers`](https://developer.mozilla.org/en-US/docs/Web/API/Headers) - creates consistency throughout the libraries; no need to check properties for different casing - Alignment with [`Request#headers`](https://developer.mozilla.org/en-US/docs/Web/API/Request/headers) - Clients or intermediates can easily append an...