@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.node.cjs.js
CHANGED
|
@@ -78,7 +78,7 @@ const DEFAULT_MIN_SLEEP_TIME_MILLIS = 1000;
|
|
|
78
78
|
*/
|
|
79
79
|
class StorageError extends util.FirebaseError {
|
|
80
80
|
/**
|
|
81
|
-
* @param code - A StorageErrorCode string to be prefixed with 'storage/' and
|
|
81
|
+
* @param code - A `StorageErrorCode` string to be prefixed with 'storage/' and
|
|
82
82
|
* added to the end of the message.
|
|
83
83
|
* @param message - Error message.
|
|
84
84
|
* @param status_ - Corresponding HTTP Status Code
|
|
@@ -87,7 +87,7 @@ class StorageError extends util.FirebaseError {
|
|
|
87
87
|
super(prependCode(code), `Firebase Storage: ${message} (${prependCode(code)})`);
|
|
88
88
|
this.status_ = status_;
|
|
89
89
|
/**
|
|
90
|
-
* Stores custom error data
|
|
90
|
+
* Stores custom error data unique to the `StorageError`.
|
|
91
91
|
*/
|
|
92
92
|
this.customData = { serverResponse: null };
|
|
93
93
|
this._baseMessage = this.message;
|
|
@@ -102,7 +102,7 @@ class StorageError extends util.FirebaseError {
|
|
|
102
102
|
this.status_ = status;
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
|
-
* Compares a StorageErrorCode against this error's code, filtering out the prefix.
|
|
105
|
+
* Compares a `StorageErrorCode` against this error's code, filtering out the prefix.
|
|
106
106
|
*/
|
|
107
107
|
_codeEquals(code) {
|
|
108
108
|
return prependCode(code) === this.code;
|
|
@@ -125,7 +125,7 @@ class StorageError extends util.FirebaseError {
|
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
127
|
* @public
|
|
128
|
-
* Error codes that can be attached to `StorageError`
|
|
128
|
+
* Error codes that can be attached to `StorageError` objects.
|
|
129
129
|
*/
|
|
130
130
|
exports.StorageErrorCode = void 0;
|
|
131
131
|
(function (StorageErrorCode) {
|
|
@@ -3387,7 +3387,7 @@ class FirebaseStorageImpl {
|
|
|
3387
3387
|
}
|
|
3388
3388
|
|
|
3389
3389
|
const name = "@firebase/storage";
|
|
3390
|
-
const version = "0.11.
|
|
3390
|
+
const version = "0.11.2-20230301191949";
|
|
3391
3391
|
|
|
3392
3392
|
/**
|
|
3393
3393
|
* @license
|