@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.cjs.js
CHANGED
|
@@ -72,7 +72,7 @@ const DEFAULT_MIN_SLEEP_TIME_MILLIS = 1000;
|
|
|
72
72
|
*/
|
|
73
73
|
class StorageError extends util.FirebaseError {
|
|
74
74
|
/**
|
|
75
|
-
* @param code - A StorageErrorCode string to be prefixed with 'storage/' and
|
|
75
|
+
* @param code - A `StorageErrorCode` string to be prefixed with 'storage/' and
|
|
76
76
|
* added to the end of the message.
|
|
77
77
|
* @param message - Error message.
|
|
78
78
|
* @param status_ - Corresponding HTTP Status Code
|
|
@@ -81,7 +81,7 @@ class StorageError extends util.FirebaseError {
|
|
|
81
81
|
super(prependCode(code), `Firebase Storage: ${message} (${prependCode(code)})`);
|
|
82
82
|
this.status_ = status_;
|
|
83
83
|
/**
|
|
84
|
-
* Stores custom error data
|
|
84
|
+
* Stores custom error data unique to the `StorageError`.
|
|
85
85
|
*/
|
|
86
86
|
this.customData = { serverResponse: null };
|
|
87
87
|
this._baseMessage = this.message;
|
|
@@ -96,7 +96,7 @@ class StorageError extends util.FirebaseError {
|
|
|
96
96
|
this.status_ = status;
|
|
97
97
|
}
|
|
98
98
|
/**
|
|
99
|
-
* Compares a StorageErrorCode against this error's code, filtering out the prefix.
|
|
99
|
+
* Compares a `StorageErrorCode` against this error's code, filtering out the prefix.
|
|
100
100
|
*/
|
|
101
101
|
_codeEquals(code) {
|
|
102
102
|
return prependCode(code) === this.code;
|
|
@@ -119,7 +119,7 @@ class StorageError extends util.FirebaseError {
|
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
121
|
* @public
|
|
122
|
-
* Error codes that can be attached to `StorageError`
|
|
122
|
+
* Error codes that can be attached to `StorageError` objects.
|
|
123
123
|
*/
|
|
124
124
|
exports.StorageErrorCode = void 0;
|
|
125
125
|
(function (StorageErrorCode) {
|
|
@@ -3352,7 +3352,7 @@ class FirebaseStorageImpl {
|
|
|
3352
3352
|
}
|
|
3353
3353
|
|
|
3354
3354
|
const name = "@firebase/storage";
|
|
3355
|
-
const version = "0.11.
|
|
3355
|
+
const version = "0.11.2-20230301191949";
|
|
3356
3356
|
|
|
3357
3357
|
/**
|
|
3358
3358
|
* @license
|