@firebase/auth 1.7.1 → 1.7.2-canary.4b49630c7

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 (87) hide show
  1. package/dist/auth-public.d.ts +15 -9
  2. package/dist/auth.d.ts +15 -9
  3. package/dist/browser-cjs/{index-c3c97b2a.js → index-93e01d60.js} +16 -10
  4. package/dist/browser-cjs/index-93e01d60.js.map +1 -0
  5. package/dist/browser-cjs/index.js +1 -1
  6. package/dist/browser-cjs/internal.js +1 -1
  7. package/dist/browser-cjs/src/core/strategies/email.d.ts +5 -3
  8. package/dist/browser-cjs/src/core/strategies/email_and_password.d.ts +6 -4
  9. package/dist/browser-cjs/src/core/user/account_info.d.ts +3 -1
  10. package/dist/browser-cjs/src/model/public_types.d.ts +1 -1
  11. package/dist/cordova/index.js +2 -2
  12. package/dist/cordova/internal.js +2 -2
  13. package/dist/cordova/{popup_redirect-176dbc3d.js → popup_redirect-cfe3c3cc.js} +16 -10
  14. package/dist/cordova/popup_redirect-cfe3c3cc.js.map +1 -0
  15. package/dist/cordova/src/core/strategies/email.d.ts +5 -3
  16. package/dist/cordova/src/core/strategies/email_and_password.d.ts +6 -4
  17. package/dist/cordova/src/core/user/account_info.d.ts +3 -1
  18. package/dist/cordova/src/model/public_types.d.ts +1 -1
  19. package/dist/esm2017/{index-219c3cac.js → index-676e3eeb.js} +16 -10
  20. package/dist/esm2017/index-676e3eeb.js.map +1 -0
  21. package/dist/esm2017/index.js +1 -1
  22. package/dist/esm2017/internal.js +2 -2
  23. package/dist/esm2017/src/core/strategies/email.d.ts +5 -3
  24. package/dist/esm2017/src/core/strategies/email_and_password.d.ts +6 -4
  25. package/dist/esm2017/src/core/user/account_info.d.ts +3 -1
  26. package/dist/esm2017/src/model/public_types.d.ts +1 -1
  27. package/dist/esm5/{index-4db3aed5.js → index-0dc5b0cf.js} +16 -10
  28. package/dist/esm5/index-0dc5b0cf.js.map +1 -0
  29. package/dist/esm5/index.js +1 -1
  30. package/dist/esm5/internal.js +2 -2
  31. package/dist/esm5/src/core/strategies/email.d.ts +5 -3
  32. package/dist/esm5/src/core/strategies/email_and_password.d.ts +6 -4
  33. package/dist/esm5/src/core/user/account_info.d.ts +3 -1
  34. package/dist/esm5/src/model/public_types.d.ts +1 -1
  35. package/dist/index.webworker.esm5.js +15 -9
  36. package/dist/index.webworker.esm5.js.map +1 -1
  37. package/dist/node/index.js +1 -1
  38. package/dist/node/internal.js +1 -1
  39. package/dist/node/src/core/strategies/email.d.ts +5 -3
  40. package/dist/node/src/core/strategies/email_and_password.d.ts +6 -4
  41. package/dist/node/src/core/user/account_info.d.ts +3 -1
  42. package/dist/node/src/model/public_types.d.ts +1 -1
  43. package/dist/node/{totp-82f035ef.js → totp-375da55d.js} +16 -10
  44. package/dist/node/{totp-82f035ef.js.map → totp-375da55d.js.map} +1 -1
  45. package/dist/node-esm/index.js +1 -1
  46. package/dist/node-esm/internal.js +2 -2
  47. package/dist/node-esm/src/core/strategies/email.d.ts +5 -3
  48. package/dist/node-esm/src/core/strategies/email_and_password.d.ts +6 -4
  49. package/dist/node-esm/src/core/user/account_info.d.ts +3 -1
  50. package/dist/node-esm/src/model/public_types.d.ts +1 -1
  51. package/dist/node-esm/{totp-4f5b6c4c.js → totp-db7d1674.js} +16 -10
  52. package/dist/node-esm/{totp-4f5b6c4c.js.map → totp-db7d1674.js.map} +1 -1
  53. package/dist/rn/{index-815db531.js → index-edc4a42e.js} +16 -10
  54. package/dist/rn/index-edc4a42e.js.map +1 -0
  55. package/dist/rn/index.js +1 -1
  56. package/dist/rn/internal.js +1 -1
  57. package/dist/rn/src/core/strategies/email.d.ts +5 -3
  58. package/dist/rn/src/core/strategies/email_and_password.d.ts +6 -4
  59. package/dist/rn/src/core/user/account_info.d.ts +3 -1
  60. package/dist/rn/src/model/public_types.d.ts +1 -1
  61. package/dist/src/core/strategies/email.d.ts +5 -3
  62. package/dist/src/core/strategies/email_and_password.d.ts +6 -4
  63. package/dist/src/core/user/account_info.d.ts +3 -1
  64. package/dist/src/model/public_types.d.ts +1 -1
  65. package/dist/web-extension-cjs/index.js +1 -1
  66. package/dist/web-extension-cjs/internal.js +1 -1
  67. package/dist/web-extension-cjs/{register-0489fcc8.js → register-0166f73a.js} +16 -10
  68. package/dist/{web-extension-esm2017/register-0cfbfa94.js.map → web-extension-cjs/register-0166f73a.js.map} +1 -1
  69. package/dist/web-extension-cjs/src/core/strategies/email.d.ts +5 -3
  70. package/dist/web-extension-cjs/src/core/strategies/email_and_password.d.ts +6 -4
  71. package/dist/web-extension-cjs/src/core/user/account_info.d.ts +3 -1
  72. package/dist/web-extension-cjs/src/model/public_types.d.ts +1 -1
  73. package/dist/web-extension-esm2017/index.js +2 -2
  74. package/dist/web-extension-esm2017/internal.js +2 -2
  75. package/dist/web-extension-esm2017/package.json +1 -0
  76. package/dist/web-extension-esm2017/{register-0cfbfa94.js → register-e4b7d75d.js} +16 -10
  77. package/dist/{web-extension-cjs/register-0489fcc8.js.map → web-extension-esm2017/register-e4b7d75d.js.map} +1 -1
  78. package/dist/web-extension-esm2017/src/core/strategies/email.d.ts +5 -3
  79. package/dist/web-extension-esm2017/src/core/strategies/email_and_password.d.ts +6 -4
  80. package/dist/web-extension-esm2017/src/core/user/account_info.d.ts +3 -1
  81. package/dist/web-extension-esm2017/src/model/public_types.d.ts +1 -1
  82. package/package.json +6 -6
  83. package/dist/browser-cjs/index-c3c97b2a.js.map +0 -1
  84. package/dist/cordova/popup_redirect-176dbc3d.js.map +0 -1
  85. package/dist/esm2017/index-219c3cac.js.map +0 -1
  86. package/dist/esm5/index-4db3aed5.js.map +0 -1
  87. package/dist/rn/index-815db531.js.map +0 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('./index-c3c97b2a.js');
