@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
|
@@ -70,7 +70,7 @@ const DEFAULT_MIN_SLEEP_TIME_MILLIS = 1000;
|
|
|
70
70
|
*/
|
|
71
71
|
class StorageError extends FirebaseError {
|
|
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
|
|
@@ -79,7 +79,7 @@ class StorageError extends FirebaseError {
|
|
|
79
79
|
super(prependCode(code), `Firebase Storage: ${message} (${prependCode(code)})`);
|
|
80
80
|
this.status_ = status_;
|
|
81
81
|
/**
|
|
82
|
-
* Stores custom error data
|
|
82
|
+
* Stores custom error data unique to the `StorageError`.
|
|
83
83
|
*/
|
|
84
84
|
this.customData = { serverResponse: null };
|
|
85
85
|
this._baseMessage = this.message;
|
|
@@ -94,7 +94,7 @@ class StorageError extends FirebaseError {
|
|
|
94
94
|
this.status_ = status;
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
|
-
* Compares a StorageErrorCode against this error's code, filtering out the prefix.
|
|
97
|
+
* Compares a `StorageErrorCode` against this error's code, filtering out the prefix.
|
|
98
98
|
*/
|
|
99
99
|
_codeEquals(code) {
|
|
100
100
|
return prependCode(code) === this.code;
|
|
@@ -117,7 +117,7 @@ class StorageError extends FirebaseError {
|
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* @public
|
|
120
|
-
* Error codes that can be attached to `StorageError`
|
|
120
|
+
* Error codes that can be attached to `StorageError` objects.
|
|
121
121
|
*/
|
|
122
122
|
var StorageErrorCode;
|
|
123
123
|
(function (StorageErrorCode) {
|
|
@@ -3379,7 +3379,7 @@ class FirebaseStorageImpl {
|
|
|
3379
3379
|
}
|
|
3380
3380
|
|
|
3381
3381
|
const name = "@firebase/storage";
|
|
3382
|
-
const version = "0.11.
|
|
3382
|
+
const version = "0.11.2-20230301191949";
|
|
3383
3383
|
|
|
3384
3384
|
/**
|
|
3385
3385
|
* @license
|