@google-cloud/common
Advanced tools
Comparing version 0.30.0 to 0.30.1
@@ -117,7 +117,7 @@ "use strict"; | ||
const methodConfig = (typeof this.methods.delete === 'object' && this.methods.delete) || {}; | ||
const reqOpts = extend({ | ||
const reqOpts = extend(true, methodConfig.reqOpts, { | ||
method: 'DELETE', | ||
uri: '', | ||
qs: options, | ||
}, methodConfig.reqOpts); | ||
}); | ||
// The `request` method may have been overridden to hold any special | ||
@@ -180,6 +180,6 @@ // behavior. Ensure we call the original `request` method. | ||
{}; | ||
const reqOpts = extend({ | ||
const reqOpts = extend(true, methodConfig.reqOpts, { | ||
uri: '', | ||
qs: options, | ||
}, methodConfig.reqOpts); | ||
}); | ||
// The `request` method may have been overridden to hold any special | ||
@@ -197,3 +197,3 @@ // behavior. Ensure we call the original `request` method. | ||
{}; | ||
const reqOpts = extend(true, { | ||
const reqOpts = extend(true, methodConfig.reqOpts, { | ||
method: 'PATCH', | ||
@@ -203,3 +203,3 @@ uri: '', | ||
qs: options, | ||
}, methodConfig.reqOpts); | ||
}); | ||
// The `request` method may have been overridden to hold any special | ||
@@ -206,0 +206,0 @@ // behavior. Ensure we call the original `request` method. |
@@ -7,2 +7,18 @@ # Changelog | ||
## v0.30.1 | ||
01-25-2019 11:06 PST | ||
### New Features | ||
- fix: favor user options over defaults ([#353](https://github.com/googleapis/nodejs-common/pull/353)) | ||
### Documentation | ||
- build: ignore googleapis.com in doc link check ([#351](https://github.com/googleapis/nodejs-common/pull/351)) | ||
### Internal / Testing Changes | ||
- add tests ([#352](https://github.com/googleapis/nodejs-common/pull/352)) | ||
## v0.30.0 | ||
@@ -9,0 +25,0 @@ |
{ | ||
"name": "@google-cloud/common", | ||
"description": "Common components for Cloud APIs Node.js Client Libraries", | ||
"version": "0.30.0", | ||
"version": "0.30.1", | ||
"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
100123