@firebase/auth 1.2.0 → 1.3.0-20230822180558
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/dist/browser-cjs/{index-5590c19e.js → index-d0ad95f5.js} +2 -2
- package/dist/browser-cjs/{index-5590c19e.js.map → index-d0ad95f5.js.map} +1 -1
- package/dist/browser-cjs/index.js +1 -1
- package/dist/browser-cjs/index.rn.d.ts +11 -3
- package/dist/browser-cjs/internal.js +1 -1
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/index.rn.d.ts +11 -3
- package/dist/cordova/internal.js +2 -2
- package/dist/cordova/{popup_redirect-bbfe516d.js → popup_redirect-2285d79a.js} +2 -2
- package/dist/cordova/{popup_redirect-bbfe516d.js.map → popup_redirect-2285d79a.js.map} +1 -1
- package/dist/esm2017/{index-81415345.js → index-84a57f67.js} +2 -2
- package/dist/esm2017/{index-81415345.js.map → index-84a57f67.js.map} +1 -1
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/index.rn.d.ts +11 -3
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm5/{index-2e0f742b.js → index-dbcd7b68.js} +2 -2
- package/dist/esm5/{index-2e0f742b.js.map → index-dbcd7b68.js.map} +1 -1
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/index.rn.d.ts +11 -3
- package/dist/esm5/internal.js +2 -2
- package/dist/index.rn.d.ts +11 -3
- package/dist/index.webworker.esm5.js +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/index.rn.d.ts +11 -3
- package/dist/node/internal.js +1 -1
- package/dist/node/{totp-d1683767.js → totp-ee59a1c9.js} +2 -2
- package/dist/node/{totp-d1683767.js.map → totp-ee59a1c9.js.map} +1 -1
- package/dist/node-esm/index.js +1 -1
- package/dist/node-esm/index.rn.d.ts +11 -3
- package/dist/node-esm/internal.js +2 -2
- package/dist/node-esm/{totp-fafe3607.js → totp-156b512f.js} +2 -2
- package/dist/node-esm/{totp-fafe3607.js.map → totp-156b512f.js.map} +1 -1
- package/dist/rn/{phone-13539df0.js → index-4137d73f.js} +5 -4
- package/dist/rn/{phone-13539df0.js.map → index-4137d73f.js.map} +1 -1
- package/dist/rn/index.js +90 -80
- package/dist/rn/index.js.map +1 -1
- package/dist/rn/index.rn.d.ts +11 -3
- package/dist/rn/internal.js +198 -198
- package/package.json +8 -3
package/dist/esm5/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ActionCodeOperation, ah as ActionCodeURL, K as AuthCredential, H as AuthErrorCodes, L as EmailAuthCredential, U as EmailAuthProvider, V as FacebookAuthProvider, F as FactorId, X as GithubAuthProvider, W as GoogleAuthProvider, M as OAuthCredential, Y as OAuthProvider, O as OperationType, N as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, Z as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, _ as TwitterAuthProvider, a6 as applyActionCode, x as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a7 as checkActionCode, a5 as confirmPasswordReset, J as connectAuthEmulator, a9 as createUserWithEmailAndPassword, E as debugErrorMap, D as deleteUser, ae as fetchSignInMethodsForEmail, ap as getAdditionalUserInfo, o as getAuth, am as getIdToken, an as getIdTokenResult, ar as getMultiFactorResolver, j as getRedirectResult, Q as inMemoryPersistence, i as indexedDBLocalPersistence, I as initializeAuth, t as initializeRecaptchaConfig, ac as isSignInWithEmailLink, a1 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, as as multiFactor, y as onAuthStateChanged, w as onIdTokenChanged, ai as parseActionCodeURL, G as prodErrorMap, a2 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, aq as reload, af as sendEmailVerification, a4 as sendPasswordResetEmail, ab as sendSignInLinkToEmail, q as setPersistence, $ as signInAnonymously, a0 as signInWithCredential, a3 as signInWithCustomToken, aa as signInWithEmailAndPassword, ad as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, C as signOut, ao as unlink, B as updateCurrentUser, ak as updateEmail, al as updatePassword, u as updatePhoneNumber, aj as updateProfile, z as useDeviceLanguage, v as validatePassword, ag as verifyBeforeUpdateEmail, a8 as verifyPasswordResetCode } from './index-
|
|
1
|
+
export { A as ActionCodeOperation, ah as ActionCodeURL, K as AuthCredential, H as AuthErrorCodes, L as EmailAuthCredential, U as EmailAuthProvider, V as FacebookAuthProvider, F as FactorId, X as GithubAuthProvider, W as GoogleAuthProvider, M as OAuthCredential, Y as OAuthProvider, O as OperationType, N as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, Z as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, _ as TwitterAuthProvider, a6 as applyActionCode, x as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a7 as checkActionCode, a5 as confirmPasswordReset, J as connectAuthEmulator, a9 as createUserWithEmailAndPassword, E as debugErrorMap, D as deleteUser, ae as fetchSignInMethodsForEmail, ap as getAdditionalUserInfo, o as getAuth, am as getIdToken, an as getIdTokenResult, ar as getMultiFactorResolver, j as getRedirectResult, Q as inMemoryPersistence, i as indexedDBLocalPersistence, I as initializeAuth, t as initializeRecaptchaConfig, ac as isSignInWithEmailLink, a1 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, as as multiFactor, y as onAuthStateChanged, w as onIdTokenChanged, ai as parseActionCodeURL, G as prodErrorMap, a2 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, aq as reload, af as sendEmailVerification, a4 as sendPasswordResetEmail, ab as sendSignInLinkToEmail, q as setPersistence, $ as signInAnonymously, a0 as signInWithCredential, a3 as signInWithCustomToken, aa as signInWithEmailAndPassword, ad as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, C as signOut, ao as unlink, B as updateCurrentUser, ak as updateEmail, al as updatePassword, u as updatePhoneNumber, aj as updateProfile, z as useDeviceLanguage, v as validatePassword, ag as verifyBeforeUpdateEmail, a8 as verifyPasswordResetCode } from './index-dbcd7b68.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
import '@firebase/util';
|
|
4
4
|
import '@firebase/app';
|
package/dist/esm5/index.rn.d.ts
CHANGED
|
@@ -21,11 +21,19 @@
|
|
|
21
21
|
* just use index.ts
|
|
22
22
|
*/
|
|
23
23
|
import { FirebaseApp } from '@firebase/app';
|
|
24
|
-
import { Auth } from './src/model/public_types';
|
|
25
|
-
import { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';
|
|
24
|
+
import { Auth, Dependencies } from './src/model/public_types';
|
|
26
25
|
export * from './index.shared';
|
|
27
26
|
export { PhoneAuthProvider } from './src/platform_browser/providers/phone';
|
|
28
27
|
export { signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber } from './src/platform_browser/strategies/phone';
|
|
29
28
|
export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
|
|
30
|
-
export { getReactNativePersistence };
|
|
29
|
+
export { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';
|
|
31
30
|
export declare function getAuth(app?: FirebaseApp): Auth;
|
|
31
|
+
/**
|
|
32
|
+
* Wrapper around base `initializeAuth()` for RN users only, which
|
|
33
|
+
* shows the warning message if no persistence is provided.
|
|
34
|
+
* Double-checked potential collision with `export * from './index.shared'`
|
|
35
|
+
* as `./index.shared` also exports `initializeAuth()`, and the final
|
|
36
|
+
* bundle does correctly export only this `initializeAuth()` function
|
|
37
|
+
* and not the one from index.shared.
|
|
38
|
+
*/
|
|
39
|
+
export declare function initializeAuth(app: FirebaseApp, deps?: Dependencies): Auth;
|
package/dist/esm5/internal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { at as _isIOS, au as _isAndroid, av as _fail, aw as _getRedirectUrl, ax as debugAssert, ay as _getProjectConfig, az as _isIOS7Or8, aA as _assert, aB as _createError, aC as AuthEventManager, aD as _getInstance, b as browserLocalPersistence, aE as _persistenceKeyName, aF as _clearRedirectOutcomes, a as browserSessionPersistence, aG as _getRedirectResult, aH as _overrideRedirectResult, aI as _castAuth } from './index-
|
|
2
|
-
export { A as ActionCodeOperation, ah as ActionCodeURL, K as AuthCredential, H as AuthErrorCodes, aK as AuthImpl, aN as AuthPopup, L as EmailAuthCredential, U as EmailAuthProvider, V as FacebookAuthProvider, F as FactorId, aO as FetchProvider, X as GithubAuthProvider, W as GoogleAuthProvider, M as OAuthCredential, Y as OAuthProvider, O as OperationType, N as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, aP as SAMLAuthCredential, Z as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, _ as TwitterAuthProvider, aJ as UserImpl, aA as _assert, aI as _castAuth, av as _fail, aM as _generateEventId, aL as _getClientVersion, aD as _getInstance, aG as _getRedirectResult, aH as _overrideRedirectResult, aE as _persistenceKeyName, a6 as applyActionCode, x as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a7 as checkActionCode, a5 as confirmPasswordReset, J as connectAuthEmulator, a9 as createUserWithEmailAndPassword, E as debugErrorMap, D as deleteUser, ae as fetchSignInMethodsForEmail, ap as getAdditionalUserInfo, o as getAuth, am as getIdToken, an as getIdTokenResult, ar as getMultiFactorResolver, j as getRedirectResult, Q as inMemoryPersistence, i as indexedDBLocalPersistence, I as initializeAuth, t as initializeRecaptchaConfig, ac as isSignInWithEmailLink, a1 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, as as multiFactor, y as onAuthStateChanged, w as onIdTokenChanged, ai as parseActionCodeURL, G as prodErrorMap, a2 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, aq as reload, af as sendEmailVerification, a4 as sendPasswordResetEmail, ab as sendSignInLinkToEmail, q as setPersistence, $ as signInAnonymously, a0 as signInWithCredential, a3 as signInWithCustomToken, aa as signInWithEmailAndPassword, ad as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, C as signOut, ao as unlink, B as updateCurrentUser, ak as updateEmail, al as updatePassword, u as updatePhoneNumber, aj as updateProfile, z as useDeviceLanguage, v as validatePassword, ag as verifyBeforeUpdateEmail, a8 as verifyPasswordResetCode } from './index-
|
|
1
|
+
import { at as _isIOS, au as _isAndroid, av as _fail, aw as _getRedirectUrl, ax as debugAssert, ay as _getProjectConfig, az as _isIOS7Or8, aA as _assert, aB as _createError, aC as AuthEventManager, aD as _getInstance, b as browserLocalPersistence, aE as _persistenceKeyName, aF as _clearRedirectOutcomes, a as browserSessionPersistence, aG as _getRedirectResult, aH as _overrideRedirectResult, aI as _castAuth } from './index-dbcd7b68.js';
|
|
2
|
+
export { A as ActionCodeOperation, ah as ActionCodeURL, K as AuthCredential, H as AuthErrorCodes, aK as AuthImpl, aN as AuthPopup, L as EmailAuthCredential, U as EmailAuthProvider, V as FacebookAuthProvider, F as FactorId, aO as FetchProvider, X as GithubAuthProvider, W as GoogleAuthProvider, M as OAuthCredential, Y as OAuthProvider, O as OperationType, N as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, aP as SAMLAuthCredential, Z as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, _ as TwitterAuthProvider, aJ as UserImpl, aA as _assert, aI as _castAuth, av as _fail, aM as _generateEventId, aL as _getClientVersion, aD as _getInstance, aG as _getRedirectResult, aH as _overrideRedirectResult, aE as _persistenceKeyName, a6 as applyActionCode, x as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a7 as checkActionCode, a5 as confirmPasswordReset, J as connectAuthEmulator, a9 as createUserWithEmailAndPassword, E as debugErrorMap, D as deleteUser, ae as fetchSignInMethodsForEmail, ap as getAdditionalUserInfo, o as getAuth, am as getIdToken, an as getIdTokenResult, ar as getMultiFactorResolver, j as getRedirectResult, Q as inMemoryPersistence, i as indexedDBLocalPersistence, I as initializeAuth, t as initializeRecaptchaConfig, ac as isSignInWithEmailLink, a1 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, as as multiFactor, y as onAuthStateChanged, w as onIdTokenChanged, ai as parseActionCodeURL, G as prodErrorMap, a2 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, aq as reload, af as sendEmailVerification, a4 as sendPasswordResetEmail, ab as sendSignInLinkToEmail, q as setPersistence, $ as signInAnonymously, a0 as signInWithCredential, a3 as signInWithCustomToken, aa as signInWithEmailAndPassword, ad as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, C as signOut, ao as unlink, B as updateCurrentUser, ak as updateEmail, al as updatePassword, u as updatePhoneNumber, aj as updateProfile, z as useDeviceLanguage, v as validatePassword, ag as verifyBeforeUpdateEmail, a8 as verifyPasswordResetCode } from './index-dbcd7b68.js';
|
|
3
3
|
import { __awaiter, __generator, __extends } from 'tslib';
|
|
4
4
|
import { querystringDecode } from '@firebase/util';
|
|
5
5
|
import '@firebase/app';
|
package/dist/index.rn.d.ts
CHANGED
|
@@ -21,11 +21,19 @@
|
|
|
21
21
|
* just use index.ts
|
|
22
22
|
*/
|
|
23
23
|
import { FirebaseApp } from '@firebase/app';
|
|
24
|
-
import { Auth } from './src/model/public_types';
|
|
25
|
-
import { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';
|
|
24
|
+
import { Auth, Dependencies } from './src/model/public_types';
|
|
26
25
|
export * from './index.shared';
|
|
27
26
|
export { PhoneAuthProvider } from './src/platform_browser/providers/phone';
|
|
28
27
|
export { signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber } from './src/platform_browser/strategies/phone';
|
|
29
28
|
export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
|
|
30
|
-
export { getReactNativePersistence };
|
|
29
|
+
export { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';
|
|
31
30
|
export declare function getAuth(app?: FirebaseApp): Auth;
|
|
31
|
+
/**
|
|
32
|
+
* Wrapper around base `initializeAuth()` for RN users only, which
|
|
33
|
+
* shows the warning message if no persistence is provided.
|
|
34
|
+
* Double-checked potential collision with `export * from './index.shared'`
|
|
35
|
+
* as `./index.shared` also exports `initializeAuth()`, and the final
|
|
36
|
+
* bundle does correctly export only this `initializeAuth()` function
|
|
37
|
+
* and not the one from index.shared.
|
|
38
|
+
*/
|
|
39
|
+
export declare function initializeAuth(app: FirebaseApp, deps?: Dependencies): Auth;
|
package/dist/node/index.js
CHANGED
package/dist/node/index.rn.d.ts
CHANGED
|
@@ -21,11 +21,19 @@
|
|
|
21
21
|
* just use index.ts
|
|
22
22
|
*/
|
|
23
23
|
import { FirebaseApp } from '@firebase/app';
|
|
24
|
-
import { Auth } from './src/model/public_types';
|
|
25
|
-
import { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';
|
|
24
|
+
import { Auth, Dependencies } from './src/model/public_types';
|
|
26
25
|
export * from './index.shared';
|
|
27
26
|
export { PhoneAuthProvider } from './src/platform_browser/providers/phone';
|
|
28
27
|
export { signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber } from './src/platform_browser/strategies/phone';
|
|
29
28
|
export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
|
|
30
|
-
export { getReactNativePersistence };
|
|
29
|
+
export { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';
|
|
31
30
|
export declare function getAuth(app?: FirebaseApp): Auth;
|
|
31
|
+
/**
|
|
32
|
+
* Wrapper around base `initializeAuth()` for RN users only, which
|
|
33
|
+
* shows the warning message if no persistence is provided.
|
|
34
|
+
* Double-checked potential collision with `export * from './index.shared'`
|
|
35
|
+
* as `./index.shared` also exports `initializeAuth()`, and the final
|
|
36
|
+
* bundle does correctly export only this `initializeAuth()` function
|
|
37
|
+
* and not the one from index.shared.
|
|
38
|
+
*/
|
|
39
|
+
export declare function initializeAuth(app: FirebaseApp, deps?: Dependencies): Auth;
|
package/dist/node/internal.js
CHANGED
|
@@ -7988,7 +7988,7 @@ function multiFactor(user) {
|
|
|
7988
7988
|
}
|
|
7989
7989
|
|
|
7990
7990
|
var name = "@firebase/auth";
|
|
7991
|
-
var version = "1.
|
|
7991
|
+
var version = "1.3.0-20230822180558";
|
|
7992
7992
|
|
|
7993
7993
|
/**
|
|
7994
7994
|
* @license
|
|
@@ -8559,4 +8559,4 @@ exports.useDeviceLanguage = useDeviceLanguage;
|
|
|
8559
8559
|
exports.validatePassword = validatePassword;
|
|
8560
8560
|
exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
|
|
8561
8561
|
exports.verifyPasswordResetCode = verifyPasswordResetCode;
|
|
8562
|
-
//# sourceMappingURL=totp-
|
|
8562
|
+
//# sourceMappingURL=totp-ee59a1c9.js.map
|