@google-cloud/assured-workloads
Advanced tools
Comparing version 1.4.5 to 1.4.6
@@ -14,2 +14,3 @@ /// <reference types="node" /> | ||
private _opts; | ||
private _providedCustomServicePath; | ||
private _gaxModule; | ||
@@ -21,2 +22,3 @@ private _gaxGrpc; | ||
descriptors: Descriptors; | ||
warn: (code: string, message: string, warnType?: string) => void; | ||
innerApiCalls: { | ||
@@ -23,0 +25,0 @@ [name: string]: Function; |
@@ -85,2 +85,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; | ||
@@ -160,2 +161,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; | ||
} | ||
@@ -184,3 +187,3 @@ /** | ||
this._protos.google.cloud.assuredworkloads.v1beta1 | ||
.AssuredWorkloadsService, this._opts); | ||
.AssuredWorkloadsService, this._opts, this._providedCustomServicePath); | ||
// Iterate over each of the methods that the service provides | ||
@@ -187,0 +190,0 @@ // and create an API call method for each. |
# Changelog | ||
### [1.4.6](https://www.github.com/googleapis/nodejs-assured-workloads/compare/v1.4.5...v1.4.6) (2021-07-16) | ||
### Bug Fixes | ||
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#86](https://www.github.com/googleapis/nodejs-assured-workloads/issues/86)) ([b68bfe0](https://www.github.com/googleapis/nodejs-assured-workloads/commit/b68bfe00fdaec8c68028a1aa0ff5074da324dbd7)) | ||
### [1.4.5](https://www.github.com/googleapis/nodejs-assured-workloads/compare/v1.4.4...v1.4.5) (2021-07-12) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/assured-workloads", | ||
"version": "1.4.5", | ||
"version": "1.4.6", | ||
"description": "Assured Workloads client for Node.js", | ||
@@ -5,0 +5,0 @@ "repository": "googleapis/nodejs-assured-workloads", |
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
1518453
25323