@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
@@ -1,4 +1,4 @@
1
- export { A as ActionCodeOperation, ai as ActionCodeURL, L as AuthCredential, I as AuthErrorCodes, M as EmailAuthCredential, V as EmailAuthProvider, W as FacebookAuthProvider, F as FactorId, Y as GithubAuthProvider, X as GoogleAuthProvider, N as OAuthCredential, Z as OAuthProvider, O as OperationType, Q as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, _ as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, $ as TwitterAuthProvider, a7 as applyActionCode, x as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a8 as checkActionCode, a6 as confirmPasswordReset, K as connectAuthEmulator, aa as createUserWithEmailAndPassword, G as debugErrorMap, E as deleteUser, af as fetchSignInMethodsForEmail, aq as getAdditionalUserInfo, o as getAuth, an as getIdToken, ao as getIdTokenResult, as as getMultiFactorResolver, j as getRedirectResult, U as inMemoryPersistence, i as indexedDBLocalPersistence, J as initializeAuth, t as initializeRecaptchaConfig, ad as isSignInWithEmailLink, a2 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, at as multiFactor, y as onAuthStateChanged, w as onIdTokenChanged, aj as parseActionCodeURL, H as prodErrorMap, a3 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, ar as reload, D as revokeAccessToken, ag as sendEmailVerification, a5 as sendPasswordResetEmail, ac as sendSignInLinkToEmail, q as setPersistence, a0 as signInAnonymously, a1 as signInWithCredential, a4 as signInWithCustomToken, ab as signInWithEmailAndPassword, ae as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, C as signOut, ap as unlink, B as updateCurrentUser, al as updateEmail, am as updatePassword, u as updatePhoneNumber, ak as updateProfile, z as useDeviceLanguage, v as validatePassword, ah as verifyBeforeUpdateEmail, a9 as verifyPasswordResetCode } from './totp-4f5b6c4c.js';
1
+ export { A as ActionCodeOperation, ai as ActionCodeURL, L as AuthCredential, I as AuthErrorCodes, M as EmailAuthCredential, V as EmailAuthProvider, W as FacebookAuthProvider, F as FactorId, Y as GithubAuthProvider, X as GoogleAuthProvider, N as OAuthCredential, Z as OAuthProvider, O as OperationType, Q as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, _ as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, $ as TwitterAuthProvider, a7 as applyActionCode, x as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a8 as checkActionCode, a6 as confirmPasswordReset, K as connectAuthEmulator, aa as createUserWithEmailAndPassword, G as debugErrorMap, E as deleteUser, af as fetchSignInMethodsForEmail, aq as getAdditionalUserInfo, o as getAuth, an as getIdToken, ao as getIdTokenResult, as as getMultiFactorResolver, j as getRedirectResult, U as inMemoryPersistence, i as indexedDBLocalPersistence, J as initializeAuth, t as initializeRecaptchaConfig, ad as isSignInWithEmailLink, a2 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, at as multiFactor, y as onAuthStateChanged, w as onIdTokenChanged, aj as parseActionCodeURL, H as prodErrorMap, a3 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, ar as reload, D as revokeAccessToken, ag as sendEmailVerification, a5 as sendPasswordResetEmail, ac as sendSignInLinkToEmail, q as setPersistence, a0 as signInAnonymously, a1 as signInWithCredential, a4 as signInWithCustomToken, ab as signInWithEmailAndPassword, ae as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, C as signOut, ap as unlink, B as updateCurrentUser, al as updateEmail, am as updatePassword, u as updatePhoneNumber, ak as updateProfile, z as useDeviceLanguage, v as validatePassword, ah as verifyBeforeUpdateEmail, a9 as verifyPasswordResetCode } from './totp-db7d1674.js';
2
2
  import '@firebase/app';
3
3
  import '@firebase/util';
4
4
  import 'tslib';
