@google-cloud/pubsub
Advanced tools
Comparing version 2.16.0 to 2.16.1
@@ -15,2 +15,3 @@ /// <reference types="node" /> | ||
private _opts; | ||
private _providedCustomServicePath; | ||
private _gaxModule; | ||
@@ -22,2 +23,3 @@ private _gaxGrpc; | ||
descriptors: Descriptors; | ||
warn: (code: string, message: string, warnType?: string) => void; | ||
innerApiCalls: { | ||
@@ -24,0 +26,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; | ||
@@ -158,2 +159,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; | ||
} | ||
@@ -182,3 +185,3 @@ /** | ||
: // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
this._protos.google.pubsub.v1.Publisher, this._opts); | ||
this._protos.google.pubsub.v1.Publisher, this._opts, this._providedCustomServicePath); | ||
// Iterate over each of the methods that the service provides | ||
@@ -185,0 +188,0 @@ // and create an API call method for each. |
@@ -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; | ||
@@ -147,2 +148,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 @@ /** | ||
: // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
this._protos.google.pubsub.v1.SchemaService, this._opts); | ||
this._protos.google.pubsub.v1.SchemaService, 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. |
@@ -16,2 +16,3 @@ /// <reference types="node" /> | ||
private _opts; | ||
private _providedCustomServicePath; | ||
private _gaxModule; | ||
@@ -23,2 +24,3 @@ private _gaxGrpc; | ||
descriptors: Descriptors; | ||
warn: (code: string, message: string, warnType?: string) => void; | ||
innerApiCalls: { | ||
@@ -25,0 +27,0 @@ [name: string]: Function; |
@@ -7,2 +7,9 @@ # Changelog | ||
### [2.16.1](https://www.github.com/googleapis/nodejs-pubsub/compare/v2.16.0...v2.16.1) (2021-07-21) | ||
### Bug Fixes | ||
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#1354](https://www.github.com/googleapis/nodejs-pubsub/issues/1354)) ([7288e2e](https://www.github.com/googleapis/nodejs-pubsub/commit/7288e2e06b15bede3e06002a8a3dec2699312aa2)) | ||
## [2.16.0](https://www.github.com/googleapis/nodejs-pubsub/compare/v2.15.1...v2.16.0) (2021-07-12) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "@google-cloud/pubsub", | ||
"description": "Cloud Pub/Sub Client Library for Node.js", | ||
"version": "2.16.0", | ||
"version": "2.16.1", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": "Google Inc.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
2926027
49103