gcs-browser-upload-stream
Advanced tools
Comparing version 2.1.20-beta to 2.1.21-beta
@@ -183,2 +183,3 @@ 'use strict'; | ||
headers: headers, onUploadProgress: function onUploadProgress(progressEvent) { | ||
console.timeEnd('uploadChunk:put'); | ||
opts.onProgress({ | ||
@@ -196,3 +197,2 @@ totalBytes: total, | ||
console.timeEnd('uploadChunk:put'); | ||
@@ -211,3 +211,3 @@ checkResponseStatus(res, opts, [200, 201, 308]); | ||
case 17: | ||
case 16: | ||
case 'end': | ||
@@ -214,0 +214,0 @@ return _context2.stop(); |
@@ -162,2 +162,3 @@ 'use strict'; | ||
headers: headers, onUploadProgress: function onUploadProgress(progressEvent) { | ||
console.timeEnd('uploadChunk:put'); | ||
console.log(progressEvent.loaded); | ||
@@ -176,7 +177,6 @@ opts.onProgress({ | ||
console.timeEnd('uploadChunk:put'); | ||
checkResponseStatus(res, opts, [200, 201, 308]); | ||
case 6: | ||
case 5: | ||
case 'end': | ||
@@ -183,0 +183,0 @@ return _context.stop(); |
{ | ||
"name": "gcs-browser-upload-stream", | ||
"version": "2.1.20-beta", | ||
"version": "2.1.21-beta", | ||
"description": "Resumable, chunked uploads to Google Cloud Storage from the browser", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
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
312770