5
+ var index = require('./index-93e01d60.js');
6
6
  require('@firebase/app');
7
7
  require('@firebase/util');
8
8
  require('@firebase/logger');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('./index-c3c97b2a.js');
5
+ var index = require('./index-93e01d60.js');
6
6
  var util = require('@firebase/util');
7
7
  require('@firebase/app');
8
8
  require('@firebase/logger');
@@ -17,8 +17,9 @@
17
17
  import { ActionCodeSettings, Auth, User } from '../../model/public_types';
18
18
  /**
19
19
  * Gets the list of possible sign in methods for the given email address. This method returns an
20
- * empty list when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, irrespective of the number of
21
- * authentication methods available for the given email.
20
+ * empty list when
21
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
22
+ * is enabled, irrespective of the number of authentication methods available for the given email.
22
23
  *
23
24
  * @remarks
24
25
  * This is useful to differentiate methods of sign-in for the same provider, eg.
@@ -30,7 +31,8 @@ import { ActionCodeSettings, Auth, User } from '../../model/public_types';
30
31
  * @param email - The user's email address.
31
32
  *
32
33
  * Deprecated. Migrating off of this method is recommended as a security best-practice.
33
- * Learn more in the Identity Platform documentation for [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection).
34
+ * Learn more in the Identity Platform documentation for
35
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}.
34
36
  * @public
35
37
  */
36
38
  export declare function fetchSignInMethodsForEmail(auth: Auth, email: string): Promise<string[]>;
