@google-cloud/common
Advanced tools
Comparing version 0.28.0 to 0.29.0
@@ -122,3 +122,3 @@ "use strict"; | ||
// behavior. Ensure we call the original `request` method. | ||
this.request(reqOpts, callback); | ||
ServiceObject.prototype.request.call(this, reqOpts, callback); | ||
} | ||
@@ -187,3 +187,3 @@ exists(callback) { | ||
// behavior. Ensure we call the original `request` method. | ||
this.request(reqOpts, (err, body, res) => { | ||
ServiceObject.prototype.request.call(this, reqOpts, (err, body, res) => { | ||
this.metadata = body; | ||
@@ -205,3 +205,3 @@ callback(err, this.metadata, res); | ||
// behavior. Ensure we call the original `request` method. | ||
this.request(reqOpts, (err, body, res) => { | ||
ServiceObject.prototype.request.call(this, reqOpts, (err, body, res) => { | ||
this.metadata = body; | ||
@@ -208,0 +208,0 @@ callback(err, this.metadata, res); |
@@ -153,3 +153,3 @@ "use strict"; | ||
request(reqOpts, callback) { | ||
this.request_(reqOpts, callback); | ||
Service.prototype.request_.call(true, reqOpts, callback); | ||
} | ||
@@ -166,3 +166,3 @@ /** | ||
const opts = extend(true, reqOpts, { shouldReturnStream: true }); | ||
return this.request_(opts); | ||
return Service.prototype.request_.call(this, opts); | ||
} | ||
@@ -169,0 +169,0 @@ } |
@@ -7,2 +7,8 @@ # Changelog | ||
## v0.29.0 | ||
12-19-2018 13:11 PST | ||
- fix: use request_ for service-object ([#337](https://github.com/googleapis/nodejs-common/pull/337)) | ||
## v0.28.0 | ||
@@ -9,0 +15,0 @@ |
{ | ||
"name": "@google-cloud/common", | ||
"description": "Common components for Cloud APIs Node.js Client Libraries", | ||
"version": "0.28.0", | ||
"version": "0.29.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
97799