@google-cloud/binary-authorization
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -20,2 +20,3 @@ /// <reference types="node" /> | ||
private _opts; | ||
private _providedCustomServicePath; | ||
private _gaxModule; | ||
@@ -27,2 +28,3 @@ private _gaxGrpc; | ||
descriptors: Descriptors; | ||
warn: (code: string, message: string, warnType?: string) => void; | ||
innerApiCalls: { | ||
@@ -29,0 +31,0 @@ [name: string]: Function; |
@@ -90,2 +90,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; | ||
@@ -150,2 +151,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; | ||
} | ||
@@ -174,3 +177,3 @@ /** | ||
this._protos.google.cloud.binaryauthorization.v1beta1 | ||
.BinauthzManagementServiceV1Beta1, this._opts); | ||
.BinauthzManagementServiceV1Beta1, this._opts, this._providedCustomServicePath); | ||
// Iterate over each of the methods that the service provides | ||
@@ -177,0 +180,0 @@ // and create an API call method for each. |
# Changelog | ||
### [1.1.5](https://www.github.com/googleapis/nodejs-binary-authorization/compare/v1.1.4...v1.1.5) (2021-07-21) | ||
### Bug Fixes | ||
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#74](https://www.github.com/googleapis/nodejs-binary-authorization/issues/74)) ([15b75a9](https://www.github.com/googleapis/nodejs-binary-authorization/commit/15b75a9136ecd8131b4fea24de8be69bfbfb989d)) | ||
### [1.1.4](https://www.github.com/googleapis/nodejs-binary-authorization/compare/v1.1.3...v1.1.4) (2021-07-12) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/binary-authorization", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Binaryauthorization client for Node.js", | ||
@@ -5,0 +5,0 @@ "repository": "googleapis/nodejs-binary-authorization", |
Sorry, the diff of this file is not supported yet
1406530
22659