gcs-resumable-upload
Advanced tools
Comparing version 3.1.4 to 3.2.0
@@ -125,3 +125,4 @@ "use strict"; | ||
if (metadata.contentLength) { | ||
reqOpts.headers['X-Upload-Content-Length'] = metadata.contentLength.toString(); | ||
reqOpts.headers['X-Upload-Content-Length'] = | ||
metadata.contentLength.toString(); | ||
} | ||
@@ -306,3 +307,4 @@ if (metadata.contentType) { | ||
reqOpts.headers['x-goog-encryption-key'] = this.encryption.key.toString(); | ||
reqOpts.headers['x-goog-encryption-key-sha256'] = this.encryption.hash.toString(); | ||
reqOpts.headers['x-goog-encryption-key-sha256'] = | ||
this.encryption.hash.toString(); | ||
} | ||
@@ -309,0 +311,0 @@ if (this.userProject) { |
@@ -7,2 +7,9 @@ # Changelog | ||
## [3.2.0](https://www.github.com/googleapis/gcs-resumable-upload/compare/v3.1.4...v3.2.0) (2021-06-10) | ||
### Features | ||
* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#421](https://www.github.com/googleapis/gcs-resumable-upload/issues/421)) ([b842b41](https://www.github.com/googleapis/gcs-resumable-upload/commit/b842b417d319af06ec2cc11b4078dd3f3a65c31b)) | ||
### [3.1.4](https://www.github.com/googleapis/gcs-resumable-upload/compare/v3.1.3...v3.1.4) (2021-05-03) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "gcs-resumable-upload", | ||
"version": "3.1.4", | ||
"version": "3.2.0", | ||
"description": "Upload a file to Google Cloud Storage with built-in resumable behavior", | ||
@@ -75,3 +75,3 @@ "repository": "googleapis/gcs-resumable-upload", | ||
"nock": "^13.0.0", | ||
"sinon": "^10.0.0", | ||
"sinon": "^11.0.0", | ||
"typescript": "^3.8.3", | ||
@@ -78,0 +78,0 @@ "@microsoft/api-documenter": "^7.8.10", |
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
66462
648