@firebase/auth 1.7.1 → 1.7.2-canary.14f9da66f

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-54229e16.js} +16 -10
  4. package/dist/browser-cjs/index-54229e16.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-10e360b6.js} +16 -10
  14. package/dist/cordova/popup_redirect-10e360b6.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-f3d1e287.js} +16 -10
  20. package/dist/esm2017/index-f3d1e287.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-09b24b61.js} +16 -10
  28. package/dist/esm5/index-09b24b61.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-163ef5be.js} +16 -10
  44. package/dist/node/{totp-82f035ef.js.map → totp-163ef5be.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-2ef89a62.js} +16 -10
  52. package/dist/node-esm/{totp-4f5b6c4c.js.map → totp-2ef89a62.js.map} +1 -1
  53. package/dist/rn/{index-815db531.js → index-c43f0a1f.js} +16 -10
  54. package/dist/rn/index-c43f0a1f.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-6acd3653.js} +16 -10
  68. package/dist/{web-extension-esm2017/register-0cfbfa94.js.map → web-extension-cjs/register-6acd3653.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-666daa09.js} +16 -10
  77. package/dist/{web-extension-cjs/register-0489fcc8.js.map → web-extension-esm2017/register-666daa09.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
@@ -6660,7 +6660,8 @@ function recachePasswordPolicy(auth) {
6660
6660
  /**
6661
6661
  * Sends a password reset email to the given email address. This method does not throw an error when
6662
6662
  * there's no user account with the given email address and
6663
- * [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled.
6663
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
6664
+ * is enabled.
6664
6665
  *
6665
6666
  * @remarks
6666
6667
  * To complete the password reset, call {@link confirmPasswordReset} with the code supplied in
@@ -6906,9 +6907,10 @@ function createUserWithEmailAndPassword(auth, email, password) {
6906
6907
  * Asynchronously signs in using an email and password.
6907
6908
  *
6908
6909
  * @remarks
6909
- * Fails with an error if the email address and password do not match.
6910
- * When [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled,
6911
- * this method fails with "auth/invalid-credential" in case of an invalid email/password.
6910
+ * Fails with an error if the email address and password do not match. When
6911
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
6912
+ * is enabled, this method fails with "auth/invalid-credential" in case of an invalid
6913
+ * email/password.
6912
6914
  *
6913
6915
  * This method is not supported on {@link Auth} instances created with a
6914
6916
  * {@link @firebase/app#FirebaseServerApp}.
@@ -7132,8 +7134,9 @@ function createAuthUri(auth, request) {
7132
7134
  */
7133
7135
  /**
7134
7136
  * Gets the list of possible sign in methods for the given email address. This method returns an
7135
- * empty list when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled, irrespective of the number of
7136
- * authentication methods available for the given email.
7137
+ * empty list when
7138
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
7139
+ * is enabled, irrespective of the number of authentication methods available for the given email.
7137
7140
  *
7138
7141
  * @remarks
7139
7142
  * This is useful to differentiate methods of sign-in for the same provider, eg.
@@ -7145,7 +7148,8 @@ function createAuthUri(auth, request) {
7145
7148
  * @param email - The user's email address.
7146
7149
  *
7147
7150
  * Deprecated. Migrating off of this method is recommended as a security best-practice.
7148
- * Learn more in the Identity Platform documentation for [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection).
7151
+ * Learn more in the Identity Platform documentation for
7152
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}.
7149
7153
  * @public
7150
7154
  */
7151
7155
  function fetchSignInMethodsForEmail(auth, email) {
@@ -7403,7 +7407,9 @@ function updateProfile(user, _a) {
7403
7407
  * @param user - The user.
7404
7408
  * @param newEmail - The new email address.
7405
7409
  *
7406
- * Throws "auth/operation-not-allowed" error when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) is enabled.
7410
+ * Throws "auth/operation-not-allowed" error when
7411
+ * {@link https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection | Email Enumeration Protection}
7412
+ * is enabled.
7407
7413
  * Deprecated - Use {@link verifyBeforeUpdateEmail} instead.
7408
7414
  *
7409
7415
  * @public
@@ -8136,7 +8142,7 @@ function multiFactor(user) {
8136
8142
  }
8137
8143
 
8138
8144
  var name = "@firebase/auth";
8139
- var version = "1.7.1";
8145
+ var version = "1.7.2-canary.14f9da66f";
8140
8146
 
8141
8147
  /**
8142
8148
  * @license
@@ -9813,4 +9819,4 @@ exports.useDeviceLanguage = useDeviceLanguage;
9813
9819
  exports.validatePassword = validatePassword;
9814
9820
  exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
9815
9821
  exports.verifyPasswordResetCode = verifyPasswordResetCode;
9816
- //# sourceMappingURL=index-815db531.js.map
9822
+ //# sourceMappingURL=index-c43f0a1f.js.map