@edgedev/firebase 1.0.21 → 1.0.23
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.ts +1 -1
- package/package.json +3 -2
package/index.ts
CHANGED
|
@@ -29,10 +29,10 @@ const firebaseConfig = {
|
|
|
29
29
|
|
|
30
30
|
// Initialize Firebase
|
|
31
31
|
const app = initializeApp(firebaseConfig);
|
|
32
|
+
const auth = getAuth();
|
|
32
33
|
const db = getFirestore(app);
|
|
33
34
|
|
|
34
35
|
export const signIn = async (credentials: Credentials): Promise<object> => {
|
|
35
|
-
const auth = getAuth(app);
|
|
36
36
|
const user = await signInWithEmailAndPassword(
|
|
37
37
|
auth,
|
|
38
38
|
credentials.email,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edgedev/firebase",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"description": "Composables and stores for firebase",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"author": "Seth Fischer",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"prettier": "^2.7.1",
|
|
18
18
|
"typescript": "^4.8.4",
|
|
19
19
|
"vite": "^3.1.8",
|
|
20
|
-
"vue": "^3.2.41"
|
|
20
|
+
"vue": "^3.2.41",
|
|
21
|
+
"firebase": "^9.12.1"
|
|
21
22
|
},
|
|
22
23
|
"dependencies": {},
|
|
23
24
|
"peerDependencies": {
|