@google-cloud/iam-credentials
Advanced tools
@@ -62,4 +62,3 @@ import type * as gax from 'google-gax'; | ||
| * Follows the structure of {@link gapicConfig}. | ||
| * @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode. | ||
| * Pass "rest" to use HTTP/1.1 REST API instead of gRPC. | ||
| * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode. | ||
| * For more information, please check the | ||
@@ -72,3 +71,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}. | ||
| * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC | ||
| * const client = new IAMCredentialsClient({fallback: 'rest'}, gax); | ||
| * const client = new IAMCredentialsClient({fallback: true}, gax); | ||
| * ``` | ||
@@ -75,0 +74,0 @@ */ |
@@ -71,4 +71,3 @@ "use strict"; | ||
| * Follows the structure of {@link gapicConfig}. | ||
| * @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode. | ||
| * Pass "rest" to use HTTP/1.1 REST API instead of gRPC. | ||
| * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode. | ||
| * For more information, please check the | ||
@@ -81,3 +80,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}. | ||
| * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC | ||
| * const client = new IAMCredentialsClient({fallback: 'rest'}, gax); | ||
| * const client = new IAMCredentialsClient({fallback: true}, gax); | ||
| * ``` | ||
@@ -139,3 +138,3 @@ */ | ||
| } | ||
| else if (opts.fallback === 'rest') { | ||
| else { | ||
| clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`); | ||
@@ -142,0 +141,0 @@ } |
+7
-0
| # Changelog | ||
| ## [3.0.1](https://github.com/googleapis/google-cloud-node/compare/iam-credentials-v3.0.0...iam-credentials-v3.0.1) (2023-09-06) | ||
| ### Bug Fixes | ||
| * [Many APIs] simplify logic for HTTP/1.1 REST fallback option ([#4589](https://github.com/googleapis/google-cloud-node/issues/4589)) ([07967ad](https://github.com/googleapis/google-cloud-node/commit/07967add1b5fc28b548cf74721b595ea0ba90d5b)) | ||
| ## [3.0.0](https://github.com/googleapis/google-cloud-node/compare/iam-credentials-v2.0.4...iam-credentials-v3.0.0) (2023-08-06) | ||
@@ -4,0 +11,0 @@ |
+3
-3
| { | ||
| "name": "@google-cloud/iam-credentials", | ||
| "version": "3.0.0", | ||
| "version": "3.0.1", | ||
| "description": "Credentials client for Node.js", | ||
@@ -58,4 +58,4 @@ "repository": { | ||
| "jsdoc": "^4.0.0", | ||
| "jsdoc-fresh": "^2.0.0", | ||
| "jsdoc-region-tag": "^2.0.0", | ||
| "jsdoc-fresh": "^3.0.0", | ||
| "jsdoc-region-tag": "^3.0.0", | ||
| "linkinator": "4.1.2", | ||
@@ -62,0 +62,0 @@ "long": "^5.2.3", |
+1
-1
@@ -104,3 +104,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." | ||
| Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/). | ||
| Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule). | ||
| Libraries are compatible with all current _active_ and _maintenance_ versions of | ||
@@ -107,0 +107,0 @@ Node.js. |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1416490
0.02%1
-50%24562
-0.01%