@firebase/storage 0.10.0 → 0.10.1-20230117221326
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 +11 -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 +6 -6
package/dist/index.node.cjs.js
CHANGED
|
@@ -703,9 +703,9 @@ class NetworkRequest {
|
|
|
703
703
|
this.pendingConnection_ = null;
|
|
704
704
|
const hitServer = connection.getErrorCode() === ErrorCode.NO_ERROR;
|
|
705
705
|
const status = connection.getStatus();
|
|
706
|
-
if (
|
|
707
|
-
isRetryStatusCode(status, this.additionalRetryCodes_)
|
|
708
|
-
|
|
706
|
+
if (!hitServer ||
|
|
707
|
+
(isRetryStatusCode(status, this.additionalRetryCodes_) &&
|
|
708
|
+
this.retry)) {
|
|
709
709
|
const wasCanceled = connection.getErrorCode() === ErrorCode.ABORT;
|
|
710
710
|
backoffCallback(false, new RequestEndStatus(false, null, wasCanceled));
|
|
711
711
|
return;
|
|
@@ -3353,7 +3353,7 @@ class FirebaseStorageImpl {
|
|
|
3353
3353
|
}
|
|
3354
3354
|
|
|
3355
3355
|
const name = "@firebase/storage";
|
|
3356
|
-
const version = "0.10.
|
|
3356
|
+
const version = "0.10.1-20230117221326";
|
|
3357
3357
|
|
|
3358
3358
|
/**
|
|
3359
3359
|
* @license
|