@google-cloud/apigee-connect
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -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; |
@@ -83,2 +83,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; | ||
@@ -141,2 +142,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; | ||
} | ||
@@ -164,3 +167,3 @@ /** | ||
: // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
this._protos.google.cloud.apigeeconnect.v1.ConnectionService, this._opts); | ||
this._protos.google.cloud.apigeeconnect.v1.ConnectionService, this._opts, this._providedCustomServicePath); | ||
// Iterate over each of the methods that the service provides | ||
@@ -167,0 +170,0 @@ // and create an API call method for each. |
@@ -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; |
@@ -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; | ||
@@ -136,2 +137,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; | ||
} | ||
@@ -159,3 +162,3 @@ /** | ||
: // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
this._protos.google.cloud.apigeeconnect.v1.Tether, this._opts); | ||
this._protos.google.cloud.apigeeconnect.v1.Tether, this._opts, this._providedCustomServicePath); | ||
// Iterate over each of the methods that the service provides | ||
@@ -162,0 +165,0 @@ // and create an API call method for each. |
# Changelog | ||
### [1.0.3](https://www.github.com/googleapis/nodejs-apigee-connect/compare/v1.0.2...v1.0.3) (2021-07-16) | ||
### Bug Fixes | ||
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#18](https://www.github.com/googleapis/nodejs-apigee-connect/issues/18)) ([a1ec264](https://www.github.com/googleapis/nodejs-apigee-connect/commit/a1ec26422107c2e78ddb45aa89827db052017a54)) | ||
### [1.0.2](https://www.github.com/googleapis/nodejs-apigee-connect/compare/v1.0.1...v1.0.2) (2021-07-12) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/apigee-connect", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "apigeeconnect client for Node.js", | ||
@@ -5,0 +5,0 @@ "repository": "googleapis/nodejs-apigee-connect", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1206006
20638