@google-cloud/secret-manager
Advanced tools
Comparing version 3.8.0 to 3.8.1
@@ -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; |
@@ -89,2 +89,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; | ||
@@ -151,2 +152,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; | ||
} | ||
@@ -175,3 +178,3 @@ /** | ||
this._protos.google.cloud.secretmanager.v1 | ||
.SecretManagerService, this._opts); | ||
.SecretManagerService, this._opts, this._providedCustomServicePath); | ||
// Iterate over each of the methods that the service provides | ||
@@ -178,0 +181,0 @@ // and create an API call method for each. |
# Changelog | ||
### [3.8.1](https://www.github.com/googleapis/nodejs-secret-manager/compare/v3.8.0...v3.8.1) (2021-07-16) | ||
### Bug Fixes | ||
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#279](https://www.github.com/googleapis/nodejs-secret-manager/issues/279)) ([06f7829](https://www.github.com/googleapis/nodejs-secret-manager/commit/06f78290cff9e46f05704494e3605dc0328bcedb)) | ||
## [3.8.0](https://www.github.com/googleapis/nodejs-secret-manager/compare/v3.7.3...v3.8.0) (2021-07-12) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/secret-manager", | ||
"version": "3.8.0", | ||
"version": "3.8.1", | ||
"description": "Secrets client for Node.js", | ||
@@ -5,0 +5,0 @@ "repository": "googleapis/nodejs-secret-manager", |
Sorry, the diff of this file is not supported yet
2576852
40554