File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " purescript-firebase" ,
3
- "version" : " 0.0.7 " ,
3
+ "version" : " 0.0.8 " ,
4
4
"main" : " index.js" ,
5
5
"repository" : " https://github.com/codingedgar/purescript-firebase.git" ,
6
6
"author" :
" codingedgar <[email protected] >" ,
Original file line number Diff line number Diff line change 1
1
// @ts -check
2
- const { initializeApp, getApp } = require ( "firebase/app" ) ;
2
+ import { initializeApp , getApp } from "firebase/app" ;
3
3
4
4
export function initializeAppImp ( config ) {
5
5
return function ( ) {
Original file line number Diff line number Diff line change 1
1
// @ts -check
2
- const {
2
+ import {
3
3
getAuth ,
4
4
onAuthStateChanged ,
5
5
createUserWithEmailAndPassword ,
@@ -12,7 +12,7 @@ const {
12
12
sendSignInLinkToEmail ,
13
13
signInWithEmailLink ,
14
14
isSignInWithEmailLink ,
15
- } = require ( "firebase/auth" ) ;
15
+ } from "firebase/auth" ;
16
16
17
17
export {
18
18
getIdTokenResult as _getIdTokenResult ,
Original file line number Diff line number Diff line change 1
1
// @ts -check
2
- const {
2
+ import {
3
3
collection ,
4
4
query ,
5
5
where ,
@@ -10,7 +10,7 @@ const {
10
10
onSnapshot ,
11
11
setDoc ,
12
12
addDoc ,
13
- } = require ( "firebase/firestore" ) ;
13
+ } from "firebase/firestore" ;
14
14
15
15
/**
16
16
*
You can’t perform that action at this time.
0 commit comments