@edgedev/firebase 1.5.8 → 1.5.9

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.
Files changed (2) hide show
  1. package/edgeFirebase.ts +3 -0
  2. package/package.json +1 -1
package/edgeFirebase.ts CHANGED
@@ -688,14 +688,17 @@ export const EdgeFirebase = class {
688
688
 
689
689
  // Composable to login and set persistence
690
690
  public logIn = (credentials: Credentials, isPersistant = false): void => {
691
+ this.user.logInErrorMessage = "Initial Click"
691
692
  try {
692
693
  this.logOut();
694
+ this.user.logInErrorMessage = "After Logout"
693
695
  let persistence: Persistence = browserSessionPersistence;
694
696
  if (isPersistant) {
695
697
  persistence = browserLocalPersistence;
696
698
  }
697
699
  setPersistence(this.auth, persistence)
698
700
  .then(() => {
701
+ this.user.logInErrorMessage = "After Persistence"
699
702
  signInWithEmailAndPassword(
700
703
  this.auth,
701
704
  credentials.email,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgedev/firebase",
3
- "version": "1.5.8",
3
+ "version": "1.5.9",
4
4
  "description": "Vue 3 / Nuxt 3 Plugin or Nuxt 3 global composable for firebase authentication and firestore.",
5
5
  "main": "index.ts",
6
6
  "scripts": {