@vueuse/firebase 13.0.0 → 13.1.0
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/index.d.mts +2 -1
- package/package.json +2 -2
- package/useAuth.d.mts +2 -1
- package/useFirestore.d.mts +2 -1
- package/useRTDB.d.mts +2 -1
package/index.d.mts
CHANGED
|
@@ -96,4 +96,5 @@ interface UseRTDBOptions {
|
|
|
96
96
|
*/
|
|
97
97
|
declare function useRTDB<T = any>(docRef: DatabaseReference, options?: UseRTDBOptions): Ref<T | undefined, T | undefined>;
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { useAuth, useFirestore, useRTDB };
|
|
100
|
+
export type { FirebaseDocRef, UseFirebaseAuthOptions, UseFirestoreOptions, UseRTDBOptions };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vueuse/firebase",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "13.
|
|
4
|
+
"version": "13.1.0",
|
|
5
5
|
"description": "Enables realtime bindings for Firebase",
|
|
6
6
|
"author": "Anthony Fu <https://github.com/antfu>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"vue": "^3.5.0"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@vueuse/shared": "13.
|
|
48
|
+
"@vueuse/shared": "13.1.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
|
package/useAuth.d.mts
CHANGED
package/useFirestore.d.mts
CHANGED
|
@@ -12,4 +12,5 @@ declare function useFirestore<T extends DocumentData>(maybeDocRef: MaybeRef<Quer
|
|
|
12
12
|
declare function useFirestore<T extends DocumentData>(maybeDocRef: MaybeRef<DocumentReference<T> | Falsy>, initialValue?: T | undefined | null, options?: UseFirestoreOptions): Ref<T | undefined | null>;
|
|
13
13
|
declare function useFirestore<T extends DocumentData>(maybeDocRef: MaybeRef<Query<T> | Falsy>, initialValue?: T[], options?: UseFirestoreOptions): Ref<T[] | undefined>;
|
|
14
14
|
|
|
15
|
-
export {
|
|
15
|
+
export { useFirestore };
|
|
16
|
+
export type { FirebaseDocRef, UseFirestoreOptions };
|
package/useRTDB.d.mts
CHANGED