google-cloud-bucket
Advanced tools
Comparing version 0.3.5 to 0.3.6
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="0.3.6"></a> | ||
## [0.3.6](https://github.com/nicolasdao/google-cloud-bucket/compare/v0.3.5...v0.3.6) (2018-12-08) | ||
### Features | ||
* Add new field 'publicUri' on the response of a file insert ([22124c5](https://github.com/nicolasdao/google-cloud-bucket/commit/22124c5)) | ||
<a name="0.3.5"></a> | ||
@@ -7,0 +17,0 @@ ## [0.3.5](https://github.com/nicolasdao/google-cloud-bucket/compare/v0.3.4...v0.3.5) (2018-12-07) |
@@ -71,2 +71,4 @@ /** | ||
.then(data => { | ||
if (data) | ||
data.publicUri = `https://storage.googleapis.com/${encodeURIComponent((filePath || '').replace(/^\/*/, ''))}` | ||
if (options.public) | ||
@@ -73,0 +75,0 @@ return addPublicAccess(filePath).then(({ uri }) => { |
{ | ||
"name": "google-cloud-bucket", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "Nodejs package to add objects to a Google Cloud Bucket.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
53482
1011