@firebase/storage 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/index.browser.cjs.js +4 -4
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.esm2017.js +4 -4
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +4 -4
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +4 -4
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +4 -4
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/test/unit/testshared.d.ts +1 -1
- package/dist/test/unit/testshared.d.ts +1 -1
- package/package.json +5 -5
package/dist/index.esm2017.js
CHANGED
|
@@ -696,9 +696,9 @@ class NetworkRequest {
|
|
|
696
696
|
this.pendingConnection_ = null;
|
|
697
697
|
const hitServer = connection.getErrorCode() === ErrorCode.NO_ERROR;
|
|
698
698
|
const status = connection.getStatus();
|
|
699
|
-
if (
|
|
700
|
-
isRetryStatusCode(status, this.additionalRetryCodes_)
|
|
701
|
-
|
|
699
|
+
if (!hitServer ||
|
|
700
|
+
(isRetryStatusCode(status, this.additionalRetryCodes_) &&
|
|
701
|
+
this.retry)) {
|
|
702
702
|
const wasCanceled = connection.getErrorCode() === ErrorCode.ABORT;
|
|
703
703
|
backoffCallback(false, new RequestEndStatus(false, null, wasCanceled));
|
|
704
704
|
return;
|
|
@@ -3314,7 +3314,7 @@ class FirebaseStorageImpl {
|
|
|
3314
3314
|
}
|
|
3315
3315
|
|
|
3316
3316
|
const name = "@firebase/storage";
|
|
3317
|
-
const version = "0.10.
|
|
3317
|
+
const version = "0.10.1";
|
|
3318
3318
|
|
|
3319
3319
|
/**
|
|
3320
3320
|
* @license
|