@google-cloud/essential-contacts
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -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; |
@@ -84,2 +84,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; | ||
@@ -146,2 +147,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; | ||
} | ||
@@ -170,3 +173,3 @@ /** | ||
this._protos.google.cloud.essentialcontacts.v1 | ||
.EssentialContactsService, this._opts); | ||
.EssentialContactsService, this._opts, this._providedCustomServicePath); | ||
// Iterate over each of the methods that the service provides | ||
@@ -173,0 +176,0 @@ // and create an API call method for each. |
# Changelog | ||
### [1.0.5](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.4...v1.0.5) (2021-07-16) | ||
### Bug Fixes | ||
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#28](https://www.github.com/googleapis/nodejs-essential-contacts/issues/28)) ([0f07b63](https://www.github.com/googleapis/nodejs-essential-contacts/commit/0f07b63f26176f1b6b4315443cfa1cddeb5cf6cd)) | ||
### [1.0.5](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.4...v1.0.5) (2021-07-16) | ||
### Bug Fixes | ||
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#28](https://www.github.com/googleapis/nodejs-essential-contacts/issues/28)) ([0f07b63](https://www.github.com/googleapis/nodejs-essential-contacts/commit/0f07b63f26176f1b6b4315443cfa1cddeb5cf6cd)) | ||
### [1.0.4](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.3...v1.0.4) (2021-07-12) | ||
@@ -4,0 +18,0 @@ |
{ | ||
"name": "@google-cloud/essential-contacts", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Essential contacts client for Node.js", | ||
@@ -5,0 +5,0 @@ "repository": "googleapis/nodejs-essential-contacts", |
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
1205676
20214