@infrab4a/connect 4.25.2-beta.1 → 4.25.2-beta.2

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.cjs.js CHANGED
@@ -3166,7 +3166,7 @@ class AuthenticationFirebaseAuthService {
3166
3166
  };
3167
3167
  }
3168
3168
  async signInWithGoogle() {
3169
- const credentials = await auth.signInWithPopup(this.firebaseAuth, new auth.GoogleAuthProvider());
3169
+ const credentials = await auth.signInWithPopup(this.firebaseAuth, new auth.GoogleAuthProvider(), auth.browserPopupRedirectResolver);
3170
3170
  const user = credentials.user;
3171
3171
  return {
3172
3172
  id: user.uid,
package/index.esm.js CHANGED
@@ -9,7 +9,7 @@ import { debug } from 'debug';
9
9
  import * as serializeJavascript from 'serialize-javascript';
10
10
  import { CustomError } from 'ts-custom-error';
11
11
  import axios, { AxiosError } from 'axios';
12
- import { signInWithEmailAndPassword, signInWithPopup, GoogleAuthProvider, signInAnonymously, sendPasswordResetEmail, createUserWithEmailAndPassword, sendEmailVerification } from 'firebase/auth';
12
+ import { signInWithEmailAndPassword, signInWithPopup, GoogleAuthProvider, browserPopupRedirectResolver, signInAnonymously, sendPasswordResetEmail, createUserWithEmailAndPassword, sendEmailVerification } from 'firebase/auth';
13
13
  import { Md5 } from 'ts-md5';
14
14
  import { deleteField, arrayUnion, arrayRemove, Timestamp, doc, getDoc, updateDoc, setDoc, deleteDoc, collection, limit, getDocs, query, where, orderBy, startAfter, addDoc } from 'firebase/firestore';
15
15
  import { ref, uploadBytes } from 'firebase/storage';
@@ -3141,7 +3141,7 @@ class AuthenticationFirebaseAuthService {
3141
3141
  };
3142
3142
  }
3143
3143
  async signInWithGoogle() {
3144
- const credentials = await signInWithPopup(this.firebaseAuth, new GoogleAuthProvider());
3144
+ const credentials = await signInWithPopup(this.firebaseAuth, new GoogleAuthProvider(), browserPopupRedirectResolver);
3145
3145
  const user = credentials.user;
3146
3146
  return {
3147
3147
  id: user.uid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "4.25.2-beta.1",
3
+ "version": "4.25.2-beta.2",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },