@firebase/auth 1.12.2 → 1.13.0-20260408201731
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-e6fab08e.js → index-eb16a0d1.js} +2 -2
- package/dist/browser-cjs/{index-e6fab08e.js.map → index-eb16a0d1.js.map} +1 -1
- package/dist/browser-cjs/index.js +1 -1
- package/dist/browser-cjs/internal.js +1 -1
- package/dist/browser-cjs/src/platform_react_native/persistence/react_native.d.ts +20 -1
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +2 -2
- package/dist/cordova/{popup_redirect-5ec7b405.js → popup_redirect-8d67604d.js} +2 -2
- package/dist/cordova/{popup_redirect-5ec7b405.js.map → popup_redirect-8d67604d.js.map} +1 -1
- package/dist/cordova/src/platform_react_native/persistence/react_native.d.ts +20 -1
- package/dist/esm/{index-dfb5c973.js → index-40752d96.js} +2 -2
- package/dist/esm/{index-dfb5c973.js.map → index-40752d96.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/internal.js +2 -2
- package/dist/esm/src/platform_react_native/persistence/react_native.d.ts +20 -1
- package/dist/index.webworker.js +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +1 -1
- package/dist/node/src/platform_react_native/persistence/react_native.d.ts +20 -1
- package/dist/node/{totp-a5322a96.js → totp-929d8284.js} +2 -2
- package/dist/node/{totp-a5322a96.js.map → totp-929d8284.js.map} +1 -1
- package/dist/node-esm/index.js +1 -1
- package/dist/node-esm/internal.js +2 -2
- package/dist/node-esm/src/platform_react_native/persistence/react_native.d.ts +20 -1
- package/dist/node-esm/{totp-ed01b91b.js → totp-c0564291.js} +2 -2
- package/dist/node-esm/{totp-ed01b91b.js.map → totp-c0564291.js.map} +1 -1
- package/dist/rn/{index-e23bd279.js → index-446db0d6.js} +2 -2
- package/dist/rn/{index-e23bd279.js.map → index-446db0d6.js.map} +1 -1
- package/dist/rn/index.js +34 -3
- package/dist/rn/index.js.map +1 -1
- package/dist/rn/internal.js +1 -1
- package/dist/rn/src/platform_react_native/persistence/react_native.d.ts +20 -1
- package/dist/src/platform_react_native/persistence/react_native.d.ts +20 -1
- package/dist/web-extension-cjs/index.js +1 -1
- package/dist/web-extension-cjs/internal.js +1 -1
- package/dist/web-extension-cjs/{register-a20238ea.js → register-4a6573e8.js} +2 -2
- package/dist/web-extension-cjs/{register-a20238ea.js.map → register-4a6573e8.js.map} +1 -1
- package/dist/web-extension-cjs/src/platform_react_native/persistence/react_native.d.ts +20 -1
- package/dist/web-extension-esm/index.js +2 -2
- package/dist/web-extension-esm/internal.js +2 -2
- package/dist/web-extension-esm/{register-27e07cc8.js → register-9bf52823.js} +2 -2
- package/dist/web-extension-esm/{register-27e07cc8.js.map → register-9bf52823.js.map} +1 -1
- package/dist/web-extension-esm/src/platform_react_native/persistence/react_native.d.ts +20 -1
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ActionCodeOperation, aj as ActionCodeURL, M as AuthCredential, J as AuthErrorCodes, N as EmailAuthCredential, W as EmailAuthProvider, X as FacebookAuthProvider, F as FactorId, Z as GithubAuthProvider, Y as GoogleAuthProvider, Q as OAuthCredential, _ as OAuthProvider, O as OperationType, U as PhoneAuthCredential, P as PhoneAuthProvider, n as PhoneMultiFactorGenerator, q as ProviderId, R as RecaptchaVerifier, $ as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, o as TotpSecret, a0 as TwitterAuthProvider, a8 as applyActionCode, y as beforeAuthStateChanged, a as browserCookiePersistence, b as browserLocalPersistence, m as browserPopupRedirectResolver, c as browserSessionPersistence, a9 as checkActionCode, a7 as confirmPasswordReset, L as connectAuthEmulator, ab as createUserWithEmailAndPassword, H as debugErrorMap, G as deleteUser, ag as fetchSignInMethodsForEmail, ar as getAdditionalUserInfo, p as getAuth, ao as getIdToken, ap as getIdTokenResult, at as getMultiFactorResolver, k as getRedirectResult, V as inMemoryPersistence, i as indexedDBLocalPersistence, K as initializeAuth, v as initializeRecaptchaConfig, ae as isSignInWithEmailLink, a3 as linkWithCredential, l as linkWithPhoneNumber, e as linkWithPopup, h as linkWithRedirect, au as multiFactor, z as onAuthStateChanged, x as onIdTokenChanged, ak as parseActionCodeURL, I as prodErrorMap, a4 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, f as reauthenticateWithPopup, j as reauthenticateWithRedirect, as as reload, E as revokeAccessToken, ah as sendEmailVerification, a6 as sendPasswordResetEmail, ad as sendSignInLinkToEmail, t as setPersistence, a1 as signInAnonymously, a2 as signInWithCredential, a5 as signInWithCustomToken, ac as signInWithEmailAndPassword, af as signInWithEmailLink, s as signInWithPhoneNumber, d as signInWithPopup, g as signInWithRedirect, D as signOut, aq as unlink, C as updateCurrentUser, am as updateEmail, an as updatePassword, u as updatePhoneNumber, al as updateProfile, B as useDeviceLanguage, w as validatePassword, ai as verifyBeforeUpdateEmail, aa as verifyPasswordResetCode } from './index-
|
|
1
|
+
export { A as ActionCodeOperation, aj as ActionCodeURL, M as AuthCredential, J as AuthErrorCodes, N as EmailAuthCredential, W as EmailAuthProvider, X as FacebookAuthProvider, F as FactorId, Z as GithubAuthProvider, Y as GoogleAuthProvider, Q as OAuthCredential, _ as OAuthProvider, O as OperationType, U as PhoneAuthCredential, P as PhoneAuthProvider, n as PhoneMultiFactorGenerator, q as ProviderId, R as RecaptchaVerifier, $ as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, o as TotpSecret, a0 as TwitterAuthProvider, a8 as applyActionCode, y as beforeAuthStateChanged, a as browserCookiePersistence, b as browserLocalPersistence, m as browserPopupRedirectResolver, c as browserSessionPersistence, a9 as checkActionCode, a7 as confirmPasswordReset, L as connectAuthEmulator, ab as createUserWithEmailAndPassword, H as debugErrorMap, G as deleteUser, ag as fetchSignInMethodsForEmail, ar as getAdditionalUserInfo, p as getAuth, ao as getIdToken, ap as getIdTokenResult, at as getMultiFactorResolver, k as getRedirectResult, V as inMemoryPersistence, i as indexedDBLocalPersistence, K as initializeAuth, v as initializeRecaptchaConfig, ae as isSignInWithEmailLink, a3 as linkWithCredential, l as linkWithPhoneNumber, e as linkWithPopup, h as linkWithRedirect, au as multiFactor, z as onAuthStateChanged, x as onIdTokenChanged, ak as parseActionCodeURL, I as prodErrorMap, a4 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, f as reauthenticateWithPopup, j as reauthenticateWithRedirect, as as reload, E as revokeAccessToken, ah as sendEmailVerification, a6 as sendPasswordResetEmail, ad as sendSignInLinkToEmail, t as setPersistence, a1 as signInAnonymously, a2 as signInWithCredential, a5 as signInWithCustomToken, ac as signInWithEmailAndPassword, af as signInWithEmailLink, s as signInWithPhoneNumber, d as signInWithPopup, g as signInWithRedirect, D as signOut, aq as unlink, C as updateCurrentUser, am as updateEmail, an as updatePassword, u as updatePhoneNumber, al as updateProfile, B as useDeviceLanguage, w as validatePassword, ai as verifyBeforeUpdateEmail, aa as verifyPasswordResetCode } from './index-40752d96.js';
|
|
2
2
|
import '@firebase/app';
|
|
3
3
|
import '@firebase/util';
|
|
4
4
|
import '@firebase/logger';
|
package/dist/esm/internal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { av as debugAssert, aw as _isIOS, ax as _isAndroid, ay as _fail, az as _getRedirectUrl, aA as _getProjectConfig, aB as _isIOS7Or8, aC as _createError, aD as _assert, aE as AuthEventManager, aF as _getInstance, b as browserLocalPersistence, aG as _persistenceKeyName, c as browserSessionPersistence, aH as _getRedirectResult, aI as _overrideRedirectResult, aJ as _clearRedirectOutcomes, aK as _castAuth } from './index-
|
|
2
|
-
export { A as ActionCodeOperation, aj as ActionCodeURL, M as AuthCredential, J as AuthErrorCodes, aM as AuthImpl, aP as AuthPopup, N as EmailAuthCredential, W as EmailAuthProvider, X as FacebookAuthProvider, F as FactorId, aQ as FetchProvider, Z as GithubAuthProvider, Y as GoogleAuthProvider, Q as OAuthCredential, _ as OAuthProvider, O as OperationType, U as PhoneAuthCredential, P as PhoneAuthProvider, n as PhoneMultiFactorGenerator, q as ProviderId, R as RecaptchaVerifier, aR as SAMLAuthCredential, $ as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, o as TotpSecret, a0 as TwitterAuthProvider, aL as UserImpl, aD as _assert, aK as _castAuth, ay as _fail, aO as _generateEventId, aN as _getClientVersion, aF as _getInstance, aH as _getRedirectResult, aI as _overrideRedirectResult, aG as _persistenceKeyName, a8 as applyActionCode, y as beforeAuthStateChanged, a as browserCookiePersistence, b as browserLocalPersistence, m as browserPopupRedirectResolver, c as browserSessionPersistence, a9 as checkActionCode, a7 as confirmPasswordReset, L as connectAuthEmulator, ab as createUserWithEmailAndPassword, H as debugErrorMap, G as deleteUser, ag as fetchSignInMethodsForEmail, ar as getAdditionalUserInfo, p as getAuth, ao as getIdToken, ap as getIdTokenResult, at as getMultiFactorResolver, k as getRedirectResult, V as inMemoryPersistence, i as indexedDBLocalPersistence, K as initializeAuth, v as initializeRecaptchaConfig, ae as isSignInWithEmailLink, a3 as linkWithCredential, l as linkWithPhoneNumber, e as linkWithPopup, h as linkWithRedirect, au as multiFactor, z as onAuthStateChanged, x as onIdTokenChanged, ak as parseActionCodeURL, I as prodErrorMap, a4 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, f as reauthenticateWithPopup, j as reauthenticateWithRedirect, as as reload, E as revokeAccessToken, ah as sendEmailVerification, a6 as sendPasswordResetEmail, ad as sendSignInLinkToEmail, t as setPersistence, a1 as signInAnonymously, a2 as signInWithCredential, a5 as signInWithCustomToken, ac as signInWithEmailAndPassword, af as signInWithEmailLink, s as signInWithPhoneNumber, d as signInWithPopup, g as signInWithRedirect, D as signOut, aq as unlink, C as updateCurrentUser, am as updateEmail, an as updatePassword, u as updatePhoneNumber, al as updateProfile, B as useDeviceLanguage, w as validatePassword, ai as verifyBeforeUpdateEmail, aa as verifyPasswordResetCode } from './index-
|
|
1
|
+
import { av as debugAssert, aw as _isIOS, ax as _isAndroid, ay as _fail, az as _getRedirectUrl, aA as _getProjectConfig, aB as _isIOS7Or8, aC as _createError, aD as _assert, aE as AuthEventManager, aF as _getInstance, b as browserLocalPersistence, aG as _persistenceKeyName, c as browserSessionPersistence, aH as _getRedirectResult, aI as _overrideRedirectResult, aJ as _clearRedirectOutcomes, aK as _castAuth } from './index-40752d96.js';
|
|
2
|
+
export { A as ActionCodeOperation, aj as ActionCodeURL, M as AuthCredential, J as AuthErrorCodes, aM as AuthImpl, aP as AuthPopup, N as EmailAuthCredential, W as EmailAuthProvider, X as FacebookAuthProvider, F as FactorId, aQ as FetchProvider, Z as GithubAuthProvider, Y as GoogleAuthProvider, Q as OAuthCredential, _ as OAuthProvider, O as OperationType, U as PhoneAuthCredential, P as PhoneAuthProvider, n as PhoneMultiFactorGenerator, q as ProviderId, R as RecaptchaVerifier, aR as SAMLAuthCredential, $ as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, o as TotpSecret, a0 as TwitterAuthProvider, aL as UserImpl, aD as _assert, aK as _castAuth, ay as _fail, aO as _generateEventId, aN as _getClientVersion, aF as _getInstance, aH as _getRedirectResult, aI as _overrideRedirectResult, aG as _persistenceKeyName, a8 as applyActionCode, y as beforeAuthStateChanged, a as browserCookiePersistence, b as browserLocalPersistence, m as browserPopupRedirectResolver, c as browserSessionPersistence, a9 as checkActionCode, a7 as confirmPasswordReset, L as connectAuthEmulator, ab as createUserWithEmailAndPassword, H as debugErrorMap, G as deleteUser, ag as fetchSignInMethodsForEmail, ar as getAdditionalUserInfo, p as getAuth, ao as getIdToken, ap as getIdTokenResult, at as getMultiFactorResolver, k as getRedirectResult, V as inMemoryPersistence, i as indexedDBLocalPersistence, K as initializeAuth, v as initializeRecaptchaConfig, ae as isSignInWithEmailLink, a3 as linkWithCredential, l as linkWithPhoneNumber, e as linkWithPopup, h as linkWithRedirect, au as multiFactor, z as onAuthStateChanged, x as onIdTokenChanged, ak as parseActionCodeURL, I as prodErrorMap, a4 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, f as reauthenticateWithPopup, j as reauthenticateWithRedirect, as as reload, E as revokeAccessToken, ah as sendEmailVerification, a6 as sendPasswordResetEmail, ad as sendSignInLinkToEmail, t as setPersistence, a1 as signInAnonymously, a2 as signInWithCredential, a5 as signInWithCustomToken, ac as signInWithEmailAndPassword, af as signInWithEmailLink, s as signInWithPhoneNumber, d as signInWithPopup, g as signInWithRedirect, D as signOut, aq as unlink, C as updateCurrentUser, am as updateEmail, an as updatePassword, u as updatePhoneNumber, al as updateProfile, B as useDeviceLanguage, w as validatePassword, ai as verifyBeforeUpdateEmail, aa as verifyPasswordResetCode } from './index-40752d96.js';
|
|
3
3
|
import { querystringDecode } from '@firebase/util';
|
|
4
4
|
import '@firebase/app';
|
|
5
5
|
import '@firebase/logger';
|
|
@@ -17,9 +17,28 @@
|
|
|
17
17
|
import { Persistence, ReactNativeAsyncStorage } from '../../model/public_types';
|
|
18
18
|
/**
|
|
19
19
|
* Returns a persistence object that wraps `AsyncStorage` imported from
|
|
20
|
-
* `react-native` or `@react-native-
|
|
20
|
+
* `react-native` or `@react-native-async-storage/async-storage`, and can
|
|
21
21
|
* be used in the persistence dependency field in {@link initializeAuth}.
|
|
22
22
|
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```javascript
|
|
25
|
+
* import { initializeAuth, getReactNativePersistence } from 'firebase/auth';
|
|
26
|
+
*
|
|
27
|
+
* // For @react-native-async-storage/async-storage v3:
|
|
28
|
+
* import { createAsyncStorage } from '@react-native-async-storage/async-storage';
|
|
29
|
+
* const appStorage = createAsyncStorage('app');
|
|
30
|
+
* const persistence = getReactNativePersistence(appStorage);
|
|
31
|
+
*
|
|
32
|
+
* // For @react-native-async-storage/async-storage v2:
|
|
33
|
+
* // import ReactNativeAsyncStorage from '@react-native-async-storage/async-storage';
|
|
34
|
+
* // const persistence = getReactNativePersistence(ReactNativeAsyncStorage);
|
|
35
|
+
*
|
|
36
|
+
* // Then, initialize auth:
|
|
37
|
+
* const auth = initializeAuth(app, {
|
|
38
|
+
* persistence
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
23
42
|
* @public
|
|
24
43
|
*/
|
|
25
44
|
export declare function getReactNativePersistence(storage: ReactNativeAsyncStorage): Persistence;
|
package/dist/index.webworker.js
CHANGED
package/dist/node/index.js
CHANGED
package/dist/node/internal.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var totp = require('./totp-
|
|
5
|
+
var totp = require('./totp-929d8284.js');
|
|
6
6
|
var util = require('@firebase/util');
|
|
7
7
|
var app = require('@firebase/app');
|
|
8
8
|
require('@firebase/component');
|
|
@@ -17,9 +17,28 @@
|
|
|
17
17
|
import { Persistence, ReactNativeAsyncStorage } from '../../model/public_types';
|
|
18
18
|
/**
|
|
19
19
|
* Returns a persistence object that wraps `AsyncStorage` imported from
|
|
20
|
-
* `react-native` or `@react-native-
|
|
20
|
+
* `react-native` or `@react-native-async-storage/async-storage`, and can
|
|
21
21
|
* be used in the persistence dependency field in {@link initializeAuth}.
|
|
22
22
|
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```javascript
|
|
25
|
+
* import { initializeAuth, getReactNativePersistence } from 'firebase/auth';
|
|
26
|
+
*
|
|
27
|
+
* // For @react-native-async-storage/async-storage v3:
|
|
28
|
+
* import { createAsyncStorage } from '@react-native-async-storage/async-storage';
|
|
29
|
+
* const appStorage = createAsyncStorage('app');
|
|
30
|
+
* const persistence = getReactNativePersistence(appStorage);
|
|
31
|
+
*
|
|
32
|
+
* // For @react-native-async-storage/async-storage v2:
|
|
33
|
+
* // import ReactNativeAsyncStorage from '@react-native-async-storage/async-storage';
|
|
34
|
+
* // const persistence = getReactNativePersistence(ReactNativeAsyncStorage);
|
|
35
|
+
*
|
|
36
|
+
* // Then, initialize auth:
|
|
37
|
+
* const auth = initializeAuth(app, {
|
|
38
|
+
* persistence
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
23
42
|
* @public
|
|
24
43
|
*/
|
|
25
44
|
export declare function getReactNativePersistence(storage: ReactNativeAsyncStorage): Persistence;
|
|
@@ -7169,7 +7169,7 @@ function multiFactor(user) {
|
|
|
7169
7169
|
}
|
|
7170
7170
|
|
|
7171
7171
|
var name = "@firebase/auth";
|
|
7172
|
-
var version = "1.
|
|
7172
|
+
var version = "1.13.0-20260408201731";
|
|
7173
7173
|
|
|
7174
7174
|
/**
|
|
7175
7175
|
* @license
|
|
@@ -7689,4 +7689,4 @@ exports.useDeviceLanguage = useDeviceLanguage;
|
|
|
7689
7689
|
exports.validatePassword = validatePassword;
|
|
7690
7690
|
exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
|
|
7691
7691
|
exports.verifyPasswordResetCode = verifyPasswordResetCode;
|
|
7692
|
-
//# sourceMappingURL=totp-
|
|
7692
|
+
//# sourceMappingURL=totp-929d8284.js.map
|