@firebase/storage 0.9.5 → 0.9.6-canary.0197076b8
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 +1 -1
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.esm2017.js +1 -1
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +1 -1
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +5 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +3 -2
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/src/tsdoc-metadata.json +11 -11
- package/dist/storage.d.ts +1395 -1395
- package/package.json +10 -9
|
@@ -2075,6 +2075,7 @@ class FetchConnection {
|
|
|
2075
2075
|
this.errorCode_ = ErrorCode.NO_ERROR;
|
|
2076
2076
|
}
|
|
2077
2077
|
async send(url, method, body, headers) {
|
|
2078
|
+
var _a;
|
|
2078
2079
|
if (this.sent_) {
|
|
2079
2080
|
throw internalError('cannot .send() more than once');
|
|
2080
2081
|
}
|
|
@@ -2091,7 +2092,7 @@ class FetchConnection {
|
|
|
2091
2092
|
this.body_ = await response.arrayBuffer();
|
|
2092
2093
|
}
|
|
2093
2094
|
catch (e) {
|
|
2094
|
-
this.errorText_ = e.message;
|
|
2095
|
+
this.errorText_ = (_a = e) === null || _a === void 0 ? void 0 : _a.message;
|
|
2095
2096
|
// emulate XHR which sets status to 0 when encountering a network error
|
|
2096
2097
|
this.statusCode_ = 0;
|
|
2097
2098
|
this.errorCode_ = ErrorCode.NETWORK_ERROR;
|
|
@@ -3214,7 +3215,7 @@ class FirebaseStorageImpl {
|
|
|
3214
3215
|
}
|
|
3215
3216
|
|
|
3216
3217
|
const name = "@firebase/storage";
|
|
3217
|
-
const version = "0.9.
|
|
3218
|
+
const version = "0.9.6-canary.0197076b8";
|
|
3218
3219
|
|
|
3219
3220
|
/**
|
|
3220
3221
|
* @license
|