@@ -18,7 +18,8 @@ import { ActionCodeInfo, ActionCodeSettings, Auth, UserCredential } from '../../
18
18
  /**
19
19
  * Sends a password reset email to the given email address. This method does not throw an error when
20
20
  * there's no user account with the given email address and
21
- * [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled.
21
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
22
+ * is enabled.
22
23
  *
23
24
  * @remarks
24
25
  * To complete the password reset, call {@link confirmPasswordReset} with the code supplied in
@@ -116,9 +117,10 @@ export declare function createUserWithEmailAndPassword(auth: Auth, email: string
116
117
  * Asynchronously signs in using an email and password.
117
118
  *
118
119
  * @remarks
119
- * Fails with an error if the email address and password do not match.
120
- * When [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled,
121
- * this method fails with "auth/invalid-credential" in case of an invalid email/password.
120
+ * Fails with an error if the email address and password do not match. When
121
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
122
+ * is enabled, this method fails with "auth/invalid-credential" in case of an invalid
123
+ * email/password.
122
124
  *
123
125
  * This method is not supported on {@link Auth} instances created with a
124
126
  * {@link @firebase/app#FirebaseServerApp}.
@@ -44,7 +44,9 @@ export declare function updateProfile(user: User, { displayName, photoURL: photo
44
44
  * @param user - The user.
45
45
  * @param newEmail - The new email address.
46
46
  *
47
- * Throws "auth/operation-not-allowed" error when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled.
47
+ * Throws "auth/operation-not-allowed" error when
48
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
49
+ * is enabled.
48
50
  * Deprecated - Use {@link verifyBeforeUpdateEmail} instead.
49
51
  *
50
52
  * @public
@@ -52,7 +52,7 @@ export interface Config {
52
52
  /**
53
53
  * Interface representing reCAPTCHA parameters.
54
54
  *
55
- * See the [reCAPTCHA docs](https://developers.google.com/recaptcha/docs/display#render_param)
55
+ * See the {@link https://developers.google.com/recaptcha/docs/display#render_param | reCAPTCHA docs}
56
56
  * for the list of accepted parameters. All parameters are accepted except for `sitekey`: Firebase Auth
57
57
  * provisions a reCAPTCHA for each project and will configure the site key upon rendering.
58
58
  *
@@ -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-176dbc3d.js';
3
- export { A as ActionCodeOperation, a6 as ActionCodeURL, y as AuthCredential, w as AuthErrorCodes, E as EmailAuthCredential, D as EmailAuthProvider, G as FacebookAuthProvider, F as FactorId, I as GithubAuthProvider, H as GoogleAuthProvider, z as OAuthCredential, J as OAuthProvider, O as OperationType, B as PhoneAuthCredential, P as ProviderId, K as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, W as applyActionCode, j as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, X as checkActionCode, V as confirmPasswordReset, x as connectAuthEmulator, d as cordovaPopupRedirectResolver, Z as createUserWithEmailAndPassword, q as debugErrorMap, p as deleteUser, a3 as fetchSignInMethodsForEmail, ae as getAdditionalUserInfo, ab as getIdToken, ac as getIdTokenResult, ag as getMultiFactorResolver, g as getRedirectResult, C as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, h as initializeRecaptchaConfig, a1 as isSignInWithEmailLink, N as linkWithCredential, ah as multiFactor, k as onAuthStateChanged, o as onIdTokenChanged, a7 as parseActionCodeURL, t as prodErrorMap, Q as reauthenticateWithCredential, af as reload, n as revokeAccessToken, a4 as sendEmailVerification, U as sendPasswordResetEmail, a0 as sendSignInLinkToEmail, s as setPersistence, L as signInAnonymously, M as signInWithCredential, R as signInWithCustomToken, $ as signInWithEmailAndPassword, a2 as signInWithEmailLink, m as signOut, ad as unlink, l as updateCurrentUser, a9 as updateEmail, aa as updatePassword, a8 as updateProfile, u as useDeviceLanguage, v as validatePassword, a5 as verifyBeforeUpdateEmail, Y as verifyPasswordResetCode } from './popup_redirect-176dbc3d.js';
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-cfe3c3cc.js';
3
+ export { A as ActionCodeOperation, a6 as ActionCodeURL, y as AuthCredential, w as AuthErrorCodes, E as EmailAuthCredential, D as EmailAuthProvider, G as FacebookAuthProvider, F as FactorId, I as GithubAuthProvider, H as GoogleAuthProvider, z as OAuthCredential, J as OAuthProvider, O as OperationType, B as PhoneAuthCredential, P as ProviderId, K as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, W as applyActionCode, j as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, X as checkActionCode, V as confirmPasswordReset, x as connectAuthEmulator, d as cordovaPopupRedirectResolver, Z as createUserWithEmailAndPassword, q as debugErrorMap, p as deleteUser, a3 as fetchSignInMethodsForEmail, ae as getAdditionalUserInfo, ab as getIdToken, ac as getIdTokenResult, ag as getMultiFactorResolver, g as getRedirectResult, C as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, h as initializeRecaptchaConfig, a1 as isSignInWithEmailLink, N as linkWithCredential, ah as multiFactor, k as onAuthStateChanged, o as onIdTokenChanged, a7 as parseActionCodeURL, t as prodErrorMap, Q as reauthenticateWithCredential, af as reload, n as revokeAccessToken, a4 as sendEmailVerification, U as sendPasswordResetEmail, a0 as sendSignInLinkToEmail, s as setPersistence, L as signInAnonymously, M as signInWithCredential, R as signInWithCustomToken, $ as signInWithEmailAndPassword, a2 as signInWithEmailLink, m as signOut, ad as unlink, l as updateCurrentUser, a9 as updateEmail, aa as updatePassword, a8 as updateProfile, u as useDeviceLanguage, v as validatePassword, a5 as verifyBeforeUpdateEmail, Y as verifyPasswordResetCode } from './popup_redirect-cfe3c3cc.js';
4
4
  import 'tslib';
5
5
  import '@firebase/util';
6
6
  import '@firebase/component';
@@ -1,5 +1,5 @@
1
- import { ai as _performApiRequest, aj as _addTidIfNecessary, ak as _assert, al as Delay, am as _window, an as isV2, ao as _createError, ap as _recaptchaV2ScriptUrl, aq as _loadJS, ar as _generateCallbackName, as as getRecaptchaParams, at as _isHttpOrHttps, au as _isWorker, av as _castAuth, M as signInWithCredential, aw as _serverAppCurrentUserOperationNotSupportedError, N as linkWithCredential, ax as _assertLinkedStatus, Q as reauthenticateWithCredential, ay as sendPhoneVerificationCode, az as startEnrollPhoneMfa, aA as _link, B as PhoneAuthCredential, aB as debugAssert, aC as _generateEventId, aD as AbstractPopupRedirectOperation, aE as _assertInstanceOf, aF as _withDefaultResolver, aG as FederatedAuthProvider, aH as _fail, aI as _getProjectConfig, aJ as _getCurrentUrl, aK as _gapiScriptUrl, aL as _emulatorUrl, aM as _isChromeIOS, aN as _isFirefox, aO as _isIOSStandalone, aP as _getRedirectUrl, aQ as _setWindowLocation, aR as _isMobileBrowser, aS as _isSafari, aT as _isIOS, f as browserSessionPersistence, aU as _getRedirectResult, aV as _overrideRedirectResult, aW as AuthEventManager, aX as debugFail, aY as finalizeEnrollPhoneMfa, aZ as finalizeEnrollTotpMfa, a_ as startEnrollTotpMfa, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, e as browserLocalPersistence, j as beforeAuthStateChanged, o as onIdTokenChanged, x as connectAuthEmulator, a$ as _setExternalJSProvider } from './popup_redirect-176dbc3d.js';
2
- export { A as ActionCodeOperation, a6 as ActionCodeURL, y as AuthCredential, w as AuthErrorCodes, b3 as AuthImpl, E as EmailAuthCredential, D as EmailAuthProvider, G as FacebookAuthProvider, F as FactorId, b5 as FetchProvider, I as GithubAuthProvider, H as GoogleAuthProvider, z as OAuthCredential, J as OAuthProvider, O as OperationType, B as PhoneAuthCredential, P as ProviderId, b6 as SAMLAuthCredential, K as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, b1 as UserImpl, ak as _assert, av as _castAuth, aH as _fail, aC as _generateEventId, b4 as _getClientVersion, b2 as _getInstance, aU as _getRedirectResult, aV as _overrideRedirectResult, b0 as _persistenceKeyName, W as applyActionCode, j as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, X as checkActionCode, V as confirmPasswordReset, x as connectAuthEmulator, d as cordovaPopupRedirectResolver, Z as createUserWithEmailAndPassword, q as debugErrorMap, p as deleteUser, a3 as fetchSignInMethodsForEmail, ae as getAdditionalUserInfo, ab as getIdToken, ac as getIdTokenResult, ag as getMultiFactorResolver, g as getRedirectResult, C as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, h as initializeRecaptchaConfig, a1 as isSignInWithEmailLink, N as linkWithCredential, b8 as linkWithRedirect, ah as multiFactor, k as onAuthStateChanged, o as onIdTokenChanged, a7 as parseActionCodeURL, t as prodErrorMap, Q as reauthenticateWithCredential, b9 as reauthenticateWithRedirect, af as reload, n as revokeAccessToken, a4 as sendEmailVerification, U as sendPasswordResetEmail, a0 as sendSignInLinkToEmail, s as setPersistence, L as signInAnonymously, M as signInWithCredential, R as signInWithCustomToken, $ as signInWithEmailAndPassword, a2 as signInWithEmailLink, b7 as signInWithRedirect, m as signOut, ad as unlink, l as updateCurrentUser, a9 as updateEmail, aa as updatePassword, a8 as updateProfile, u as useDeviceLanguage, v as validatePassword, a5 as verifyBeforeUpdateEmail, Y as verifyPasswordResetCode } from './popup_redirect-176dbc3d.js';
1
+ import { ai as _performApiRequest, aj as _addTidIfNecessary, ak as _assert, al as Delay, am as _window, an as isV2, ao as _createError, ap as _recaptchaV2ScriptUrl, aq as _loadJS, ar as _generateCallbackName, as as getRecaptchaParams, at as _isHttpOrHttps, au as _isWorker, av as _castAuth, M as signInWithCredential, aw as _serverAppCurrentUserOperationNotSupportedError, N as linkWithCredential, ax as _assertLinkedStatus, Q as reauthenticateWithCredential, ay as sendPhoneVerificationCode, az as startEnrollPhoneMfa, aA as _link, B as PhoneAuthCredential, aB as debugAssert, aC as _generateEventId, aD as AbstractPopupRedirectOperation, aE as _assertInstanceOf, aF as _withDefaultResolver, aG as FederatedAuthProvider, aH as _fail, aI as _getProjectConfig, aJ as _getCurrentUrl, aK as _gapiScriptUrl, aL as _emulatorUrl, aM as _isChromeIOS, aN as _isFirefox, aO as _isIOSStandalone, aP as _getRedirectUrl, aQ as _setWindowLocation, aR as _isMobileBrowser, aS as _isSafari, aT as _isIOS, f as browserSessionPersistence, aU as _getRedirectResult, aV as _overrideRedirectResult, aW as AuthEventManager, aX as debugFail, aY as finalizeEnrollPhoneMfa, aZ as finalizeEnrollTotpMfa, a_ as startEnrollTotpMfa, r as registerAuth, i as initializeAuth, c as indexedDBLocalPersistence, e as browserLocalPersistence, j as beforeAuthStateChanged, o as onIdTokenChanged, x as connectAuthEmulator, a$ as _setExternalJSProvider } from './popup_redirect-cfe3c3cc.js';
2
+ export { A as ActionCodeOperation, a6 as ActionCodeURL, y as AuthCredential, w as AuthErrorCodes, b3 as AuthImpl, E as EmailAuthCredential, D as EmailAuthProvider, G as FacebookAuthProvider, F as FactorId, b5 as FetchProvider, I as GithubAuthProvider, H as GoogleAuthProvider, z as OAuthCredential, J as OAuthProvider, O as OperationType, B as PhoneAuthCredential, P as ProviderId, b6 as SAMLAuthCredential, K as SAMLAuthProvider, S as SignInMethod, T as TwitterAuthProvider, b1 as UserImpl, ak as _assert, av as _castAuth, aH as _fail, aC as _generateEventId, b4 as _getClientVersion, b2 as _getInstance, aU as _getRedirectResult, aV as _overrideRedirectResult, b0 as _persistenceKeyName, W as applyActionCode, j as beforeAuthStateChanged, e as browserLocalPersistence, f as browserSessionPersistence, X as checkActionCode, V as confirmPasswordReset, x as connectAuthEmulator, d as cordovaPopupRedirectResolver, Z as createUserWithEmailAndPassword, q as debugErrorMap, p as deleteUser, a3 as fetchSignInMethodsForEmail, ae as getAdditionalUserInfo, ab as getIdToken, ac as getIdTokenResult, ag as getMultiFactorResolver, g as getRedirectResult, C as inMemoryPersistence, c as indexedDBLocalPersistence, i as initializeAuth, h as initializeRecaptchaConfig, a1 as isSignInWithEmailLink, N as linkWithCredential, b8 as linkWithRedirect, ah as multiFactor, k as onAuthStateChanged, o as onIdTokenChanged, a7 as parseActionCodeURL, t as prodErrorMap, Q as reauthenticateWithCredential, b9 as reauthenticateWithRedirect, af as reload, n as revokeAccessToken, a4 as sendEmailVerification, U as sendPasswordResetEmail, a0 as sendSignInLinkToEmail, s as setPersistence, L as signInAnonymously, M as signInWithCredential, R as signInWithCustomToken, $ as signInWithEmailAndPassword, a2 as signInWithEmailLink, b7 as signInWithRedirect, m as signOut, ad as unlink, l as updateCurrentUser, a9 as updateEmail, aa as updatePassword, a8 as updateProfile, u as useDeviceLanguage, v as validatePassword, a5 as verifyBeforeUpdateEmail, Y as verifyPasswordResetCode } from './popup_redirect-cfe3c3cc.js';
3
3
  import { __awaiter, __generator, __assign, __extends, __spreadArray } from 'tslib';
4
4
  import { querystring, getModularInstance, getUA, getExperimentalSetting, getDefaultEmulatorHost } from '@firebase/util';
5
5
  import { _isFirebaseServerApp, SDK_VERSION, getApp, _getProvider } from '@firebase/app';
@@ -7574,7 +7574,8 @@ function recachePasswordPolicy(auth) {
7574
7574
  /**
7575
7575
  * Sends a password reset email to the given email address. This method does not throw an error when
7576
7576
  * there's no user account with the given email address and
7577
- * [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled.
7577
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
7578
+ * is enabled.
7578
7579
  *
7579
7580
  * @remarks
7580
7581
  * To complete the password reset, call {@link confirmPasswordReset} with the code supplied in
@@ -7820,9 +7821,10 @@ function createUserWithEmailAndPassword(auth, email, password) {
7820
7821
  * Asynchronously signs in using an email and password.
7821
7822
  *
7822
7823
  * @remarks
7823
- * Fails with an error if the email address and password do not match.
7824
- * When [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled,
7825
- * this method fails with "auth/invalid-credential" in case of an invalid email/password.
7824
+ * Fails with an error if the email address and password do not match. When
7825
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
7826
+ * is enabled, this method fails with "auth/invalid-credential" in case of an invalid
7827
+ * email/password.
7826
7828
  *
7827
7829
  * This method is not supported on {@link Auth} instances created with a
7828
7830
  * {@link @firebase/app#FirebaseServerApp}.
@@ -8046,8 +8048,9 @@ function createAuthUri(auth, request) {
8046
8048
  */
