@google-cloud/bigquery-connection
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -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; | ||
@@ -142,2 +143,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; | ||
} | ||
@@ -166,3 +169,3 @@ /** | ||
this._protos.google.cloud.bigquery.connection.v1 | ||
.ConnectionService, this._opts); | ||
.ConnectionService, this._opts, this._providedCustomServicePath); | ||
// Iterate over each of the methods that the service provides | ||
@@ -169,0 +172,0 @@ // and create an API call method for each. |
# Changelog | ||
### [1.4.1](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.4.0...v1.4.1) (2021-07-21) | ||
### Bug Fixes | ||
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#112](https://www.github.com/googleapis/nodejs-bigquery-connection/issues/112)) ([9a2b5bb](https://www.github.com/googleapis/nodejs-bigquery-connection/commit/9a2b5bb9796be07bd13ca886061f30151c5ba235)) | ||
## [1.4.0](https://www.github.com/googleapis/nodejs-bigquery-connection/compare/v1.3.5...v1.4.0) (2021-07-14) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/bigquery-connection", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "BigQuery Connection client for Node.js", | ||
@@ -5,0 +5,0 @@ "repository": "googleapis/nodejs-bigquery-connection", |
Sorry, the diff of this file is not supported yet
1595399
26754