@firebase/auth 0.20.1-canary.c424340aa → 0.20.2-20220524224751
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/CHANGELOG.md +6 -0
- package/dist/auth-public.d.ts +20 -10
- package/dist/auth.d.ts +20 -10
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +2 -2
- package/dist/cordova/{popup_redirect-7bf14a4e.js → popup_redirect-0b94702a.js} +14 -8
- package/dist/cordova/{popup_redirect-7bf14a4e.js.map → popup_redirect-0b94702a.js.map} +1 -1
- package/dist/cordova/src/core/index.d.ts +12 -6
- package/dist/cordova/src/model/public_types.d.ts +8 -4
- package/dist/esm2017/{index-f10fb791.js → index-ff134925.js} +14 -8
- package/dist/esm2017/index-ff134925.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm2017/src/core/index.d.ts +12 -6
- package/dist/esm2017/src/model/public_types.d.ts +8 -4
- package/dist/esm5/{index-72a448bf.js → index-7bf76fcf.js} +14 -8
- package/dist/esm5/index-7bf76fcf.js.map +1 -0
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/internal.js +2 -2
- package/dist/esm5/src/core/index.d.ts +12 -6
- package/dist/esm5/src/model/public_types.d.ts +8 -4
- package/dist/index.webworker.esm5.js +13 -7
- package/dist/index.webworker.esm5.js.map +1 -1
- package/dist/node/{index-814051cd.js → index-42f2e73f.js} +14 -8
- package/dist/node/{index-814051cd.js.map → index-42f2e73f.js.map} +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +1 -1
- package/dist/node/src/core/index.d.ts +12 -6
- package/dist/node/src/model/public_types.d.ts +8 -4
- package/dist/node-esm/{index-87bccce8.js → index-cbdb03d7.js} +14 -8
- package/dist/node-esm/{index-87bccce8.js.map → index-cbdb03d7.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/core/index.d.ts +12 -6
- package/dist/node-esm/src/model/public_types.d.ts +8 -4
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +1 -1
- package/dist/rn/{phone-28403dc1.js → phone-08495d93.js} +14 -8
- package/dist/rn/{phone-28403dc1.js.map → phone-08495d93.js.map} +1 -1
- package/dist/rn/src/core/index.d.ts +12 -6
- package/dist/rn/src/model/public_types.d.ts +8 -4
- package/dist/src/core/index.d.ts +12 -6
- package/dist/src/model/public_types.d.ts +8 -4
- package/package.json +6 -6
- package/dist/esm2017/index-f10fb791.js.map +0 -1
- package/dist/esm5/index-72a448bf.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @firebase/auth
|
|
2
2
|
|
|
3
|
+
## 0.20.2-20220524224751
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e15e8952b`](https://github.com/firebase/firebase-js-sdk/commit/e15e8952b114d811965a5481699dc3694b4a9fdd) [#6234](https://github.com/firebase/firebase-js-sdk/pull/6234) (fixes [#6218](https://github.com/firebase/firebase-js-sdk/issues/6218)) - Add missing field to `firebase` claim in token result typing
|
|
8
|
+
|
|
3
9
|
## 0.20.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/auth-public.d.ts
CHANGED
|
@@ -358,8 +358,10 @@ export declare interface Auth {
|
|
|
358
358
|
* To keep the old behavior, see {@link Auth.onIdTokenChanged}.
|
|
359
359
|
*
|
|
360
360
|
* @param nextOrObserver - callback triggered on change.
|
|
361
|
-
* @param error - callback
|
|
362
|
-
*
|
|
361
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
362
|
+
* on signing in/out can be caught in promises returned from
|
|
363
|
+
* sign-in/sign-out functions.
|
|
364
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
363
365
|
*/
|
|
364
366
|
onAuthStateChanged(nextOrObserver: NextOrObserver<User | null>, error?: ErrorFn, completed?: CompleteFn): Unsubscribe;
|
|
365
367
|
/**
|
|
@@ -379,8 +381,10 @@ export declare interface Auth {
|
|
|
379
381
|
* This includes sign-in, sign-out, and token refresh events.
|
|
380
382
|
*
|
|
381
383
|
* @param nextOrObserver - callback triggered on change.
|
|
382
|
-
* @param error - callback
|
|
383
|
-
*
|
|
384
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
385
|
+
* on signing in/out can be caught in promises returned from
|
|
386
|
+
* sign-in/sign-out functions.
|
|
387
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
384
388
|
*/
|
|
385
389
|
onIdTokenChanged(nextOrObserver: NextOrObserver<User | null>, error?: ErrorFn, completed?: CompleteFn): Unsubscribe;
|
|
386
390
|
/** The currently signed-in user (or null). */
|
|
@@ -2111,21 +2115,27 @@ export declare class OAuthProvider extends BaseOAuthProvider {
|
|
|
2111
2115
|
*
|
|
2112
2116
|
* @param auth - The {@link Auth} instance.
|
|
2113
2117
|
* @param nextOrObserver - callback triggered on change.
|
|
2114
|
-
* @param error - callback
|
|
2115
|
-
*
|
|
2118
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
2119
|
+
* on signing in/out can be caught in promises returned from
|
|
2120
|
+
* sign-in/sign-out functions.
|
|
2121
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
2116
2122
|
*
|
|
2117
2123
|
* @public
|
|
2118
2124
|
*/
|
|
2119
2125
|
export declare function onAuthStateChanged(auth: Auth, nextOrObserver: NextOrObserver<User>, error?: ErrorFn, completed?: CompleteFn): Unsubscribe;
|
|
2120
2126
|
|
|
2121
2127
|
/**
|
|
2122
|
-
* Adds an observer for changes to the signed-in user's ID token
|
|
2123
|
-
*
|
|
2128
|
+
* Adds an observer for changes to the signed-in user's ID token.
|
|
2129
|
+
*
|
|
2130
|
+
* @remarks
|
|
2131
|
+
* This includes sign-in, sign-out, and token refresh events.
|
|
2124
2132
|
*
|
|
2125
2133
|
* @param auth - The {@link Auth} instance.
|
|
2126
2134
|
* @param nextOrObserver - callback triggered on change.
|
|
2127
|
-
* @param error - callback
|
|
2128
|
-
*
|
|
2135
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
2136
|
+
* on signing in/out can be caught in promises returned from
|
|
2137
|
+
* sign-in/sign-out functions.
|
|
2138
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
2129
2139
|
*
|
|
2130
2140
|
* @public
|
|
2131
2141
|
*/
|
package/dist/auth.d.ts
CHANGED
|
@@ -367,8 +367,10 @@ export declare interface Auth {
|
|
|
367
367
|
* To keep the old behavior, see {@link Auth.onIdTokenChanged}.
|
|
368
368
|
*
|
|
369
369
|
* @param nextOrObserver - callback triggered on change.
|
|
370
|
-
* @param error - callback
|
|
371
|
-
*
|
|
370
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
371
|
+
* on signing in/out can be caught in promises returned from
|
|
372
|
+
* sign-in/sign-out functions.
|
|
373
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
372
374
|
*/
|
|
373
375
|
onAuthStateChanged(nextOrObserver: NextOrObserver<User | null>, error?: ErrorFn, completed?: CompleteFn): Unsubscribe;
|
|
374
376
|
/**
|
|
@@ -388,8 +390,10 @@ export declare interface Auth {
|
|
|
388
390
|
* This includes sign-in, sign-out, and token refresh events.
|
|
389
391
|
*
|
|
390
392
|
* @param nextOrObserver - callback triggered on change.
|
|
391
|
-
* @param error - callback
|
|
392
|
-
*
|
|
393
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
394
|
+
* on signing in/out can be caught in promises returned from
|
|
395
|
+
* sign-in/sign-out functions.
|
|
396
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
393
397
|
*/
|
|
394
398
|
onIdTokenChanged(nextOrObserver: NextOrObserver<User | null>, error?: ErrorFn, completed?: CompleteFn): Unsubscribe;
|
|
395
399
|
/** The currently signed-in user (or null). */
|
|
@@ -2436,21 +2440,27 @@ export declare class OAuthProvider extends BaseOAuthProvider {
|
|
|
2436
2440
|
*
|
|
2437
2441
|
* @param auth - The {@link Auth} instance.
|
|
2438
2442
|
* @param nextOrObserver - callback triggered on change.
|
|
2439
|
-
* @param error - callback
|
|
2440
|
-
*
|
|
2443
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
2444
|
+
* on signing in/out can be caught in promises returned from
|
|
2445
|
+
* sign-in/sign-out functions.
|
|
2446
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
2441
2447
|
*
|
|
2442
2448
|
* @public
|
|
2443
2449
|
*/
|
|
2444
2450
|
export declare function onAuthStateChanged(auth: Auth, nextOrObserver: NextOrObserver<User>, error?: ErrorFn, completed?: CompleteFn): Unsubscribe;
|
|
2445
2451
|
|
|
2446
2452
|
/**
|
|
2447
|
-
* Adds an observer for changes to the signed-in user's ID token
|
|
2448
|
-
*
|
|
2453
|
+
* Adds an observer for changes to the signed-in user's ID token.
|
|
2454
|
+
*
|
|
2455
|
+
* @remarks
|
|
2456
|
+
* This includes sign-in, sign-out, and token refresh events.
|
|
2449
2457
|
*
|
|
2450
2458
|
* @param auth - The {@link Auth} instance.
|
|
2451
2459
|
* @param nextOrObserver - callback triggered on change.
|
|
2452
|
-
* @param error - callback
|
|
2453
|
-
*
|
|
2460
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
2461
|
+
* on signing in/out can be caught in promises returned from
|
|
2462
|
+
* sign-in/sign-out functions.
|
|
2463
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
2454
2464
|
*
|
|
2455
2465
|
* @public
|
|
2456
2466
|
*/
|
package/dist/cordova/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getApp, _getProvider } from '@firebase/app';
|
|
2
|
-
import { _ as _signInWithRedirect, a as _reauthenticateWithRedirect, b as _linkWithRedirect, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, d as cordovaPopupRedirectResolver } from './popup_redirect-
|
|
3
|
-
export { A as ActionCodeOperation, a3 as ActionCodeURL, v as AuthCredential, q as AuthErrorCodes, E as EmailAuthCredential, z as EmailAuthProvider, B as FacebookAuthProvider, F as FactorId, C as GithubAuthProvider, G as GoogleAuthProvider, w as OAuthCredential, D as OAuthProvider, O as OperationType, x as PhoneAuthCredential, P as ProviderId, H as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, R as applyActionCode, h as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, U as checkActionCode, Q as confirmPasswordReset, t as connectAuthEmulator, d as cordovaPopupRedirectResolver, W as createUserWithEmailAndPassword, n as debugErrorMap, m as deleteUser, a0 as fetchSignInMethodsForEmail, ab as getAdditionalUserInfo, a8 as getIdToken, a9 as getIdTokenResult, ad as getMultiFactorResolver, g as getRedirectResult, y as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, Z as isSignInWithEmailLink, K as linkWithCredential, ae as multiFactor, j as onAuthStateChanged, o as onIdTokenChanged, a4 as parseActionCodeURL, p as prodErrorMap, L as reauthenticateWithCredential, ac as reload, a1 as sendEmailVerification, N as sendPasswordResetEmail, Y as sendSignInLinkToEmail, s as setPersistence, I as signInAnonymously, J as signInWithCredential, M as signInWithCustomToken, X as signInWithEmailAndPassword, $ as signInWithEmailLink, l as signOut, aa as unlink, k as updateCurrentUser, a6 as updateEmail, a7 as updatePassword, a5 as updateProfile, u as useDeviceLanguage, a2 as verifyBeforeUpdateEmail, V as verifyPasswordResetCode } from './popup_redirect-
|
|
2
|
+
import { _ as _signInWithRedirect, a as _reauthenticateWithRedirect, b as _linkWithRedirect, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, d as cordovaPopupRedirectResolver } from './popup_redirect-0b94702a.js';
|
|
3
|
+
export { A as ActionCodeOperation, a3 as ActionCodeURL, v as AuthCredential, q as AuthErrorCodes, E as EmailAuthCredential, z as EmailAuthProvider, B as FacebookAuthProvider, F as FactorId, C as GithubAuthProvider, G as GoogleAuthProvider, w as OAuthCredential, D as OAuthProvider, O as OperationType, x as PhoneAuthCredential, P as ProviderId, H as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, R as applyActionCode, h as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, U as checkActionCode, Q as confirmPasswordReset, t as connectAuthEmulator, d as cordovaPopupRedirectResolver, W as createUserWithEmailAndPassword, n as debugErrorMap, m as deleteUser, a0 as fetchSignInMethodsForEmail, ab as getAdditionalUserInfo, a8 as getIdToken, a9 as getIdTokenResult, ad as getMultiFactorResolver, g as getRedirectResult, y as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, Z as isSignInWithEmailLink, K as linkWithCredential, ae as multiFactor, j as onAuthStateChanged, o as onIdTokenChanged, a4 as parseActionCodeURL, p as prodErrorMap, L as reauthenticateWithCredential, ac as reload, a1 as sendEmailVerification, N as sendPasswordResetEmail, Y as sendSignInLinkToEmail, s as setPersistence, I as signInAnonymously, J as signInWithCredential, M as signInWithCustomToken, X as signInWithEmailAndPassword, $ as signInWithEmailLink, l as signOut, aa as unlink, k as updateCurrentUser, a6 as updateEmail, a7 as updatePassword, a5 as updateProfile, u as useDeviceLanguage, a2 as verifyBeforeUpdateEmail, V as verifyPasswordResetCode } from './popup_redirect-0b94702a.js';
|
|
4
4
|
import 'tslib';
|
|
5
5
|
import '@firebase/util';
|
|
6
6
|
import '@firebase/component';
|
package/dist/cordova/internal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { af as _performApiRequest, ag as _addTidIfNecessary, ah as _createError, ai as _assert, aj as Delay, ak as _window, al as _isHttpOrHttps, am as _isWorker, an as _castAuth, J as signInWithCredential, ao as sendPhoneVerificationCode, ap as startEnrollPhoneMfa, K as linkWithCredential, aq as _assertLinkedStatus, L as reauthenticateWithCredential, ar as _link, x as PhoneAuthCredential, as as debugAssert, at as _generateEventId, au as AbstractPopupRedirectOperation, av as _assertInstanceOf, aw as _withDefaultResolver, ax as FederatedAuthProvider, ay as _fail, az as _getProjectConfig, aA as _getCurrentUrl, aB as _emulatorUrl, aC as _isChromeIOS, aD as _isFirefox, aE as _isIOSStandalone, aF as _isMobileBrowser, aG as _isSafari, aH as _isIOS, f as browserSessionPersistence, aI as _getRedirectResult, aJ as _overrideRedirectResult, aK as _getRedirectUrl, aL as _setWindowLocation, aM as AuthEventManager, aN as debugFail, aO as finalizeEnrollPhoneMfa, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, e as browserLocalPersistence } from './popup_redirect-
|
|
2
|
-
export { A as ActionCodeOperation, a3 as ActionCodeURL, v as AuthCredential, q as AuthErrorCodes, aS as AuthImpl, E as EmailAuthCredential, z as EmailAuthProvider, B as FacebookAuthProvider, F as FactorId, aU as FetchProvider, C as GithubAuthProvider, G as GoogleAuthProvider, w as OAuthCredential, D as OAuthProvider, O as OperationType, x as PhoneAuthCredential, P as ProviderId, aV as SAMLAuthCredential, H as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, aQ as UserImpl, ai as _assert, an as _castAuth, ay as _fail, at as _generateEventId, aT as _getClientVersion, aR as _getInstance, aI as _getRedirectResult, aJ as _overrideRedirectResult, aP as _persistenceKeyName, R as applyActionCode, h as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, U as checkActionCode, Q as confirmPasswordReset, t as connectAuthEmulator, d as cordovaPopupRedirectResolver, W as createUserWithEmailAndPassword, n as debugErrorMap, m as deleteUser, a0 as fetchSignInMethodsForEmail, ab as getAdditionalUserInfo, a8 as getIdToken, a9 as getIdTokenResult, ad as getMultiFactorResolver, g as getRedirectResult, y as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, Z as isSignInWithEmailLink, K as linkWithCredential, aX as linkWithRedirect, ae as multiFactor, j as onAuthStateChanged, o as onIdTokenChanged, a4 as parseActionCodeURL, p as prodErrorMap, L as reauthenticateWithCredential, aY as reauthenticateWithRedirect, ac as reload, a1 as sendEmailVerification, N as sendPasswordResetEmail, Y as sendSignInLinkToEmail, s as setPersistence, I as signInAnonymously, J as signInWithCredential, M as signInWithCustomToken, X as signInWithEmailAndPassword, $ as signInWithEmailLink, aW as signInWithRedirect, l as signOut, aa as unlink, k as updateCurrentUser, a6 as updateEmail, a7 as updatePassword, a5 as updateProfile, u as useDeviceLanguage, a2 as verifyBeforeUpdateEmail, V as verifyPasswordResetCode } from './popup_redirect-
|
|
1
|
+
import { af as _performApiRequest, ag as _addTidIfNecessary, ah as _createError, ai as _assert, aj as Delay, ak as _window, al as _isHttpOrHttps, am as _isWorker, an as _castAuth, J as signInWithCredential, ao as sendPhoneVerificationCode, ap as startEnrollPhoneMfa, K as linkWithCredential, aq as _assertLinkedStatus, L as reauthenticateWithCredential, ar as _link, x as PhoneAuthCredential, as as debugAssert, at as _generateEventId, au as AbstractPopupRedirectOperation, av as _assertInstanceOf, aw as _withDefaultResolver, ax as FederatedAuthProvider, ay as _fail, az as _getProjectConfig, aA as _getCurrentUrl, aB as _emulatorUrl, aC as _isChromeIOS, aD as _isFirefox, aE as _isIOSStandalone, aF as _isMobileBrowser, aG as _isSafari, aH as _isIOS, f as browserSessionPersistence, aI as _getRedirectResult, aJ as _overrideRedirectResult, aK as _getRedirectUrl, aL as _setWindowLocation, aM as AuthEventManager, aN as debugFail, aO as finalizeEnrollPhoneMfa, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, e as browserLocalPersistence } from './popup_redirect-0b94702a.js';
|
|
2
|
+
export { A as ActionCodeOperation, a3 as ActionCodeURL, v as AuthCredential, q as AuthErrorCodes, aS as AuthImpl, E as EmailAuthCredential, z as EmailAuthProvider, B as FacebookAuthProvider, F as FactorId, aU as FetchProvider, C as GithubAuthProvider, G as GoogleAuthProvider, w as OAuthCredential, D as OAuthProvider, O as OperationType, x as PhoneAuthCredential, P as ProviderId, aV as SAMLAuthCredential, H as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, aQ as UserImpl, ai as _assert, an as _castAuth, ay as _fail, at as _generateEventId, aT as _getClientVersion, aR as _getInstance, aI as _getRedirectResult, aJ as _overrideRedirectResult, aP as _persistenceKeyName, R as applyActionCode, h as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, U as checkActionCode, Q as confirmPasswordReset, t as connectAuthEmulator, d as cordovaPopupRedirectResolver, W as createUserWithEmailAndPassword, n as debugErrorMap, m as deleteUser, a0 as fetchSignInMethodsForEmail, ab as getAdditionalUserInfo, a8 as getIdToken, a9 as getIdTokenResult, ad as getMultiFactorResolver, g as getRedirectResult, y as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, Z as isSignInWithEmailLink, K as linkWithCredential, aX as linkWithRedirect, ae as multiFactor, j as onAuthStateChanged, o as onIdTokenChanged, a4 as parseActionCodeURL, p as prodErrorMap, L as reauthenticateWithCredential, aY as reauthenticateWithRedirect, ac as reload, a1 as sendEmailVerification, N as sendPasswordResetEmail, Y as sendSignInLinkToEmail, s as setPersistence, I as signInAnonymously, J as signInWithCredential, M as signInWithCustomToken, X as signInWithEmailAndPassword, $ as signInWithEmailLink, aW as signInWithRedirect, l as signOut, aa as unlink, k as updateCurrentUser, a6 as updateEmail, a7 as updatePassword, a5 as updateProfile, u as useDeviceLanguage, a2 as verifyBeforeUpdateEmail, V as verifyPasswordResetCode } from './popup_redirect-0b94702a.js';
|
|
3
3
|
import { __awaiter, __generator, __assign, __extends, __spreadArray } from 'tslib';
|
|
4
4
|
import { querystring, getModularInstance, getUA } from '@firebase/util';
|
|
5
5
|
import { SDK_VERSION, getApp, _getProvider } from '@firebase/app';
|
|
@@ -7475,13 +7475,17 @@ function setPersistence(auth, persistence) {
|
|
|
7475
7475
|
return getModularInstance(auth).setPersistence(persistence);
|
|
7476
7476
|
}
|
|
7477
7477
|
/**
|
|
7478
|
-
* Adds an observer for changes to the signed-in user's ID token
|
|
7479
|
-
*
|
|
7478
|
+
* Adds an observer for changes to the signed-in user's ID token.
|
|
7479
|
+
*
|
|
7480
|
+
* @remarks
|
|
7481
|
+
* This includes sign-in, sign-out, and token refresh events.
|
|
7480
7482
|
*
|
|
7481
7483
|
* @param auth - The {@link Auth} instance.
|
|
7482
7484
|
* @param nextOrObserver - callback triggered on change.
|
|
7483
|
-
* @param error - callback
|
|
7484
|
-
*
|
|
7485
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
7486
|
+
* on signing in/out can be caught in promises returned from
|
|
7487
|
+
* sign-in/sign-out functions.
|
|
7488
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
7485
7489
|
*
|
|
7486
7490
|
* @public
|
|
7487
7491
|
*/
|
|
@@ -7509,8 +7513,10 @@ function beforeAuthStateChanged(auth, callback, onAbort) {
|
|
|
7509
7513
|
*
|
|
7510
7514
|
* @param auth - The {@link Auth} instance.
|
|
7511
7515
|
* @param nextOrObserver - callback triggered on change.
|
|
7512
|
-
* @param error - callback
|
|
7513
|
-
*
|
|
7516
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
7517
|
+
* on signing in/out can be caught in promises returned from
|
|
7518
|
+
* sign-in/sign-out functions.
|
|
7519
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
7514
7520
|
*
|
|
7515
7521
|
* @public
|
|
7516
7522
|
*/
|
|
@@ -7867,7 +7873,7 @@ function multiFactor(user) {
|
|
|
7867
7873
|
}
|
|
7868
7874
|
|
|
7869
7875
|
var name = "@firebase/auth";
|
|
7870
|
-
var version = "0.20.
|
|
7876
|
+
var version = "0.20.2-20220524224751";
|
|
7871
7877
|
|
|
7872
7878
|
/**
|
|
7873
7879
|
* @license
|
|
@@ -10014,4 +10020,4 @@ function generateNoEvent() {
|
|
|
10014
10020
|
}
|
|
10015
10021
|
|
|
10016
10022
|
export { signInWithEmailLink as $, ActionCodeOperation as A, FacebookAuthProvider as B, GithubAuthProvider as C, OAuthProvider as D, EmailAuthCredential as E, FactorId as F, GoogleAuthProvider as G, SAMLAuthProvider as H, signInAnonymously as I, signInWithCredential as J, linkWithCredential as K, reauthenticateWithCredential as L, signInWithCustomToken as M, sendPasswordResetEmail as N, OperationType as O, ProviderId as P, confirmPasswordReset as Q, applyActionCode as R, SignInMethod as S, TwitterAuthProvider as T, checkActionCode as U, verifyPasswordResetCode as V, createUserWithEmailAndPassword as W, signInWithEmailAndPassword as X, sendSignInLinkToEmail as Y, isSignInWithEmailLink as Z, _signInWithRedirect as _, _reauthenticateWithRedirect as a, fetchSignInMethodsForEmail as a0, sendEmailVerification as a1, verifyBeforeUpdateEmail as a2, ActionCodeURL as a3, parseActionCodeURL as a4, updateProfile as a5, updateEmail as a6, updatePassword as a7, getIdToken as a8, getIdTokenResult as a9, _getCurrentUrl as aA, _emulatorUrl as aB, _isChromeIOS as aC, _isFirefox as aD, _isIOSStandalone as aE, _isMobileBrowser as aF, _isSafari as aG, _isIOS as aH, _getRedirectResult as aI, _overrideRedirectResult as aJ, _getRedirectUrl as aK, _setWindowLocation as aL, AuthEventManager as aM, debugFail as aN, finalizeEnrollPhoneMfa as aO, _persistenceKeyName as aP, UserImpl as aQ, _getInstance as aR, AuthImpl as aS, _getClientVersion as aT, FetchProvider as aU, SAMLAuthCredential as aV, signInWithRedirect as aW, linkWithRedirect as aX, reauthenticateWithRedirect as aY, unlink as aa, getAdditionalUserInfo as ab, reload as ac, getMultiFactorResolver as ad, multiFactor as ae, _performApiRequest as af, _addTidIfNecessary as ag, _createError as ah, _assert as ai, Delay as aj, _window as ak, _isHttpOrHttps as al, _isWorker as am, _castAuth as an, sendPhoneVerificationCode as ao, startEnrollPhoneMfa as ap, _assertLinkedStatus as aq, _link$1 as ar, debugAssert as as, _generateEventId as at, AbstractPopupRedirectOperation as au, _assertInstanceOf as av, _withDefaultResolver as aw, FederatedAuthProvider as ax, _fail as ay, _getProjectConfig as az, _linkWithRedirect as b, indexedDBLocalPersistence as c, cordovaPopupRedirectResolver as d, browserLocalPersistence as e, browserSessionPersistence as f, getRedirectResult as g, beforeAuthStateChanged as h, initializeAuth as i, onAuthStateChanged as j, updateCurrentUser as k, signOut as l, deleteUser as m, debugErrorMap as n, onIdTokenChanged as o, prodErrorMap as p, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY as q, registerAuth as r, setPersistence as s, connectAuthEmulator as t, useDeviceLanguage as u, AuthCredential as v, OAuthCredential as w, PhoneAuthCredential as x, inMemoryPersistence as y, EmailAuthProvider as z };
|
|
10017
|
-
//# sourceMappingURL=popup_redirect-
|
|
10023
|
+
//# sourceMappingURL=popup_redirect-0b94702a.js.map
|