@vueuse/firebase 12.7.0 → 12.8.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.cts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as _firebase_auth from '@firebase/auth';
2
2
  import { User, Auth } from 'firebase/auth';
3
- import { ComputedRef, Ref } from 'vue';
4
- import { MaybeRef } from '@vueuse/shared';
3
+ import { ComputedRef, Ref, MaybeRef } from 'vue';
5
4
  import { Query, DocumentReference, DocumentData } from 'firebase/firestore';
6
5
  import { DatabaseReference } from 'firebase/database';
7
6
 
package/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as _firebase_auth from '@firebase/auth';
2
2
  import { User, Auth } from 'firebase/auth';
3
- import { ComputedRef, Ref } from 'vue';
4
- import { MaybeRef } from '@vueuse/shared';
3
+ import { ComputedRef, Ref, MaybeRef } from 'vue';
5
4
  import { Query, DocumentReference, DocumentData } from 'firebase/firestore';
6
5
  import { DatabaseReference } from 'firebase/database';
7
6
 
package/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as _firebase_auth from '@firebase/auth';
2
2
  import { User, Auth } from 'firebase/auth';
3
- import { ComputedRef, Ref } from 'vue';
4
- import { MaybeRef } from '@vueuse/shared';
3
+ import { ComputedRef, Ref, MaybeRef } from 'vue';
5
4
  import { Query, DocumentReference, DocumentData } from 'firebase/firestore';
6
5
  import { DatabaseReference } from 'firebase/database';
7
6
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vueuse/firebase",
3
3
  "type": "module",
4
- "version": "12.7.0",
4
+ "version": "12.8.0",
5
5
  "description": "Enables realtime bindings for Firebase",
6
6
  "author": "Anthony Fu <https://github.com/antfu>",
7
7
  "license": "MIT",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "vue": "^3.5.13",
63
- "@vueuse/shared": "12.7.0"
63
+ "@vueuse/shared": "12.8.0"
64
64
  },
65
65
  "scripts": {
66
66
  "build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild"
@@ -1,6 +1,5 @@
1
- import { MaybeRef } from '@vueuse/shared';
2
1
  import { Query, DocumentReference, DocumentData } from 'firebase/firestore';
3
- import { Ref } from 'vue';
2
+ import { MaybeRef, Ref } from 'vue';
4
3
 
5
4
  interface UseFirestoreOptions {
6
5
  errorHandler?: (err: Error) => void;
@@ -1,6 +1,5 @@
1
- import { MaybeRef } from '@vueuse/shared';
2
1
  import { Query, DocumentReference, DocumentData } from 'firebase/firestore';
3
- import { Ref } from 'vue';
2
+ import { MaybeRef, Ref } from 'vue';
4
3
 
5
4
  interface UseFirestoreOptions {
6
5
  errorHandler?: (err: Error) => void;
package/useFirestore.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- import { MaybeRef } from '@vueuse/shared';
2
1
  import { Query, DocumentReference, DocumentData } from 'firebase/firestore';
3
- import { Ref } from 'vue';
2
+ import { MaybeRef, Ref } from 'vue';
4
3
 
5
4
  interface UseFirestoreOptions {
6
5
  errorHandler?: (err: Error) => void;