@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
|
@@ -23,13 +23,13 @@ export declare class StorageError extends FirebaseError {
|
|
|
23
23
|
private status_;
|
|
24
24
|
private readonly _baseMessage;
|
|
25
25
|
/**
|
|
26
|
-
* Stores custom error data
|
|
26
|
+
* Stores custom error data unique to the `StorageError`.
|
|
27
27
|
*/
|
|
28
28
|
customData: {
|
|
29
29
|
serverResponse: string | null;
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* @param code - A StorageErrorCode string to be prefixed with 'storage/' and
|
|
32
|
+
* @param code - A `StorageErrorCode` string to be prefixed with 'storage/' and
|
|
33
33
|
* added to the end of the message.
|
|
34
34
|
* @param message - Error message.
|
|
35
35
|
* @param status_ - Corresponding HTTP Status Code
|
|
@@ -38,7 +38,7 @@ export declare class StorageError extends FirebaseError {
|
|
|
38
38
|
get status(): number;
|
|
39
39
|
set status(status: number);
|
|
40
40
|
/**
|
|
41
|
-
* Compares a StorageErrorCode against this error's code, filtering out the prefix.
|
|
41
|
+
* Compares a `StorageErrorCode` against this error's code, filtering out the prefix.
|
|
42
42
|
*/
|
|
43
43
|
_codeEquals(code: StorageErrorCode): boolean;
|
|
44
44
|
/**
|
|
@@ -50,7 +50,7 @@ export declare class StorageError extends FirebaseError {
|
|
|
50
50
|
export declare const errors: {};
|
|
51
51
|
/**
|
|
52
52
|
* @public
|
|
53
|
-
* Error codes that can be attached to `StorageError`
|
|
53
|
+
* Error codes that can be attached to `StorageError` objects.
|
|
54
54
|
*/
|
|
55
55
|
export declare enum StorageErrorCode {
|
|
56
56
|
UNKNOWN = "unknown",
|
|
@@ -23,13 +23,13 @@ export declare class StorageError extends FirebaseError {
|
|
|
23
23
|
private status_;
|
|
24
24
|
private readonly _baseMessage;
|
|
25
25
|
/**
|
|
26
|
-
* Stores custom error data
|
|
26
|
+
* Stores custom error data unique to the `StorageError`.
|
|
27
27
|
*/
|
|
28
28
|
customData: {
|
|
29
29
|
serverResponse: string | null;
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* @param code - A StorageErrorCode string to be prefixed with 'storage/' and
|
|
32
|
+
* @param code - A `StorageErrorCode` string to be prefixed with 'storage/' and
|
|
33
33
|
* added to the end of the message.
|
|
34
34
|
* @param message - Error message.
|
|
35
35
|
* @param status_ - Corresponding HTTP Status Code
|
|
@@ -38,7 +38,7 @@ export declare class StorageError extends FirebaseError {
|
|
|
38
38
|
get status(): number;
|
|
39
39
|
set status(status: number);
|
|
40
40
|
/**
|
|
41
|
-
* Compares a StorageErrorCode against this error's code, filtering out the prefix.
|
|
41
|
+
* Compares a `StorageErrorCode` against this error's code, filtering out the prefix.
|
|
42
42
|
*/
|
|
43
43
|
_codeEquals(code: StorageErrorCode): boolean;
|
|
44
44
|
/**
|
|
@@ -50,7 +50,7 @@ export declare class StorageError extends FirebaseError {
|
|
|
50
50
|
export declare const errors: {};
|
|
51
51
|
/**
|
|
52
52
|
* @public
|
|
53
|
-
* Error codes that can be attached to `StorageError`
|
|
53
|
+
* Error codes that can be attached to `StorageError` objects.
|
|
54
54
|
*/
|
|
55
55
|
export declare enum StorageErrorCode {
|
|
56
56
|
UNKNOWN = "unknown",
|
package/dist/storage-public.d.ts
CHANGED
|
@@ -310,13 +310,13 @@ export declare interface SettableMetadata {
|
|
|
310
310
|
export declare class StorageError extends FirebaseError {
|
|
311
311
|
private status_;
|
|
312
312
|
/**
|
|
313
|
-
* Stores custom error data
|
|
313
|
+
* Stores custom error data unique to the `StorageError`.
|
|
314
314
|
*/
|
|
315
315
|
customData: {
|
|
316
316
|
serverResponse: string | null;
|
|
317
317
|
};
|
|
318
318
|
/**
|
|
319
|
-
* @param code - A StorageErrorCode string to be prefixed with 'storage/' and
|
|
319
|
+
* @param code - A `StorageErrorCode` string to be prefixed with 'storage/' and
|
|
320
320
|
* added to the end of the message.
|
|
321
321
|
* @param message - Error message.
|
|
322
322
|
* @param status_ - Corresponding HTTP Status Code
|
|
@@ -332,7 +332,7 @@ export declare class StorageError extends FirebaseError {
|
|
|
332
332
|
}
|
|
333
333
|
/**
|
|
334
334
|
* @public
|
|
335
|
-
* Error codes that can be attached to `StorageError`
|
|
335
|
+
* Error codes that can be attached to `StorageError` objects.
|
|
336
336
|
*/
|
|
337
337
|
export declare enum StorageErrorCode {
|
|
338
338
|
UNKNOWN = "unknown",
|
package/dist/storage.d.ts
CHANGED
|
@@ -725,13 +725,13 @@ export declare class StorageError extends FirebaseError {
|
|
|
725
725
|
private status_;
|
|
726
726
|
private readonly _baseMessage;
|
|
727
727
|
/**
|
|
728
|
-
* Stores custom error data
|
|
728
|
+
* Stores custom error data unique to the `StorageError`.
|
|
729
729
|
*/
|
|
730
730
|
customData: {
|
|
731
731
|
serverResponse: string | null;
|
|
732
732
|
};
|
|
733
733
|
/**
|
|
734
|
-
* @param code - A StorageErrorCode string to be prefixed with 'storage/' and
|
|
734
|
+
* @param code - A `StorageErrorCode` string to be prefixed with 'storage/' and
|
|
735
735
|
* added to the end of the message.
|
|
736
736
|
* @param message - Error message.
|
|
737
737
|
* @param status_ - Corresponding HTTP Status Code
|
|
@@ -740,7 +740,7 @@ export declare class StorageError extends FirebaseError {
|
|
|
740
740
|
get status(): number;
|
|
741
741
|
set status(status: number);
|
|
742
742
|
/**
|
|
743
|
-
* Compares a StorageErrorCode against this error's code, filtering out the prefix.
|
|
743
|
+
* Compares a `StorageErrorCode` against this error's code, filtering out the prefix.
|
|
744
744
|
*/
|
|
745
745
|
_codeEquals(code: StorageErrorCode): boolean;
|
|
746
746
|
/**
|
|
@@ -752,7 +752,7 @@ export declare class StorageError extends FirebaseError {
|
|
|
752
752
|
|
|
753
753
|
/**
|
|
754
754
|
* @public
|
|
755
|
-
* Error codes that can be attached to `StorageError`
|
|
755
|
+
* Error codes that can be attached to `StorageError` objects.
|
|
756
756
|
*/
|
|
757
757
|
export declare enum StorageErrorCode {
|
|
758
758
|
UNKNOWN = "unknown",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/storage",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2-20230301191949",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/index.node.cjs.js",
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
},
|
|
47
47
|
"license": "Apache-2.0",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@firebase/util": "1.9.
|
|
50
|
-
"@firebase/component": "0.6.
|
|
49
|
+
"@firebase/util": "1.9.3-20230301191949",
|
|
50
|
+
"@firebase/component": "0.6.4-20230301191949",
|
|
51
51
|
"node-fetch": "2.6.7",
|
|
52
52
|
"tslib": "^2.1.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@firebase/app": "0.
|
|
55
|
+
"@firebase/app": "0.9.4-20230301191949"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@firebase/app": "0.9.
|
|
59
|
-
"@firebase/auth": "0.21.
|
|
58
|
+
"@firebase/app": "0.9.4-20230301191949",
|
|
59
|
+
"@firebase/auth": "0.21.4-20230301191949",
|
|
60
60
|
"rollup": "2.79.1",
|
|
61
61
|
"@rollup/plugin-alias": "3.1.9",
|
|
62
62
|
"@rollup/plugin-json": "4.1.0",
|