@google-cloud/life-sciences
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -57,4 +57,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 | ||
@@ -67,3 +66,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 WorkflowsServiceV2BetaClient({fallback: 'rest'}, gax); | ||
* const client = new WorkflowsServiceV2BetaClient({fallback: true}, gax); | ||
* ``` | ||
@@ -70,0 +69,0 @@ */ |
@@ -64,4 +64,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 | ||
@@ -74,3 +73,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 WorkflowsServiceV2BetaClient({fallback: 'rest'}, gax); | ||
* const client = new WorkflowsServiceV2BetaClient({fallback: true}, gax); | ||
* ``` | ||
@@ -134,3 +133,3 @@ */ | ||
} | ||
else if (opts.fallback === 'rest') { | ||
else { | ||
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`); | ||
@@ -151,3 +150,3 @@ } | ||
}; | ||
if (opts.fallback === 'rest') { | ||
if (opts.fallback) { | ||
lroOptions.protoJson = protoFilesRoot; | ||
@@ -154,0 +153,0 @@ lroOptions.httpRules = [ |
# Changelog | ||
## [3.0.1](https://github.com/googleapis/google-cloud-node/compare/life-sciences-v3.0.0...life-sciences-v3.0.1) (2023-09-06) | ||
### Bug Fixes | ||
* [Many APIs] simplify logic for HTTP/1.1 REST fallback option ([#4586](https://github.com/googleapis/google-cloud-node/issues/4586)) ([4b18686](https://github.com/googleapis/google-cloud-node/commit/4b186867323b8b15469bf5e1cb890bf703b531b3)) | ||
## [3.0.0](https://github.com/googleapis/google-cloud-node/compare/life-sciences-v2.3.2...life-sciences-v3.0.0) (2023-08-06) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/life-sciences", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "lifesciences 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", |
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
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
2133712
0
36089