gcs-resumable-upload
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -97,6 +97,7 @@ "use strict"; | ||
else { | ||
this.createURI(err => { | ||
this.createURI((err, uri) => { | ||
if (err) { | ||
return this.destroy(err); | ||
} | ||
this.set({ uri }); | ||
this.startUploading(); | ||
@@ -147,3 +148,2 @@ }); | ||
this.uri = uri; | ||
this.set({ uri }); | ||
this.offset = 0; | ||
@@ -345,6 +345,7 @@ return uri; | ||
this.deleteConfig(); | ||
this.createURI(err => { | ||
this.createURI((err, uri) => { | ||
if (err) { | ||
return this.destroy(err); | ||
} | ||
this.set({ uri }); | ||
this.startUploading(); | ||
@@ -351,0 +352,0 @@ }); |
@@ -7,2 +7,9 @@ # Changelog | ||
### [3.2.1](https://www.github.com/googleapis/gcs-resumable-upload/compare/v3.2.0...v3.2.1) (2021-06-28) | ||
### Bug Fixes | ||
* createURI() should not persist uri ([#437](https://www.github.com/googleapis/gcs-resumable-upload/issues/437)) ([5fbad65](https://www.github.com/googleapis/gcs-resumable-upload/commit/5fbad65b7f7b7a7e4f7f8ba5ba1573405b31afff)) | ||
## [3.2.0](https://www.github.com/googleapis/gcs-resumable-upload/compare/v3.1.4...v3.2.0) (2021-06-10) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "gcs-resumable-upload", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Upload a file to Google Cloud Storage with built-in resumable behavior", | ||
@@ -26,5 +26,3 @@ "repository": "googleapis/gcs-resumable-upload", | ||
"prelint": "cd samples; npm link ../; npm install", | ||
"precompile": "gts clean", | ||
"api-extractor": "api-extractor run --local", | ||
"api-documenter": "api-documenter yaml --input-folder=temp" | ||
"precompile": "gts clean" | ||
}, | ||
@@ -77,6 +75,4 @@ "keywords": [ | ||
"sinon": "^11.0.0", | ||
"typescript": "^3.8.3", | ||
"@microsoft/api-documenter": "^7.8.10", | ||
"@microsoft/api-extractor": "^7.8.10" | ||
"typescript": "^3.8.3" | ||
} | ||
} |
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
66751
21
649