8047
8049
  /**
8048
8050
  * Gets the list of possible sign in methods for the given email address. This method returns an
8049
- * empty list when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, irrespective of the number of
8050
- * authentication methods available for the given email.
8051
+ * empty list when
8052
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
8053
+ * is enabled, irrespective of the number of authentication methods available for the given email.
8051
8054
  *
8052
8055
  * @remarks
8053
8056
  * This is useful to differentiate methods of sign-in for the same provider, eg.
@@ -8059,7 +8062,8 @@ function createAuthUri(auth, request) {
8059
8062
  * @param email - The user's email address.
8060
8063
  *
8061
8064
  * Deprecated. Migrating off of this method is recommended as a security best-practice.
8062
- * Learn more in the Identity Platform documentation for [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection).
8065
+ * Learn more in the Identity Platform documentation for
8066
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}.
8063
8067
  * @public
8064
8068
  */
8065
8069
  function fetchSignInMethodsForEmail(auth, email) {
@@ -8317,7 +8321,9 @@ function updateProfile(user, _a) {
8317
8321
  * @param user - The user.
8318
8322
  * @param newEmail - The new email address.
8319
8323
  *
8320
- * Throws "auth/operation-not-allowed" error when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled.
8324
+ * Throws "auth/operation-not-allowed" error when
8325
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
8326
+ * is enabled.
8321
8327
  * Deprecated - Use {@link verifyBeforeUpdateEmail} instead.
8322
8328
  *
8323
8329
  * @public
@@ -9050,7 +9056,7 @@ function multiFactor(user) {
9050
9056
  }
9051
9057
 
9052
9058
  var name = "@firebase/auth";
9053
- var version = "1.7.1";
9059
+ var version = "1.7.2-canary.4b49630c7";
9054
9060
 
9055
9061
  /**
9056
9062
  * @license
@@ -11269,4 +11275,4 @@ function generateNoEvent() {
11269
11275
  }
11270
11276
 
11271
11277
  export { signInWithEmailAndPassword as $, ActionCodeOperation as A, PhoneAuthCredential as B, inMemoryPersistence as C, EmailAuthProvider as D, EmailAuthCredential as E, FactorId as F, FacebookAuthProvider as G, GoogleAuthProvider as H, GithubAuthProvider as I, OAuthProvider as J, SAMLAuthProvider as K, signInAnonymously as L, signInWithCredential as M, linkWithCredential as N, OperationType as O, ProviderId as P, reauthenticateWithCredential as Q, signInWithCustomToken as R, SignInMethod as S, TwitterAuthProvider as T, sendPasswordResetEmail as U, confirmPasswordReset as V, applyActionCode as W, checkActionCode as X, verifyPasswordResetCode as Y, createUserWithEmailAndPassword as Z, _signInWithRedirect as _, _reauthenticateWithRedirect as a, _setExternalJSProvider as a$, sendSignInLinkToEmail as a0, isSignInWithEmailLink as a1, signInWithEmailLink as a2, fetchSignInMethodsForEmail as a3, sendEmailVerification as a4, verifyBeforeUpdateEmail as a5, ActionCodeURL as a6, parseActionCodeURL as a7, updateProfile as a8, updateEmail as a9, _link$1 as aA, debugAssert as aB, _generateEventId as aC, AbstractPopupRedirectOperation as aD, _assertInstanceOf as aE, _withDefaultResolver as aF, FederatedAuthProvider as aG, _fail as aH, _getProjectConfig as aI, _getCurrentUrl as aJ, _gapiScriptUrl as aK, _emulatorUrl as aL, _isChromeIOS as aM, _isFirefox as aN, _isIOSStandalone as aO, _getRedirectUrl as aP, _setWindowLocation as aQ, _isMobileBrowser as aR, _isSafari as aS, _isIOS as aT, _getRedirectResult as aU, _overrideRedirectResult as aV, AuthEventManager as aW, debugFail as aX, finalizeEnrollPhoneMfa as aY, finalizeEnrollTotpMfa as aZ, startEnrollTotpMfa as a_, updatePassword as aa, getIdToken as ab, getIdTokenResult as ac, unlink as ad, getAdditionalUserInfo as ae, reload as af, getMultiFactorResolver as ag, multiFactor as ah, _performApiRequest as ai, _addTidIfNecessary as aj, _assert as ak, Delay as al, _window as am, isV2 as an, _createError as ao, _recaptchaV2ScriptUrl as ap, _loadJS as aq, _generateCallbackName as ar, getRecaptchaParams as as, _isHttpOrHttps as at, _isWorker as au, _castAuth as av, _serverAppCurrentUserOperationNotSupportedError as aw, _assertLinkedStatus as ax, sendPhoneVerificationCode as ay, startEnrollPhoneMfa as az, _linkWithRedirect as b, _persistenceKeyName as b0, UserImpl as b1, _getInstance as b2, AuthImpl as b3, _getClientVersion as b4, FetchProvider as b5, SAMLAuthCredential as b6, signInWithRedirect as b7, linkWithRedirect as b8, reauthenticateWithRedirect as b9, indexedDBLocalPersistence as c, cordovaPopupRedirectResolver as d, browserLocalPersistence as e, browserSessionPersistence as f, getRedirectResult as g, initializeRecaptchaConfig as h, initializeAuth as i, beforeAuthStateChanged as j, onAuthStateChanged as k, updateCurrentUser as l, signOut as m, revokeAccessToken as n, onIdTokenChanged as o, deleteUser as p, debugErrorMap as q, registerAuth as r, setPersistence as s, prodErrorMap as t, useDeviceLanguage as u, validatePassword as v, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY as w, connectAuthEmulator as x, AuthCredential as y, OAuthCredential as z };
11272
- //# sourceMappingURL=popup_redirect-176dbc3d.js.map
11278
+ //# sourceMappingURL=popup_redirect-cfe3c3cc.js.map