@@ -1,5 +1,5 @@
1
- import { au as _getInstance, av as _assert, aw as _signInWithCredential, ax as _reauthenticate, ay as _link$1, L as AuthCredential, az as signInWithIdp, aA as _fail, aB as debugAssert, aC as _persistenceKeyName, aD as _serverAppCurrentUserOperationNotSupportedError, aE as _castAuth, aF as FederatedAuthProvider, aG as BaseOAuthProvider, aH as _emulatorUrl, aI as _performApiRequest, aJ as _isIOS, aK as _isAndroid, aL as _isIOS7Or8, aM as _createError, aN as _isIframe, aO as _isMobileBrowser, aP as _isIE10, aQ as _isSafari } from './totp-4f5b6c4c.js';
2
- export { A as ActionCodeOperation, ai as ActionCodeURL, L as AuthCredential, I as AuthErrorCodes, aS as AuthImpl, M as EmailAuthCredential, V as EmailAuthProvider, W as FacebookAuthProvider, F as FactorId, aU as FetchProvider, Y as GithubAuthProvider, X as GoogleAuthProvider, N as OAuthCredential, Z as OAuthProvider, O as OperationType, Q as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, aV as SAMLAuthCredential, _ as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, $ as TwitterAuthProvider, aR as UserImpl, av as _assert, aE as _castAuth, aA as _fail, aT as _getClientVersion, au as _getInstance, aC as _persistenceKeyName, a7 as applyActionCode, x as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a8 as checkActionCode, a6 as confirmPasswordReset, K as connectAuthEmulator, aa as createUserWithEmailAndPassword, G as debugErrorMap, E as deleteUser, af as fetchSignInMethodsForEmail, aq as getAdditionalUserInfo, o as getAuth, an as getIdToken, ao as getIdTokenResult, as as getMultiFactorResolver, j as getRedirectResult, U as inMemoryPersistence, i as indexedDBLocalPersistence, J as initializeAuth, t as initializeRecaptchaConfig, ad as isSignInWithEmailLink, a2 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, at as multiFactor, y as onAuthStateChanged, w as onIdTokenChanged, aj as parseActionCodeURL, H as prodErrorMap, a3 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, ar as reload, D as revokeAccessToken, ag as sendEmailVerification, a5 as sendPasswordResetEmail, ac as sendSignInLinkToEmail, q as setPersistence, a0 as signInAnonymously, a1 as signInWithCredential, a4 as signInWithCustomToken, ab as signInWithEmailAndPassword, ae as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, C as signOut, ap as unlink, B as updateCurrentUser, al as updateEmail, am as updatePassword, u as updatePhoneNumber, ak as updateProfile, z as useDeviceLanguage, v as validatePassword, ah as verifyBeforeUpdateEmail, a9 as verifyPasswordResetCode } from './totp-4f5b6c4c.js';
1
+ import { au as _getInstance, av as _assert, aw as _signInWithCredential, ax as _reauthenticate, ay as _link$1, L as AuthCredential, az as signInWithIdp, aA as _fail, aB as debugAssert, aC as _persistenceKeyName, aD as _serverAppCurrentUserOperationNotSupportedError, aE as _castAuth, aF as FederatedAuthProvider, aG as BaseOAuthProvider, aH as _emulatorUrl, aI as _performApiRequest, aJ as _isIOS, aK as _isAndroid, aL as _isIOS7Or8, aM as _createError, aN as _isIframe, aO as _isMobileBrowser, aP as _isIE10, aQ as _isSafari } from './totp-db7d1674.js';
2
+ export { A as ActionCodeOperation, ai as ActionCodeURL, L as AuthCredential, I as AuthErrorCodes, aS as AuthImpl, M as EmailAuthCredential, V as EmailAuthProvider, W as FacebookAuthProvider, F as FactorId, aU as FetchProvider, Y as GithubAuthProvider, X as GoogleAuthProvider, N as OAuthCredential, Z as OAuthProvider, O as OperationType, Q as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, aV as SAMLAuthCredential, _ as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, $ as TwitterAuthProvider, aR as UserImpl, av as _assert, aE as _castAuth, aA as _fail, aT as _getClientVersion, au as _getInstance, aC as _persistenceKeyName, a7 as applyActionCode, x as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a8 as checkActionCode, a6 as confirmPasswordReset, K as connectAuthEmulator, aa as createUserWithEmailAndPassword, G as debugErrorMap, E as deleteUser, af as fetchSignInMethodsForEmail, aq as getAdditionalUserInfo, o as getAuth, an as getIdToken, ao as getIdTokenResult, as as getMultiFactorResolver, j as getRedirectResult, U as inMemoryPersistence, i as indexedDBLocalPersistence, J as initializeAuth, t as initializeRecaptchaConfig, ad as isSignInWithEmailLink, a2 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, at as multiFactor, y as onAuthStateChanged, w as onIdTokenChanged, aj as parseActionCodeURL, H as prodErrorMap, a3 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, ar as reload, D as revokeAccessToken, ag as sendEmailVerification, a5 as sendPasswordResetEmail, ac as sendSignInLinkToEmail, q as setPersistence, a0 as signInAnonymously, a1 as signInWithCredential, a4 as signInWithCustomToken, ab as signInWithEmailAndPassword, ae as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, C as signOut, ap as unlink, B as updateCurrentUser, al as updateEmail, am as updatePassword, u as updatePhoneNumber, ak as updateProfile, z as useDeviceLanguage, v as validatePassword, ah as verifyBeforeUpdateEmail, a9 as verifyPasswordResetCode } from './totp-db7d1674.js';
3
3
  import { isEmpty, querystring, getUA, querystringDecode } from '@firebase/util';
