@vueuse/firebase 13.0.0 → 13.2.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 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 { type FirebaseDocRef, type UseFirebaseAuthOptions, type UseFirestoreOptions, type UseRTDBOptions, useAuth, useFirestore, useRTDB };
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.0.0",
4
+ "version": "13.2.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.0.0"
48
+ "@vueuse/shared": "13.2.0"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
package/useAuth.d.mts CHANGED
@@ -72,4 +72,5 @@ declare function useAuth(auth: Auth): {
72
72
  } | null>;
73
73
  };
74
74
 
75
- export { type UseFirebaseAuthOptions, useAuth };
75
+ export { useAuth };
76
+ export type { UseFirebaseAuthOptions };
@@ -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 { type FirebaseDocRef, type UseFirestoreOptions, useFirestore };
15
+ export { useFirestore };
16
+ export type { FirebaseDocRef, UseFirestoreOptions };
package/useRTDB.d.mts CHANGED
@@ -12,4 +12,5 @@ interface UseRTDBOptions {
12
12
  */
13
13
  declare function useRTDB<T = any>(docRef: DatabaseReference, options?: UseRTDBOptions): Ref<T | undefined, T | undefined>;
14
14
 
15
- export { type UseRTDBOptions, useRTDB };
15
+ export { useRTDB };
16
+ export type { UseRTDBOptions };