@google-cloud/life-sciences
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -13,2 +13,3 @@ import * as gax from 'google-gax'; | ||
private _opts; | ||
private _providedCustomServicePath; | ||
private _gaxModule; | ||
@@ -20,2 +21,3 @@ private _gaxGrpc; | ||
descriptors: Descriptors; | ||
warn: (code: string, message: string, warnType?: string) => void; | ||
innerApiCalls: { | ||
@@ -22,0 +24,0 @@ [name: string]: Function; |
@@ -86,2 +86,3 @@ "use strict"; | ||
const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || staticMembers.servicePath; | ||
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint)); | ||
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port; | ||
@@ -147,2 +148,4 @@ const clientConfig = (_a = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _a !== void 0 ? _a : {}; | ||
this.innerApiCalls = {}; | ||
// Add a warn function to the client constructor so it can be easily tested. | ||
this.warn = gax.warn; | ||
} | ||
@@ -171,3 +174,3 @@ /** | ||
this._protos.google.cloud.lifesciences.v2beta | ||
.WorkflowsServiceV2Beta, this._opts); | ||
.WorkflowsServiceV2Beta, this._opts, this._providedCustomServicePath); | ||
// Iterate over each of the methods that the service provides | ||
@@ -174,0 +177,0 @@ // and create an API call method for each. |
# Changelog | ||
### [1.0.2](https://www.github.com/googleapis/nodejs-life-sciences/compare/v1.0.1...v1.0.2) (2021-07-22) | ||
### Bug Fixes | ||
* Updating WORKSPACE files to use the newest version of the Typescript generator ([fc315eb](https://www.github.com/googleapis/nodejs-life-sciences/commit/fc315ebafb6ce1124a7c5dcca98af617acf8e16c)) | ||
### [1.0.1](https://www.github.com/googleapis/nodejs-life-sciences/compare/v1.0.0...v1.0.1) (2021-07-12) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/life-sciences", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "lifesciences client for Node.js", | ||
@@ -5,0 +5,0 @@ "repository": "googleapis/nodejs-life-sciences", |
Sorry, the diff of this file is not supported yet
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
1718828
28528