4
4
  import 'tslib';
5
5
  import { _isFirebaseServerApp, SDK_VERSION } from '@firebase/app';
@@ -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
  *
@@ -5704,7 +5704,8 @@ async function recachePasswordPolicy(auth) {
5704
5704
  /**
5705
5705
  * Sends a password reset email to the given email address. This method does not throw an error when
5706
5706
  * there's no user account with the given email address and
5707
- * [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled.
5707
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
5708
+ * is enabled.
5708
5709
  *
5709
5710
  * @remarks
5710
5711
  * To complete the password reset, call {@link confirmPasswordReset} with the code supplied in
@@ -5893,9 +5894,10 @@ async function createUserWithEmailAndPassword(auth, email, password) {
5893
5894
  * Asynchronously signs in using an email and password.
5894
5895
  *
5895
5896
  * @remarks
5896
- * Fails with an error if the email address and password do not match.
5897
- * When [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled,
5898
- * this method fails with "auth/invalid-credential" in case of an invalid email/password.
5897
+ * Fails with an error if the email address and password do not match. When
5898
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
5899
+ * is enabled, this method fails with "auth/invalid-credential" in case of an invalid
5900
+ * email/password.
5899
5901
  *
5900
5902
  * This method is not supported on {@link Auth} instances created with a
5901
5903
  * {@link @firebase/app#FirebaseServerApp}.
@@ -6096,8 +6098,9 @@ async function createAuthUri(auth, request) {
6096
6098
  */
6097
6099
  /**
6098
6100
  * Gets the list of possible sign in methods for the given email address. This method returns an
6099
- * empty list when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, irrespective of the number of
6100
- * authentication methods available for the given email.
6101
+ * empty list when
6102
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
6103
+ * is enabled, irrespective of the number of authentication methods available for the given email.
6101
6104
  *
6102
6105
  * @remarks
6103
6106
  * This is useful to differentiate methods of sign-in for the same provider, eg.
@@ -6109,7 +6112,8 @@ async function createAuthUri(auth, request) {
6109
6112
  * @param email - The user's email address.
6110
6113
  *
6111
6114
  * Deprecated. Migrating off of this method is recommended as a security best-practice.
6112
- * Learn more in the Identity Platform documentation for [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection).
6115
+ * Learn more in the Identity Platform documentation for
6116
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}.
6113
6117
  * @public
6114
6118
  */
6115
6119
  async function fetchSignInMethodsForEmail(auth, email) {
@@ -6306,7 +6310,9 @@ async function updateProfile(user, { displayName, photoURL: photoUrl }) {
6306
6310
  * @param user - The user.
6307
6311
  * @param newEmail - The new email address.
6308
6312
  *
6309
- * Throws "auth/operation-not-allowed" error when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled.
6313
+ * Throws "auth/operation-not-allowed" error when
6314
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
6315
+ * is enabled.
6310
6316
  * Deprecated - Use {@link verifyBeforeUpdateEmail} instead.
6311
6317
  *
6312
6318
  * @public
@@ -6915,7 +6921,7 @@ function multiFactor(user) {
6915
6921
  }
6916
6922
 
6917
6923
  var name = "@firebase/auth";
6918
- var version = "1.7.1";
6924
+ var version = "1.7.2-canary.4b49630c7";
6919
6925
 
6920
6926
  /**
6921
6927
  * @license
@@ -7327,4 +7333,4 @@ function _isEmptyString(input) {
7327
7333
  }
7328
7334
 
7329
7335
  export { TwitterAuthProvider as $, ActionCodeOperation as A, updateCurrentUser as B, signOut as C, revokeAccessToken as D, deleteUser as E, FactorId as F, debugErrorMap as G, prodErrorMap as H, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY as I, initializeAuth as J, connectAuthEmulator as K, AuthCredential as L, EmailAuthCredential as M, OAuthCredential as N, OperationType as O, PhoneAuthProvider as P, PhoneAuthCredential as Q, RecaptchaVerifier as R, SignInMethod as S, TotpMultiFactorGenerator as T, inMemoryPersistence as U, EmailAuthProvider as V, FacebookAuthProvider as W, GoogleAuthProvider as X, GithubAuthProvider as Y, OAuthProvider as Z, SAMLAuthProvider as _, browserSessionPersistence as a, signInAnonymously as a0, signInWithCredential as a1, linkWithCredential as a2, reauthenticateWithCredential as a3, signInWithCustomToken as a4, sendPasswordResetEmail as a5, confirmPasswordReset as a6, applyActionCode as a7, checkActionCode as a8, verifyPasswordResetCode as a9, _fail as aA, debugAssert as aB, _persistenceKeyName as aC, _serverAppCurrentUserOperationNotSupportedError as aD, _castAuth as aE, FederatedAuthProvider as aF, BaseOAuthProvider as aG, _emulatorUrl as aH, _performApiRequest as aI, _isIOS as aJ, _isAndroid as aK, _isIOS7Or8 as aL, _createError as aM, _isIframe as aN, _isMobileBrowser as aO, _isIE10 as aP, _isSafari as aQ, UserImpl as aR, AuthImpl as aS, _getClientVersion as aT, FetchProvider as aU, SAMLAuthCredential as aV, createUserWithEmailAndPassword as aa, signInWithEmailAndPassword as ab, sendSignInLinkToEmail as ac, isSignInWithEmailLink as ad, signInWithEmailLink as ae, fetchSignInMethodsForEmail as af, sendEmailVerification as ag, verifyBeforeUpdateEmail as ah, ActionCodeURL as ai, parseActionCodeURL as aj, updateProfile as ak, updateEmail as al, updatePassword as am, getIdToken as an, getIdTokenResult as ao, unlink as ap, getAdditionalUserInfo as aq, reload as ar, getMultiFactorResolver as as, multiFactor as at, _getInstance as au, _assert as av, _signInWithCredential as aw, _reauthenticate as ax, _link as ay, signInWithIdp as az, browserLocalPersistence as b, signInWithPopup as c, linkWithPopup as d, reauthenticateWithPopup as e, signInWithRedirect as f, linkWithRedirect as g, reauthenticateWithRedirect as h, indexedDBLocalPersistence as i, getRedirectResult as j, browserPopupRedirectResolver as k, linkWithPhoneNumber as l, PhoneMultiFactorGenerator as m, TotpSecret as n, getAuth as o, ProviderId as p, setPersistence as q, reauthenticateWithPhoneNumber as r, signInWithPhoneNumber as s, initializeRecaptchaConfig as t, updatePhoneNumber as u, validatePassword as v, onIdTokenChanged as w, beforeAuthStateChanged as x, onAuthStateChanged as y, useDeviceLanguage as z };
7330
- //# sourceMappingURL=totp-4f5b6c4c.js.map
7336
+ //# sourceMappingURL=totp-db7d1674.js.map