@firebase/storage 0.11.1 → 0.11.2-20230301191949
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 +9 -0
- package/dist/index.browser.cjs.js +5 -5
- package/dist/index.browser.cjs.js.map +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +5 -5
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +5 -5
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +5 -5
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +5 -5
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/src/implementation/error.d.ts +4 -4
- package/dist/src/implementation/error.d.ts +4 -4
- package/dist/storage-public.d.ts +3 -3
- package/dist/storage.d.ts +4 -4
- package/package.json +6 -6
package/dist/index.esm5.js
CHANGED
|
@@ -70,7 +70,7 @@ var DEFAULT_MIN_SLEEP_TIME_MILLIS = 1000;
|
|
|
70
70
|
var StorageError = /** @class */ (function (_super) {
|
|
71
71
|
__extends(StorageError, _super);
|
|
72
72
|
/**
|
|
73
|
-
* @param code - A StorageErrorCode string to be prefixed with 'storage/' and
|
|
73
|
+
* @param code - A `StorageErrorCode` string to be prefixed with 'storage/' and
|
|
74
74
|
* added to the end of the message.
|
|
75
75
|
* @param message - Error message.
|
|
76
76
|
* @param status_ - Corresponding HTTP Status Code
|
|
@@ -80,7 +80,7 @@ var StorageError = /** @class */ (function (_super) {
|
|
|
80
80
|
var _this = _super.call(this, prependCode(code), "Firebase Storage: ".concat(message, " (").concat(prependCode(code), ")")) || this;
|
|
81
81
|
_this.status_ = status_;
|
|
82
82
|
/**
|
|
83
|
-
* Stores custom error data
|
|
83
|
+
* Stores custom error data unique to the `StorageError`.
|
|
84
84
|
*/
|
|
85
85
|
_this.customData = { serverResponse: null };
|
|
86
86
|
_this._baseMessage = _this.message;
|
|
@@ -100,7 +100,7 @@ var StorageError = /** @class */ (function (_super) {
|
|
|
100
100
|
configurable: true
|
|
101
101
|
});
|
|
102
102
|
/**
|
|
103
|
-
* Compares a StorageErrorCode against this error's code, filtering out the prefix.
|
|
103
|
+
* Compares a `StorageErrorCode` against this error's code, filtering out the prefix.
|
|
104
104
|
*/
|
|
105
105
|
StorageError.prototype._codeEquals = function (code) {
|
|
106
106
|
return prependCode(code) === this.code;
|
|
@@ -128,7 +128,7 @@ var StorageError = /** @class */ (function (_super) {
|
|
|
128
128
|
}(FirebaseError));
|
|
129
129
|
/**
|
|
130
130
|
* @public
|
|
131
|
-
* Error codes that can be attached to `StorageError`
|
|
131
|
+
* Error codes that can be attached to `StorageError` objects.
|
|
132
132
|
*/
|
|
133
133
|
var StorageErrorCode;
|
|
134
134
|
(function (StorageErrorCode) {
|
|
@@ -3530,7 +3530,7 @@ var FirebaseStorageImpl = /** @class */ (function () {
|
|
|
3530
3530
|
}());
|
|
3531
3531
|
|
|
3532
3532
|
var name = "@firebase/storage";
|
|
3533
|
-
var version = "0.11.
|
|
3533
|
+
var version = "0.11.2-20230301191949";
|
|
3534
3534
|
|
|
3535
3535
|
/**
|
|
3536
3536
|
* @license
|