@react-native-firebase/storage 24.0.0 → 24.1.1
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 +8 -0
- package/lib/index.d.ts +10 -10
- package/lib/modular/index.d.ts +2 -2
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/typedoc.json +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [24.1.1](https://github.com/invertase/react-native-firebase/compare/v24.1.0...v24.1.1) (2026-06-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @react-native-firebase/storage
|
|
9
|
+
|
|
10
|
+
## [24.1.0](https://github.com/invertase/react-native-firebase/compare/v24.0.0...v24.1.0) (2026-06-05)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @react-native-firebase/storage
|
|
13
|
+
|
|
6
14
|
## [24.0.0](https://github.com/invertase/react-native-firebase/compare/v23.8.6...v24.0.0) (2026-04-01)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @react-native-firebase/storage
|
package/lib/index.d.ts
CHANGED
|
@@ -632,7 +632,7 @@ export namespace FirebaseStorageTypes {
|
|
|
632
632
|
put(data: Blob | Uint8Array | ArrayBuffer, metadata?: SettableMetadata): Task;
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
|
-
* Puts a string on the storage bucket. Depending on the string type, set a {@link
|
|
635
|
+
* Puts a string on the storage bucket. Depending on the string type, set a {@link StringFormat} type.
|
|
636
636
|
*
|
|
637
637
|
* #### Example
|
|
638
638
|
*
|
|
@@ -673,7 +673,7 @@ export namespace FirebaseStorageTypes {
|
|
|
673
673
|
}
|
|
674
674
|
|
|
675
675
|
/**
|
|
676
|
-
* The snapshot observer returned from a {@link
|
|
676
|
+
* The snapshot observer returned from a {@link Task#on} listener.
|
|
677
677
|
*
|
|
678
678
|
* #### Example
|
|
679
679
|
*
|
|
@@ -894,12 +894,12 @@ export namespace FirebaseStorageTypes {
|
|
|
894
894
|
bytesTransferred: number;
|
|
895
895
|
|
|
896
896
|
/**
|
|
897
|
-
* The metadata of the tasks via a {@link
|
|
897
|
+
* The metadata of the tasks via a {@link FullMetadata} interface.
|
|
898
898
|
*/
|
|
899
899
|
metadata: FullMetadata;
|
|
900
900
|
|
|
901
901
|
/**
|
|
902
|
-
* The {@link
|
|
902
|
+
* The {@link Reference} of the task.
|
|
903
903
|
*/
|
|
904
904
|
ref: Reference;
|
|
905
905
|
|
|
@@ -909,7 +909,7 @@ export namespace FirebaseStorageTypes {
|
|
|
909
909
|
state: 'cancelled' | 'error' | 'paused' | 'running' | 'success';
|
|
910
910
|
|
|
911
911
|
/**
|
|
912
|
-
* The parent {@link
|
|
912
|
+
* The parent {@link Task} of this snapshot.
|
|
913
913
|
*/
|
|
914
914
|
task: Task;
|
|
915
915
|
|
|
@@ -919,7 +919,7 @@ export namespace FirebaseStorageTypes {
|
|
|
919
919
|
totalBytes: number;
|
|
920
920
|
|
|
921
921
|
/**
|
|
922
|
-
* If the {@link
|
|
922
|
+
* If the {@link TaskSnapshot#state} is `error`, returns a JavaScript error of the
|
|
923
923
|
* current task snapshot.
|
|
924
924
|
*/
|
|
925
925
|
error?: NativeFirebaseError;
|
|
@@ -930,12 +930,12 @@ export namespace FirebaseStorageTypes {
|
|
|
930
930
|
*/
|
|
931
931
|
export interface TaskResult {
|
|
932
932
|
/**
|
|
933
|
-
* The metadata of the tasks via a {@link
|
|
933
|
+
* The metadata of the tasks via a {@link FullMetadata} interface.
|
|
934
934
|
*/
|
|
935
935
|
metadata: FullMetadata;
|
|
936
936
|
|
|
937
937
|
/**
|
|
938
|
-
* The {@link
|
|
938
|
+
* The {@link Reference} of the task.
|
|
939
939
|
*/
|
|
940
940
|
ref: Reference;
|
|
941
941
|
}
|
|
@@ -1099,7 +1099,7 @@ export namespace FirebaseStorageTypes {
|
|
|
1099
1099
|
setMaxOperationRetryTime(time: number): Promise<void>;
|
|
1100
1100
|
|
|
1101
1101
|
/**
|
|
1102
|
-
* Returns a new {@link
|
|
1102
|
+
* Returns a new {@link Reference} instance.
|
|
1103
1103
|
*
|
|
1104
1104
|
* #### Example
|
|
1105
1105
|
*
|
|
@@ -1113,7 +1113,7 @@ export namespace FirebaseStorageTypes {
|
|
|
1113
1113
|
ref(path?: string): Reference;
|
|
1114
1114
|
|
|
1115
1115
|
/**
|
|
1116
|
-
* Returns a new {@link
|
|
1116
|
+
* Returns a new {@link Reference} instance from a storage bucket URL.
|
|
1117
1117
|
*
|
|
1118
1118
|
* #### Example
|
|
1119
1119
|
*
|
package/lib/modular/index.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export declare function getStorage(app?: FirebaseApp, bucketUrl?: string): Stora
|
|
|
55
55
|
*
|
|
56
56
|
* @param app - The {@link FirebaseApp} instance that the returned {@link Storage}
|
|
57
57
|
* instance is associated with.
|
|
58
|
-
* @returns The {@link
|
|
58
|
+
* @returns The {@link Storage} instance of the provided app.
|
|
59
59
|
*/
|
|
60
60
|
export declare function getStorage(app?: FirebaseApp): Storage;
|
|
61
61
|
|
|
@@ -67,7 +67,7 @@ export declare function getStorage(app?: FirebaseApp): Storage;
|
|
|
67
67
|
* @param app - The {@link FirebaseApp} instance that the returned {@link Storage}
|
|
68
68
|
* instance is associated with. If `null` the default app is used.
|
|
69
69
|
* @param bucketUrl - The gs:// url to the Firebase Storage Bucket. If `null` the default bucket is used.
|
|
70
|
-
* @returns The {@link
|
|
70
|
+
* @returns The {@link Storage} instance of the provided app.
|
|
71
71
|
*/
|
|
72
72
|
export declare function getStorage(app?: FirebaseApp, bucketUrl?: string): Storage;
|
|
73
73
|
|
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
module.exports = '24.
|
|
2
|
+
module.exports = '24.1.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-firebase/storage",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.1.1",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"description": "React Native Firebase - React Native Firebase provides native integration with Cloud Storage, providing support to upload and download files directly from your device and from your Firebase Cloud Storage bucket.",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"download"
|
|
30
30
|
],
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@react-native-firebase/app": "24.
|
|
32
|
+
"@react-native-firebase/app": "24.1.1"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public",
|
|
36
36
|
"provenance": true
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "ea699f0bbcc98d25eebea4bfbe88cf1e9f2d0107"
|
|
39
39
|
}
|