@vueuse/firebase 13.4.0 → 13.6.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 -0
- package/index.iife.js +1 -0
- package/index.mjs +1 -0
- package/package.json +2 -2
- package/useAuth.d.mts +2 -0
- package/useAuth.iife.js +1 -0
- package/useAuth.mjs +1 -0
package/index.d.mts
CHANGED
package/index.iife.js
CHANGED
package/index.mjs
CHANGED
|
@@ -3,6 +3,7 @@ import { isDef, tryOnScopeDispose, useTimeoutFn } from '@vueuse/shared';
|
|
|
3
3
|
import { onSnapshot } from 'firebase/firestore';
|
|
4
4
|
import { onValue } from 'firebase/database';
|
|
5
5
|
|
|
6
|
+
// @__NO_SIDE_EFFECTS__
|
|
6
7
|
function useAuth(auth) {
|
|
7
8
|
const user = ref(auth.currentUser);
|
|
8
9
|
const isAuthenticated = computed(() => !!user.value);
|
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.6.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.6.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "rollup --config=rollup.config.ts --configPlugin=rollup-plugin-esbuild",
|
package/useAuth.d.mts
CHANGED
package/useAuth.iife.js
CHANGED