@google-cloud/common
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -29,2 +29,7 @@ /*! | ||
/** | ||
* The API Endpoint to use when connecting to the service. | ||
* Example: storage.googleapis.com | ||
*/ | ||
apiEndpoint: string; | ||
/** | ||
* The scopes required for the request. | ||
@@ -57,2 +62,3 @@ */ | ||
private getCredentials; | ||
readonly apiEndpoint: string; | ||
/** | ||
@@ -59,0 +65,0 @@ * Service is a base class, meant to be inherited from by a "service," like |
@@ -44,2 +44,3 @@ "use strict"; | ||
this.baseUrl = config.baseUrl; | ||
this.apiEndpoint = config.apiEndpoint; | ||
this.globalInterceptors = arrify(options.interceptors_); | ||
@@ -46,0 +47,0 @@ this.interceptors = []; |
@@ -7,2 +7,13 @@ # Changelog | ||
## [2.0.0](https://www.github.com/googleapis/nodejs-common/compare/v1.0.0...v2.0.0) (2019-05-23) | ||
### ⚠ BREAKING CHANGES | ||
* This adds the apiEndpoint property as a required field for the ServiceConfig, and makes it a public property on the Service class. This is being added to broadly support apiEndpoint overrides. | ||
### Features | ||
* add apiEndpoint property to service config ([#427](https://www.github.com/googleapis/nodejs-common/issues/427)) ([c063df8](https://www.github.com/googleapis/nodejs-common/commit/c063df8)), closes [googleapis/nodejs-bigquery#455](https://www.github.com/googleapis/nodejs-common/issues/455) | ||
## [1.0.0](https://www.github.com/googleapis/nodejs-common/compare/v0.32.1...v1.0.0) (2019-05-09) | ||
@@ -9,0 +20,0 @@ |
{ | ||
"name": "@google-cloud/common", | ||
"description": "Common components for Cloud APIs Node.js Client Libraries", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": "Google Inc.", |
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
105619
1852