@firebase/storage 0.8.3-canary.f7d8324a1 → 0.8.4-202192711727
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 +8 -0
- package/dist/index.browser.cjs.js +6 -2
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.cjs.js +145 -142
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +6 -2
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +6 -2
- package/dist/index.esm5.js.map +1 -1
- package/dist/src/api.browser.d.ts +17 -0
- package/dist/src/api.d.ts +1 -1
- package/dist/src/api.node.d.ts +17 -0
- package/dist/src/implementation/connection.d.ts +4 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.node.d.ts +7 -0
- package/dist/src/platform/node/connection.d.ts +1 -0
- package/dist/storage.d.ts +4 -0
- package/dist/test/browser/connection.test.d.ts +17 -0
- package/dist/test/unit/connection.test.d.ts +17 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
#Unreleased
|
|
2
2
|
|
|
3
|
+
## 0.8.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a7e00b9eb`](https://github.com/firebase/firebase-js-sdk/commit/a7e00b9ebbb05b094a8bf620790146e750463c12) [#5578](https://github.com/firebase/firebase-js-sdk/pull/5578) (fixes [#5372](https://github.com/firebase/firebase-js-sdk/issues/5372)) - Do not throw from `connection.send` to enable retries in Node.js.
|
|
8
|
+
|
|
9
|
+
* [`93795c780`](https://github.com/firebase/firebase-js-sdk/commit/93795c7801d6b28ccbbe5855fd2f3fc377b1db5f) [#5596](https://github.com/firebase/firebase-js-sdk/pull/5596) - report build variants for packages
|
|
10
|
+
|
|
3
11
|
## 0.8.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -759,6 +759,7 @@ var NetworkRequest = /** @class */ (function () {
|
|
|
759
759
|
if (_this.progressCallback_ !== null) {
|
|
760
760
|
connection.addUploadProgressListener(progressListener);
|
|
761
761
|
}
|
|
762
|
+
// connection.send() never rejects, so we don't need to have a error handler or use catch on the returned promise.
|
|
762
763
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
763
764
|
connection
|
|
764
765
|
.send(_this.url_, _this.method_, _this.body_, _this.headers_)
|
|
@@ -3350,7 +3351,7 @@ var FirebaseStorageImpl = /** @class */ (function () {
|
|
|
3350
3351
|
}());
|
|
3351
3352
|
|
|
3352
3353
|
var name = "@firebase/storage";
|
|
3353
|
-
var version = "0.8.
|
|
3354
|
+
var version = "0.8.4-202192711727";
|
|
3354
3355
|
|
|
3355
3356
|
/**
|
|
3356
3357
|
* @license
|
|
@@ -3579,7 +3580,10 @@ function factory(container, _a) {
|
|
|
3579
3580
|
}
|
|
3580
3581
|
function registerStorage() {
|
|
3581
3582
|
app._registerComponent(new component.Component(STORAGE_TYPE, factory, "PUBLIC" /* PUBLIC */).setMultipleInstances(true));
|
|
3582
|
-
|
|
3583
|
+
//RUNTIME_ENV will be replaced during the compilation to "node" for nodejs and an empty string for browser
|
|
3584
|
+
app.registerVersion(name, version, '');
|
|
3585
|
+
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
3586
|
+
app.registerVersion(name, version, 'cjs5');
|
|
3583
3587
|
}
|
|
3584
3588
|
registerStorage();
|
|
3585
3589
|
|