@firebase/auth 0.23.2-canary.e12e7f535 → 0.23.2-canary.e522056fc

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 (128) hide show
  1. package/dist/auth-public.d.ts +43 -3
  2. package/dist/auth.d.ts +43 -3
  3. package/dist/browser-cjs/{index-6efa45d4.js → index-7aac2604.js} +68 -13
  4. package/dist/browser-cjs/index-7aac2604.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/index.d.ts +4 -0
  8. package/dist/browser-cjs/src/mfa/mfa_session.d.ts +3 -3
  9. package/dist/browser-cjs/src/model/public_types.d.ts +2 -0
  10. package/dist/browser-cjs/src/platform_browser/mfa/assertions/phone.d.ts +3 -0
  11. package/dist/browser-cjs/src/platform_browser/popup_redirect.d.ts +3 -0
  12. package/dist/browser-cjs/src/platform_browser/providers/phone.d.ts +3 -0
  13. package/dist/browser-cjs/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +3 -0
  14. package/dist/browser-cjs/src/platform_browser/strategies/phone.d.ts +12 -1
  15. package/dist/browser-cjs/src/platform_browser/strategies/popup.d.ts +5 -1
  16. package/dist/browser-cjs/src/platform_browser/strategies/redirect.d.ts +8 -1
  17. package/dist/browser-cjs/test/helpers/integration/helpers.d.ts +1 -0
  18. package/dist/cordova/index.js +2 -2
  19. package/dist/cordova/internal.js +38 -10
  20. package/dist/cordova/internal.js.map +1 -1
  21. package/dist/cordova/{popup_redirect-03a0e499.js → popup_redirect-5e62d3e3.js} +35 -8
  22. package/dist/cordova/{popup_redirect-03a0e499.js.map → popup_redirect-5e62d3e3.js.map} +1 -1
  23. package/dist/cordova/src/core/index.d.ts +4 -0
  24. package/dist/cordova/src/mfa/mfa_session.d.ts +3 -3
  25. package/dist/cordova/src/model/public_types.d.ts +2 -0
  26. package/dist/cordova/src/platform_browser/mfa/assertions/phone.d.ts +3 -0
  27. package/dist/cordova/src/platform_browser/popup_redirect.d.ts +3 -0
  28. package/dist/cordova/src/platform_browser/providers/phone.d.ts +3 -0
  29. package/dist/cordova/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +3 -0
  30. package/dist/cordova/src/platform_browser/strategies/phone.d.ts +12 -1
  31. package/dist/cordova/src/platform_browser/strategies/popup.d.ts +5 -1
  32. package/dist/cordova/src/platform_browser/strategies/redirect.d.ts +8 -1
  33. package/dist/cordova/test/helpers/integration/helpers.d.ts +1 -0
  34. package/dist/esm2017/{index-2969aa9a.js → index-31f2f313.js} +68 -13
  35. package/dist/esm2017/index-31f2f313.js.map +1 -0
  36. package/dist/esm2017/index.js +1 -1
  37. package/dist/esm2017/internal.js +2 -2
  38. package/dist/esm2017/src/core/index.d.ts +4 -0
  39. package/dist/esm2017/src/mfa/mfa_session.d.ts +3 -3
  40. package/dist/esm2017/src/model/public_types.d.ts +2 -0
  41. package/dist/esm2017/src/platform_browser/mfa/assertions/phone.d.ts +3 -0
  42. package/dist/esm2017/src/platform_browser/popup_redirect.d.ts +3 -0
  43. package/dist/esm2017/src/platform_browser/providers/phone.d.ts +3 -0
  44. package/dist/esm2017/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +3 -0
  45. package/dist/esm2017/src/platform_browser/strategies/phone.d.ts +12 -1
  46. package/dist/esm2017/src/platform_browser/strategies/popup.d.ts +5 -1
  47. package/dist/esm2017/src/platform_browser/strategies/redirect.d.ts +8 -1
  48. package/dist/esm2017/test/helpers/integration/helpers.d.ts +1 -0
  49. package/dist/esm5/{index-9479a8cd.js → index-cf3bd4cb.js} +71 -16
  50. package/dist/esm5/index-cf3bd4cb.js.map +1 -0
  51. package/dist/esm5/index.js +1 -1
  52. package/dist/esm5/internal.js +2 -2
  53. package/dist/esm5/src/core/index.d.ts +4 -0
  54. package/dist/esm5/src/mfa/mfa_session.d.ts +3 -3
  55. package/dist/esm5/src/model/public_types.d.ts +2 -0
  56. package/dist/esm5/src/platform_browser/mfa/assertions/phone.d.ts +3 -0
  57. package/dist/esm5/src/platform_browser/popup_redirect.d.ts +3 -0
  58. package/dist/esm5/src/platform_browser/providers/phone.d.ts +3 -0
  59. package/dist/esm5/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +3 -0
  60. package/dist/esm5/src/platform_browser/strategies/phone.d.ts +12 -1
  61. package/dist/esm5/src/platform_browser/strategies/popup.d.ts +5 -1
  62. package/dist/esm5/src/platform_browser/strategies/redirect.d.ts +8 -1
  63. package/dist/esm5/test/helpers/integration/helpers.d.ts +1 -0
  64. package/dist/index.webworker.esm5.js +26 -6
  65. package/dist/index.webworker.esm5.js.map +1 -1
  66. package/dist/node/index.js +1 -1
  67. package/dist/node/internal.js +1 -1
  68. package/dist/node/internal.js.map +1 -1
  69. package/dist/node/src/core/index.d.ts +4 -0
  70. package/dist/node/src/mfa/mfa_session.d.ts +3 -3
  71. package/dist/node/src/model/public_types.d.ts +2 -0
  72. package/dist/node/src/platform_browser/mfa/assertions/phone.d.ts +3 -0
  73. package/dist/node/src/platform_browser/popup_redirect.d.ts +3 -0
  74. package/dist/node/src/platform_browser/providers/phone.d.ts +3 -0
  75. package/dist/node/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +3 -0
  76. package/dist/node/src/platform_browser/strategies/phone.d.ts +12 -1
  77. package/dist/node/src/platform_browser/strategies/popup.d.ts +5 -1
  78. package/dist/node/src/platform_browser/strategies/redirect.d.ts +8 -1
  79. package/dist/node/test/helpers/integration/helpers.d.ts +1 -0
  80. package/dist/node/{totp-976deb0d.js → totp-dd7ce942.js} +34 -13
  81. package/dist/node/{totp-976deb0d.js.map → totp-dd7ce942.js.map} +1 -1
  82. package/dist/node-esm/index.js +1 -1
  83. package/dist/node-esm/internal.js +2 -2
  84. package/dist/node-esm/internal.js.map +1 -1
  85. package/dist/node-esm/src/core/index.d.ts +4 -0
  86. package/dist/node-esm/src/mfa/mfa_session.d.ts +3 -3
  87. package/dist/node-esm/src/model/public_types.d.ts +2 -0
  88. package/dist/node-esm/src/platform_browser/mfa/assertions/phone.d.ts +3 -0
  89. package/dist/node-esm/src/platform_browser/popup_redirect.d.ts +3 -0
  90. package/dist/node-esm/src/platform_browser/providers/phone.d.ts +3 -0
  91. package/dist/node-esm/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +3 -0
  92. package/dist/node-esm/src/platform_browser/strategies/phone.d.ts +12 -1
  93. package/dist/node-esm/src/platform_browser/strategies/popup.d.ts +5 -1
  94. package/dist/node-esm/src/platform_browser/strategies/redirect.d.ts +8 -1
  95. package/dist/node-esm/test/helpers/integration/helpers.d.ts +1 -0
  96. package/dist/node-esm/{totp-6ab1445c.js → totp-f45afc87.js} +31 -10
  97. package/dist/node-esm/{totp-6ab1445c.js.map → totp-f45afc87.js.map} +1 -1
  98. package/dist/rn/index.js +1 -1
  99. package/dist/rn/internal.js +24 -9
  100. package/dist/rn/internal.js.map +1 -1
  101. package/dist/rn/{phone-dd77fd2b.js → phone-8c99ec29.js} +48 -8
  102. package/dist/rn/{phone-dd77fd2b.js.map → phone-8c99ec29.js.map} +1 -1
  103. package/dist/rn/src/core/index.d.ts +4 -0
  104. package/dist/rn/src/mfa/mfa_session.d.ts +3 -3
  105. package/dist/rn/src/model/public_types.d.ts +2 -0
  106. package/dist/rn/src/platform_browser/mfa/assertions/phone.d.ts +3 -0
  107. package/dist/rn/src/platform_browser/popup_redirect.d.ts +3 -0
  108. package/dist/rn/src/platform_browser/providers/phone.d.ts +3 -0
  109. package/dist/rn/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +3 -0
  110. package/dist/rn/src/platform_browser/strategies/phone.d.ts +12 -1
  111. package/dist/rn/src/platform_browser/strategies/popup.d.ts +5 -1
  112. package/dist/rn/src/platform_browser/strategies/redirect.d.ts +8 -1
  113. package/dist/rn/test/helpers/integration/helpers.d.ts +1 -0
  114. package/dist/src/core/index.d.ts +4 -0
  115. package/dist/src/mfa/mfa_session.d.ts +3 -3
  116. package/dist/src/model/public_types.d.ts +2 -0
  117. package/dist/src/platform_browser/mfa/assertions/phone.d.ts +3 -0
  118. package/dist/src/platform_browser/popup_redirect.d.ts +3 -0
  119. package/dist/src/platform_browser/providers/phone.d.ts +3 -0
  120. package/dist/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +3 -0
  121. package/dist/src/platform_browser/strategies/phone.d.ts +12 -1
  122. package/dist/src/platform_browser/strategies/popup.d.ts +5 -1
  123. package/dist/src/platform_browser/strategies/redirect.d.ts +8 -1
  124. package/dist/test/helpers/integration/helpers.d.ts +1 -0
  125. package/package.json +6 -6
  126. package/dist/browser-cjs/index-6efa45d4.js.map +0 -1
  127. package/dist/esm2017/index-2969aa9a.js.map +0 -1
  128. package/dist/esm5/index-9479a8cd.js.map +0 -1
@@ -1,4 +1,4 @@
1
- export { A as ActionCodeOperation, ag as ActionCodeURL, J as AuthCredential, G as AuthErrorCodes, K as EmailAuthCredential, Q as EmailAuthProvider, U as FacebookAuthProvider, F as FactorId, W as GithubAuthProvider, V as GoogleAuthProvider, L as OAuthCredential, X as OAuthProvider, O as OperationType, M as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, Y as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, Z as TwitterAuthProvider, a5 as applyActionCode, w as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a6 as checkActionCode, a4 as confirmPasswordReset, I as connectAuthEmulator, a8 as createUserWithEmailAndPassword, D as debugErrorMap, C as deleteUser, ad as fetchSignInMethodsForEmail, ao as getAdditionalUserInfo, o as getAuth, al as getIdToken, am as getIdTokenResult, aq as getMultiFactorResolver, j as getRedirectResult, N as inMemoryPersistence, i as indexedDBLocalPersistence, H as initializeAuth, t as initializeRecaptchaConfig, ab as isSignInWithEmailLink, a0 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, ar as multiFactor, x as onAuthStateChanged, v as onIdTokenChanged, ah as parseActionCodeURL, E as prodErrorMap, a1 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, ap as reload, ae as sendEmailVerification, a3 as sendPasswordResetEmail, aa as sendSignInLinkToEmail, q as setPersistence, _ as signInAnonymously, $ as signInWithCredential, a2 as signInWithCustomToken, a9 as signInWithEmailAndPassword, ac as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, B as signOut, an as unlink, z as updateCurrentUser, aj as updateEmail, ak as updatePassword, u as updatePhoneNumber, ai as updateProfile, y as useDeviceLanguage, af as verifyBeforeUpdateEmail, a7 as verifyPasswordResetCode } from './index-2969aa9a.js';
1
+ export { A as ActionCodeOperation, ag as ActionCodeURL, J as AuthCredential, G as AuthErrorCodes, K as EmailAuthCredential, Q as EmailAuthProvider, U as FacebookAuthProvider, F as FactorId, W as GithubAuthProvider, V as GoogleAuthProvider, L as OAuthCredential, X as OAuthProvider, O as OperationType, M as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, Y as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, Z as TwitterAuthProvider, a5 as applyActionCode, w as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a6 as checkActionCode, a4 as confirmPasswordReset, I as connectAuthEmulator, a8 as createUserWithEmailAndPassword, D as debugErrorMap, C as deleteUser, ad as fetchSignInMethodsForEmail, ao as getAdditionalUserInfo, o as getAuth, al as getIdToken, am as getIdTokenResult, aq as getMultiFactorResolver, j as getRedirectResult, N as inMemoryPersistence, i as indexedDBLocalPersistence, H as initializeAuth, t as initializeRecaptchaConfig, ab as isSignInWithEmailLink, a0 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, ar as multiFactor, x as onAuthStateChanged, v as onIdTokenChanged, ah as parseActionCodeURL, E as prodErrorMap, a1 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, ap as reload, ae as sendEmailVerification, a3 as sendPasswordResetEmail, aa as sendSignInLinkToEmail, q as setPersistence, _ as signInAnonymously, $ as signInWithCredential, a2 as signInWithCustomToken, a9 as signInWithEmailAndPassword, ac as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, B as signOut, an as unlink, z as updateCurrentUser, aj as updateEmail, ak as updatePassword, u as updatePhoneNumber, ai as updateProfile, y as useDeviceLanguage, af as verifyBeforeUpdateEmail, a7 as verifyPasswordResetCode } from './index-31f2f313.js';
2
2
  import '@firebase/util';
3
3
  import '@firebase/app';
4
4
  import 'tslib';
@@ -1,5 +1,5 @@
1
- import { as as debugAssert, at as _isIOS, au as _isAndroid, av as _fail, aw as _getRedirectUrl, ax as _getProjectConfig, ay as _isIOS7Or8, az as _createError, aA as _assert, aB as AuthEventManager, aC as _getInstance, b as browserLocalPersistence, aD as _persistenceKeyName, a as browserSessionPersistence, aE as _getRedirectResult, aF as _overrideRedirectResult, aG as _clearRedirectOutcomes, aH as _castAuth } from './index-2969aa9a.js';
2
- export { A as ActionCodeOperation, ag as ActionCodeURL, J as AuthCredential, G as AuthErrorCodes, aJ as AuthImpl, aM as AuthPopup, K as EmailAuthCredential, Q as EmailAuthProvider, U as FacebookAuthProvider, F as FactorId, aN as FetchProvider, W as GithubAuthProvider, V as GoogleAuthProvider, L as OAuthCredential, X as OAuthProvider, O as OperationType, M as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, aO as SAMLAuthCredential, Y as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, Z as TwitterAuthProvider, aI as UserImpl, aA as _assert, aH as _castAuth, av as _fail, aL as _generateEventId, aK as _getClientVersion, aC as _getInstance, aE as _getRedirectResult, aF as _overrideRedirectResult, aD as _persistenceKeyName, a5 as applyActionCode, w as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a6 as checkActionCode, a4 as confirmPasswordReset, I as connectAuthEmulator, a8 as createUserWithEmailAndPassword, D as debugErrorMap, C as deleteUser, ad as fetchSignInMethodsForEmail, ao as getAdditionalUserInfo, o as getAuth, al as getIdToken, am as getIdTokenResult, aq as getMultiFactorResolver, j as getRedirectResult, N as inMemoryPersistence, i as indexedDBLocalPersistence, H as initializeAuth, t as initializeRecaptchaConfig, ab as isSignInWithEmailLink, a0 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, ar as multiFactor, x as onAuthStateChanged, v as onIdTokenChanged, ah as parseActionCodeURL, E as prodErrorMap, a1 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, ap as reload, ae as sendEmailVerification, a3 as sendPasswordResetEmail, aa as sendSignInLinkToEmail, q as setPersistence, _ as signInAnonymously, $ as signInWithCredential, a2 as signInWithCustomToken, a9 as signInWithEmailAndPassword, ac as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, B as signOut, an as unlink, z as updateCurrentUser, aj as updateEmail, ak as updatePassword, u as updatePhoneNumber, ai as updateProfile, y as useDeviceLanguage, af as verifyBeforeUpdateEmail, a7 as verifyPasswordResetCode } from './index-2969aa9a.js';
1
+ import { as as debugAssert, at as _isIOS, au as _isAndroid, av as _fail, aw as _getRedirectUrl, ax as _getProjectConfig, ay as _isIOS7Or8, az as _createError, aA as _assert, aB as AuthEventManager, aC as _getInstance, b as browserLocalPersistence, aD as _persistenceKeyName, a as browserSessionPersistence, aE as _getRedirectResult, aF as _overrideRedirectResult, aG as _clearRedirectOutcomes, aH as _castAuth } from './index-31f2f313.js';
2
+ export { A as ActionCodeOperation, ag as ActionCodeURL, J as AuthCredential, G as AuthErrorCodes, aJ as AuthImpl, aM as AuthPopup, K as EmailAuthCredential, Q as EmailAuthProvider, U as FacebookAuthProvider, F as FactorId, aN as FetchProvider, W as GithubAuthProvider, V as GoogleAuthProvider, L as OAuthCredential, X as OAuthProvider, O as OperationType, M as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, p as ProviderId, R as RecaptchaVerifier, aO as SAMLAuthCredential, Y as SAMLAuthProvider, S as SignInMethod, T as TotpMultiFactorGenerator, n as TotpSecret, Z as TwitterAuthProvider, aI as UserImpl, aA as _assert, aH as _castAuth, av as _fail, aL as _generateEventId, aK as _getClientVersion, aC as _getInstance, aE as _getRedirectResult, aF as _overrideRedirectResult, aD as _persistenceKeyName, a5 as applyActionCode, w as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a6 as checkActionCode, a4 as confirmPasswordReset, I as connectAuthEmulator, a8 as createUserWithEmailAndPassword, D as debugErrorMap, C as deleteUser, ad as fetchSignInMethodsForEmail, ao as getAdditionalUserInfo, o as getAuth, al as getIdToken, am as getIdTokenResult, aq as getMultiFactorResolver, j as getRedirectResult, N as inMemoryPersistence, i as indexedDBLocalPersistence, H as initializeAuth, t as initializeRecaptchaConfig, ab as isSignInWithEmailLink, a0 as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, ar as multiFactor, x as onAuthStateChanged, v as onIdTokenChanged, ah as parseActionCodeURL, E as prodErrorMap, a1 as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, ap as reload, ae as sendEmailVerification, a3 as sendPasswordResetEmail, aa as sendSignInLinkToEmail, q as setPersistence, _ as signInAnonymously, $ as signInWithCredential, a2 as signInWithCustomToken, a9 as signInWithEmailAndPassword, ac as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, B as signOut, an as unlink, z as updateCurrentUser, aj as updateEmail, ak as updatePassword, u as updatePhoneNumber, ai as updateProfile, y as useDeviceLanguage, af as verifyBeforeUpdateEmail, a7 as verifyPasswordResetCode } from './index-31f2f313.js';
3
3
  import { querystringDecode } from '@firebase/util';
4
4
  import '@firebase/app';
5
5
  import 'tslib';
@@ -26,6 +26,8 @@ export { debugErrorMap, prodErrorMap, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY
26
26
  * remembered or not. It also makes it easier to never persist the `Auth` state for applications
27
27
  * that are shared by other users or have sensitive data.
28
28
  *
29
+ * This method does not work in a Node.js environment.
30
+ *
29
31
  * @example
30
32
  * ```javascript
31
33
  * setPersistence(auth, browserSessionPersistence);
@@ -54,6 +56,8 @@ export declare function setPersistence(auth: Auth, persistence: Persistence): Pr
54
56
  * Thus, by calling this optional method, you will reduce the latency of future auth flows.
55
57
  * Loading the reCAPTCHA config early will also enhance the signal collected by reCAPTCHA.
56
58
  *
59
+ * This method does not work in a Node.js environment.
60
+ *
57
61
  * @example
58
62
  * ```javascript
59
63
  * initializeRecaptchaConfig(auth);
@@ -14,7 +14,7 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { AuthInternal } from '../model/auth';
17
+ import { UserInternal } from '../model/user';
18
18
  import { MultiFactorSession } from '../model/public_types';
19
19
  export declare const enum MultiFactorSessionType {
20
20
  ENROLL = "enroll",
@@ -29,9 +29,9 @@ interface SerializedMultiFactorSession {
29
29
  export declare class MultiFactorSessionImpl implements MultiFactorSession {
30
30
  readonly type: MultiFactorSessionType;
31
31
  readonly credential: string;
32
- readonly auth?: AuthInternal | undefined;
32
+ readonly user?: UserInternal | undefined;
33
33
  private constructor();
34
- static _fromIdtoken(idToken: string, auth?: AuthInternal): MultiFactorSessionImpl;
34
+ static _fromIdtoken(idToken: string, user?: UserInternal): MultiFactorSessionImpl;
35
35
  static _fromMfaPendingCredential(mfaPendingCredential: string): MultiFactorSessionImpl;
36
36
  toJSON(): SerializedMultiFactorSession;
37
37
  static fromJSON(obj: Partial<SerializedMultiFactorSession>): MultiFactorSessionImpl | null;
@@ -170,6 +170,8 @@ export interface Auth {
170
170
  * remembered or not. It also makes it easier to never persist the Auth state for applications
171
171
  * that are shared by other users or have sensitive data.
172
172
  *
173
+ * This method does not work in a Node.js environment.
174
+ *
173
175
  * @example
174
176
  * ```javascript
175
177
  * auth.setPersistence(browserSessionPersistence);
@@ -44,6 +44,9 @@ export declare class PhoneMultiFactorGenerator {
44
44
  /**
45
45
  * Provides a {@link PhoneMultiFactorAssertion} to confirm ownership of the phone second factor.
46
46
  *
47
+ * @remarks
48
+ * This method does not work in a Node.js environment.
49
+ *
47
50
  * @param phoneAuthCredential - A credential provided by {@link PhoneAuthProvider.credential}.
48
51
  * @returns A {@link PhoneMultiFactorAssertion} which can be used with
49
52
  * {@link MultiFactorResolver.resolveSignIn}
@@ -19,6 +19,9 @@ import { PopupRedirectResolver } from '../model/public_types';
19
19
  * An implementation of {@link PopupRedirectResolver} suitable for browser
20
20
  * based applications.
21
21
  *
22
+ * @remarks
23
+ * This method does not work in a Node.js environment.
24
+ *
22
25
  * @public
23
26
  */
24
27
  export declare const browserPopupRedirectResolver: PopupRedirectResolver;
@@ -21,6 +21,9 @@ import { FirebaseError } from '@firebase/util';
21
21
  /**
22
22
  * Provider for generating an {@link PhoneAuthCredential}.
23
23
  *
24
+ * @remarks
25
+ * `PhoneAuthProvider` does not work in a Node.js environment.
26
+ *
24
27
  * @example
25
28
  * ```javascript
26
29
  * // 'recaptcha-container' is the ID of an element in the DOM.
@@ -21,6 +21,9 @@ export declare const RECAPTCHA_VERIFIER_TYPE = "recaptcha";
21
21
  /**
22
22
  * An {@link https://www.google.com/recaptcha/ | reCAPTCHA}-based application verifier.
23
23
  *
24
+ * @remarks
25
+ * `RecaptchaVerifier` does not work in a Node.js environment.
26
+ *
24
27
  * @public
25
28
  */
26
29
  export declare class RecaptchaVerifier implements ApplicationVerifierInternal {
@@ -33,6 +33,8 @@ import { AuthInternal } from '../../model/auth';
33
33
  * {@link RecaptchaVerifier} (like React Native), but you need to use a
34
34
  * third-party {@link ApplicationVerifier} implementation.
35
35
  *
36
+ * This method does not work in a Node.js environment.
37
+ *
36
38
  * @example
37
39
  * ```javascript
38
40
  * // 'recaptcha-container' is the ID of an element in the DOM.
@@ -52,6 +54,9 @@ export declare function signInWithPhoneNumber(auth: Auth, phoneNumber: string, a
52
54
  /**
53
55
  * Links the user account with the given phone number.
54
56
  *
57
+ * @remarks
58
+ * This method does not work in a Node.js environment.
59
+ *
55
60
  * @param user - The user.
56
61
  * @param phoneNumber - The user's phone number in E.164 format (e.g. +16505550101).
57
62
  * @param appVerifier - The {@link ApplicationVerifier}.
@@ -62,7 +67,10 @@ export declare function linkWithPhoneNumber(user: User, phoneNumber: string, app
62
67
  /**
63
68
  * Re-authenticates a user using a fresh phone credential.
64
69
  *
65
- * @remarks Use before operations such as {@link updatePassword} that require tokens from recent sign-in attempts.
70
+ * @remarks
71
+ * Use before operations such as {@link updatePassword} that require tokens from recent sign-in attempts.
72
+ *
73
+ * This method does not work in a Node.js environment.
66
74
  *
67
75
  * @param user - The user.
68
76
  * @param phoneNumber - The user's phone number in E.164 format (e.g. +16505550101).
@@ -79,6 +87,9 @@ export declare function _verifyPhoneNumber(auth: AuthInternal, options: PhoneInf
79
87
  /**
80
88
  * Updates the user's phone number.
81
89
  *
90
+ * @remarks
91
+ * This method does not work in a Node.js environment.
92
+ *
82
93
  * @example
83
94
  * ```
84
95
  * // 'recaptcha-container' is the ID of an element in the DOM.
@@ -27,6 +27,8 @@ export declare const _POLL_WINDOW_CLOSE_TIMEOUT: Delay;
27
27
  * If succeeds, returns the signed in user along with the provider's credential. If sign in was
28
28
  * unsuccessful, returns an error object containing additional information about the error.
29
29
  *
30
+ * This method does not work in a Node.js environment.
31
+ *
30
32
  * @example
31
33
  * ```javascript
32
34
  * // Sign in using a popup.
@@ -46,7 +48,6 @@ export declare const _POLL_WINDOW_CLOSE_TIMEOUT: Delay;
46
48
  * @param resolver - An instance of {@link PopupRedirectResolver}, optional
47
49
  * if already supplied to {@link initializeAuth} or provided by {@link getAuth}.
48
50
  *
49
- *
50
51
  * @public
51
52
  */
52
53
  export declare function signInWithPopup(auth: Auth, provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<UserCredential>;
@@ -58,6 +59,8 @@ export declare function signInWithPopup(auth: Auth, provider: AuthProvider, reso
58
59
  * If the reauthentication is successful, the returned result will contain the user and the
59
60
  * provider's credential.
60
61
  *
62
+ * This method does not work in a Node.js environment.
63
+ *
61
64
  * @example
62
65
  * ```javascript
63
66
  * // Sign in using a popup.
@@ -82,6 +85,7 @@ export declare function reauthenticateWithPopup(user: User, provider: AuthProvid
82
85
  * @remarks
83
86
  * If the linking is successful, the returned result will contain the user and the provider's credential.
84
87
  *
88
+ * This method does not work in a Node.js environment.
85
89
  *
86
90
  * @example
87
91
  * ```javascript
@@ -23,6 +23,8 @@ import { Auth, AuthProvider, PopupRedirectResolver, User, UserCredential } from
23
23
  * Follow the {@link https://firebase.google.com/docs/auth/web/redirect-best-practices
24
24
  * | best practices} when using {@link signInWithRedirect}.
25
25
  *
26
+ * This method does not work in a Node.js environment.
27
+ *
26
28
  * @example
27
29
  * ```javascript
28
30
  * // Sign in using a redirect.
@@ -65,6 +67,8 @@ export declare function _signInWithRedirect(auth: Auth, provider: AuthProvider,
65
67
  * Follow the {@link https://firebase.google.com/docs/auth/web/redirect-best-practices
66
68
  * | best practices} when using {@link reauthenticateWithRedirect}.
67
69
  *
70
+ * This method does not work in a Node.js environment.
71
+ *
68
72
  * @example
69
73
  * ```javascript
70
74
  * // Sign in using a redirect.
@@ -99,6 +103,8 @@ export declare function _reauthenticateWithRedirect(user: User, provider: AuthPr
99
103
  * Follow the {@link https://firebase.google.com/docs/auth/web/redirect-best-practices
100
104
  * | best practices} when using {@link linkWithRedirect}.
101
105
  *
106
+ * This method does not work in a Node.js environment.
107
+ *
102
108
  * @example
103
109
  * ```javascript
104
110
  * // Sign in using some other provider.
@@ -118,7 +124,6 @@ export declare function _reauthenticateWithRedirect(user: User, provider: AuthPr
118
124
  * @param resolver - An instance of {@link PopupRedirectResolver}, optional
119
125
  * if already supplied to {@link initializeAuth} or provided by {@link getAuth}.
120
126
  *
121
- *
122
127
  * @public
123
128
  */
124
129
  export declare function linkWithRedirect(user: User, provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<never>;
@@ -130,6 +135,8 @@ export declare function _linkWithRedirect(user: User, provider: AuthProvider, re
130
135
  * If sign-in succeeded, returns the signed in user. If sign-in was unsuccessful, fails with an
131
136
  * error. If no redirect operation was called, returns `null`.
132
137
  *
138
+ * This method does not work in a Node.js environment.
139
+ *
133
140
  * @example
134
141
  * ```javascript
135
142
  * // Sign in using a redirect.
@@ -20,4 +20,5 @@ export declare function getTestInstance(requireEmulator?: boolean): Auth;
20
20
  export declare function cleanUpTestInstance(auth: Auth): Promise<void>;
21
21
  export declare function getTotpCode(sharedSecretKey: string, periodSec: number, verificationCodeLength: number, timestamp: Date): string;
22
22
  export declare const email = "totpuser-donotdelete@test.com";
23
+ export declare const fakePassword = "password";
23
24
  export declare const incorrectTotpCode = "1000000";
@@ -7191,6 +7191,8 @@ function getAdditionalUserInfo(userCredential) {
7191
7191
  * remembered or not. It also makes it easier to never persist the `Auth` state for applications
7192
7192
  * that are shared by other users or have sensitive data.
7193
7193
  *
7194
+ * This method does not work in a Node.js environment.
7195
+ *
7194
7196
  * @example
7195
7197
  * ```javascript
7196
7198
  * setPersistence(auth, browserSessionPersistence);
@@ -7221,6 +7223,8 @@ function setPersistence(auth, persistence) {
7221
7223
  * Thus, by calling this optional method, you will reduce the latency of future auth flows.
7222
7224
  * Loading the reCAPTCHA config early will also enhance the signal collected by reCAPTCHA.
7223
7225
  *
7226
+ * This method does not work in a Node.js environment.
7227
+ *
7224
7228
  * @example
7225
7229
  * ```javascript
7226
7230
  * initializeRecaptchaConfig(auth);
@@ -7345,14 +7349,30 @@ function deleteUser(user) {
7345
7349
  });
7346
7350
  }
7347
7351
 
7352
+ /**
7353
+ * @license
7354
+ * Copyright 2020 Google LLC
7355
+ *
7356
+ * Licensed under the Apache License, Version 2.0 (the "License");
7357
+ * you may not use this file except in compliance with the License.
7358
+ * You may obtain a copy of the License at
7359
+ *
7360
+ * http://www.apache.org/licenses/LICENSE-2.0
7361
+ *
7362
+ * Unless required by applicable law or agreed to in writing, software
7363
+ * distributed under the License is distributed on an "AS IS" BASIS,
7364
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7365
+ * See the License for the specific language governing permissions and
7366
+ * limitations under the License.
7367
+ */
7348
7368
  var MultiFactorSessionImpl = /** @class */ (function () {
7349
- function MultiFactorSessionImpl(type, credential, auth) {
7369
+ function MultiFactorSessionImpl(type, credential, user) {
7350
7370
  this.type = type;
7351
7371
  this.credential = credential;
7352
- this.auth = auth;
7372
+ this.user = user;
7353
7373
  }
7354
- MultiFactorSessionImpl._fromIdtoken = function (idToken, auth) {
7355
- return new MultiFactorSessionImpl("enroll" /* MultiFactorSessionType.ENROLL */, idToken, auth);
7374
+ MultiFactorSessionImpl._fromIdtoken = function (idToken, user) {
7375
+ return new MultiFactorSessionImpl("enroll" /* MultiFactorSessionType.ENROLL */, idToken, user);
7356
7376
  };
7357
7377
  MultiFactorSessionImpl._fromMfaPendingCredential = function (mfaPendingCredential) {
7358
7378
  return new MultiFactorSessionImpl("signin" /* MultiFactorSessionType.SIGN_IN */, mfaPendingCredential);
@@ -7536,7 +7556,7 @@ var MultiFactorUserImpl = /** @class */ (function () {
7536
7556
  case 0:
7537
7557
  _b = (_a = MultiFactorSessionImpl)._fromIdtoken;
7538
7558
  return [4 /*yield*/, this.user.getIdToken()];
7539
- case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), this.user.auth])];
7559
+ case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), this.user])];
7540
7560
  }
7541
7561
  });
7542
7562
  });
@@ -9194,6 +9214,9 @@ var DEFAULT_PARAMS = {
9194
9214
  /**
9195
9215
  * An {@link https://www.google.com/recaptcha/ | reCAPTCHA}-based application verifier.
9196
9216
  *
9217
+ * @remarks
9218
+ * `RecaptchaVerifier` does not work in a Node.js environment.
9219
+ *
9197
9220
  * @public
9198
9221
  */
9199
9222
  var RecaptchaVerifier = /** @class */ (function () {
@@ -9468,6 +9491,8 @@ var ConfirmationResultImpl = /** @class */ (function () {
9468
9491
  * {@link RecaptchaVerifier} (like React Native), but you need to use a
9469
9492
  * third-party {@link ApplicationVerifier} implementation.
9470
9493
  *
9494
+ * This method does not work in a Node.js environment.
9495
+ *
9471
9496
  * @example
9472
9497
  * ```javascript
9473
9498
  * // 'recaptcha-container' is the ID of an element in the DOM.
@@ -9503,6 +9528,9 @@ function signInWithPhoneNumber(auth, phoneNumber, appVerifier) {
9503
9528
  /**
9504
9529
  * Links the user account with the given phone number.
9505
9530
  *
9531
+ * @remarks
9532
+ * This method does not work in a Node.js environment.
9533
+ *
9506
9534
  * @param user - The user.
9507
9535
  * @param phoneNumber - The user's phone number in E.164 format (e.g. +16505550101).
9508
9536
  * @param appVerifier - The {@link ApplicationVerifier}.
@@ -9532,7 +9560,10 @@ function linkWithPhoneNumber(user, phoneNumber, appVerifier) {
9532
9560
  /**
9533
9561
  * Re-authenticates a user using a fresh phone credential.
9534
9562
  *
9535
- * @remarks Use before operations such as {@link updatePassword} that require tokens from recent sign-in attempts.
9563
+ * @remarks
9564
+ * Use before operations such as {@link updatePassword} that require tokens from recent sign-in attempts.
9565
+ *
9566
+ * This method does not work in a Node.js environment.
9536
9567
  *
9537
9568
  * @param user - The user.
9538
9569
  * @param phoneNumber - The user's phone number in E.164 format (e.g. +16505550101).
@@ -9633,6 +9664,9 @@ function _verifyPhoneNumber(auth, options, verifier) {
9633
9664
  /**
9634
9665
  * Updates the user's phone number.
9635
9666
  *
9667
+ * @remarks
9668
+ * This method does not work in a Node.js environment.
9669
+ *
9636
9670
  * @example
9637
9671
  * ```
9638
9672
  * // 'recaptcha-container' is the ID of an element in the DOM.
@@ -9681,6 +9715,9 @@ function updatePhoneNumber(user, credential) {
9681
9715
  /**
9682
9716
  * Provider for generating an {@link PhoneAuthCredential}.
9683
9717
  *
9718
+ * @remarks
9719
+ * `PhoneAuthProvider` does not work in a Node.js environment.
9720
+ *
9684
9721
  * @example
9685
9722
  * ```javascript
9686
9723
  * // 'recaptcha-container' is the ID of an element in the DOM.
@@ -10085,6 +10122,8 @@ var _POLL_WINDOW_CLOSE_TIMEOUT = new Delay(2000, 10000);
10085
10122
  * If succeeds, returns the signed in user along with the provider's credential. If sign in was
10086
10123
  * unsuccessful, returns an error object containing additional information about the error.
10087
10124
  *
10125
+ * This method does not work in a Node.js environment.
10126
+ *
10088
10127
  * @example
10089
10128
  * ```javascript
10090
10129
  * // Sign in using a popup.
@@ -10104,7 +10143,6 @@ var _POLL_WINDOW_CLOSE_TIMEOUT = new Delay(2000, 10000);
10104
10143
  * @param resolver - An instance of {@link PopupRedirectResolver}, optional
10105
10144
  * if already supplied to {@link initializeAuth} or provided by {@link getAuth}.
10106
10145
  *
10107
- *
10108
10146
  * @public
10109
10147
  */
10110
10148
  function signInWithPopup(auth, provider, resolver) {
@@ -10127,6 +10165,8 @@ function signInWithPopup(auth, provider, resolver) {
10127
10165
  * If the reauthentication is successful, the returned result will contain the user and the
10128
10166
  * provider's credential.
10129
10167
  *
10168
+ * This method does not work in a Node.js environment.
10169
+ *
10130
10170
  * @example
10131
10171
  * ```javascript
10132
10172
  * // Sign in using a popup.
@@ -10162,6 +10202,7 @@ function reauthenticateWithPopup(user, provider, resolver) {
10162
10202
  * @remarks
10163
10203
  * If the linking is successful, the returned result will contain the user and the provider's credential.
10164
10204
  *
10205
+ * This method does not work in a Node.js environment.
10165
10206
  *
10166
10207
  * @example
10167
10208
  * ```javascript
@@ -10497,6 +10538,8 @@ function pendingRedirectKey(auth) {
10497
10538
  * Follow the {@link https://firebase.google.com/docs/auth/web/redirect-best-practices
10498
10539
  * | best practices} when using {@link signInWithRedirect}.
10499
10540
  *
10541
+ * This method does not work in a Node.js environment.
10542
+ *
10500
10543
  * @example
10501
10544
  * ```javascript
10502
10545
  * // Sign in using a redirect.
@@ -10566,6 +10609,8 @@ function _signInWithRedirect(auth, provider, resolver) {
10566
10609
  * Follow the {@link https://firebase.google.com/docs/auth/web/redirect-best-practices
10567
10610
  * | best practices} when using {@link reauthenticateWithRedirect}.
10568
10611
  *
10612
+ * This method does not work in a Node.js environment.
10613
+ *
10569
10614
  * @example
10570
10615
  * ```javascript
10571
10616
  * // Sign in using a redirect.
@@ -10630,6 +10675,8 @@ function _reauthenticateWithRedirect(user, provider, resolver) {
10630
10675
  * Follow the {@link https://firebase.google.com/docs/auth/web/redirect-best-practices
10631
10676
  * | best practices} when using {@link linkWithRedirect}.
10632
10677
  *
10678
+ * This method does not work in a Node.js environment.
10679
+ *
10633
10680
  * @example
10634
10681
  * ```javascript
10635
10682
  * // Sign in using some other provider.
@@ -10649,7 +10696,6 @@ function _reauthenticateWithRedirect(user, provider, resolver) {
10649
10696
  * @param resolver - An instance of {@link PopupRedirectResolver}, optional
10650
10697
  * if already supplied to {@link initializeAuth} or provided by {@link getAuth}.
10651
10698
  *
10652
- *
10653
10699
  * @public
10654
10700
  */
10655
10701
  function linkWithRedirect(user, provider, resolver) {
@@ -10694,6 +10740,8 @@ function _linkWithRedirect(user, provider, resolver) {
10694
10740
  * If sign-in succeeded, returns the signed in user. If sign-in was unsuccessful, fails with an
10695
10741
  * error. If no redirect operation was called, returns `null`.
10696
10742
  *
10743
+ * This method does not work in a Node.js environment.
10744
+ *
10697
10745
  * @example
10698
10746
  * ```javascript
10699
10747
  * // Sign in using a redirect.
@@ -11555,6 +11603,9 @@ var BrowserPopupRedirectResolver = /** @class */ (function () {
11555
11603
  * An implementation of {@link PopupRedirectResolver} suitable for browser
11556
11604
  * based applications.
11557
11605
  *
11606
+ * @remarks
11607
+ * This method does not work in a Node.js environment.
11608
+ *
11558
11609
  * @public
11559
11610
  */
11560
11611
  var browserPopupRedirectResolver = BrowserPopupRedirectResolver;
@@ -11620,6 +11671,9 @@ var PhoneMultiFactorGenerator = /** @class */ (function () {
11620
11671
  /**
11621
11672
  * Provides a {@link PhoneMultiFactorAssertion} to confirm ownership of the phone second factor.
11622
11673
  *
11674
+ * @remarks
11675
+ * This method does not work in a Node.js environment.
11676
+ *
11623
11677
  * @param phoneAuthCredential - A credential provided by {@link PhoneAuthProvider.credential}.
11624
11678
  * @returns A {@link PhoneMultiFactorAssertion} which can be used with
11625
11679
  * {@link MultiFactorResolver.resolveSignIn}
@@ -11677,20 +11731,21 @@ var TotpMultiFactorGenerator = /** @class */ (function () {
11677
11731
  * @returns A promise to {@link TotpSecret}.
11678
11732
  */
11679
11733
  TotpMultiFactorGenerator.generateSecret = function (session) {
11734
+ var _a;
11680
11735
  return __awaiter(this, void 0, void 0, function () {
11681
11736
  var mfaSession, response;
11682
- return __generator(this, function (_a) {
11683
- switch (_a.label) {
11737
+ return __generator(this, function (_b) {
11738
+ switch (_b.label) {
11684
11739
  case 0:
11685
11740
  mfaSession = session;
11686
- _assert(typeof mfaSession.auth !== 'undefined', "internal-error" /* AuthErrorCode.INTERNAL_ERROR */);
11687
- return [4 /*yield*/, startEnrollTotpMfa(mfaSession.auth, {
11741
+ _assert(typeof ((_a = mfaSession.user) === null || _a === void 0 ? void 0 : _a.auth) !== 'undefined', "internal-error" /* AuthErrorCode.INTERNAL_ERROR */);
11742
+ return [4 /*yield*/, startEnrollTotpMfa(mfaSession.user.auth, {
11688
11743
  idToken: mfaSession.credential,
11689
11744
  totpEnrollmentInfo: {}
11690
11745
  })];
11691
11746
  case 1:
11692
- response = _a.sent();
11693
- return [2 /*return*/, TotpSecret._fromStartTotpMfaEnrollmentResponse(response, mfaSession.auth)];
11747
+ response = _b.sent();
11748
+ return [2 /*return*/, TotpSecret._fromStartTotpMfaEnrollmentResponse(response, mfaSession.user.auth)];
11694
11749
  }
11695
11750
  });
11696
11751
  });
@@ -11808,7 +11863,7 @@ function _isEmptyString(input) {
11808
11863
  }
11809
11864
 
11810
11865
  var name = "@firebase/auth";
11811
- var version = "0.23.2-canary.e12e7f535";
11866
+ var version = "0.23.2-canary.e522056fc";
11812
11867
 
11813
11868
  /**
11814
11869
  * @license
@@ -12061,4 +12116,4 @@ function getAuth(app) {
12061
12116
  registerAuth("Browser" /* ClientPlatform.BROWSER */);
12062
12117
 
12063
12118
  export { signInWithCredential as $, ActionCodeOperation as A, signOut as B, deleteUser as C, debugErrorMap as D, prodErrorMap as E, FactorId as F, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY as G, initializeAuth as H, connectAuthEmulator as I, AuthCredential as J, EmailAuthCredential as K, OAuthCredential as L, PhoneAuthCredential as M, inMemoryPersistence as N, OperationType as O, PhoneAuthProvider as P, EmailAuthProvider as Q, RecaptchaVerifier as R, SignInMethod as S, TotpMultiFactorGenerator as T, FacebookAuthProvider as U, GoogleAuthProvider as V, GithubAuthProvider as W, OAuthProvider as X, SAMLAuthProvider as Y, TwitterAuthProvider as Z, signInAnonymously as _, browserSessionPersistence as a, linkWithCredential as a0, reauthenticateWithCredential as a1, signInWithCustomToken as a2, sendPasswordResetEmail as a3, confirmPasswordReset as a4, applyActionCode as a5, checkActionCode as a6, verifyPasswordResetCode as a7, createUserWithEmailAndPassword as a8, signInWithEmailAndPassword as a9, _createError as aA, AuthEventManager as aB, _getInstance as aC, _persistenceKeyName as aD, _clearRedirectOutcomes as aE, _getRedirectResult as aF, _overrideRedirectResult as aG, _castAuth as aH, UserImpl as aI, AuthImpl as aJ, _getClientVersion as aK, _generateEventId as aL, AuthPopup as aM, FetchProvider as aN, SAMLAuthCredential as aO, sendSignInLinkToEmail as aa, isSignInWithEmailLink as ab, signInWithEmailLink as ac, fetchSignInMethodsForEmail as ad, sendEmailVerification as ae, verifyBeforeUpdateEmail as af, ActionCodeURL as ag, parseActionCodeURL as ah, updateProfile as ai, updateEmail as aj, updatePassword as ak, getIdToken as al, getIdTokenResult as am, unlink as an, getAdditionalUserInfo as ao, reload as ap, getMultiFactorResolver as aq, multiFactor as ar, _isIOS as as, _isAndroid as at, _fail as au, _getRedirectUrl as av, debugAssert as aw, _getProjectConfig as ax, _isIOS7Or8 as ay, _assert 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, onIdTokenChanged as v, beforeAuthStateChanged as w, onAuthStateChanged as x, useDeviceLanguage as y, updateCurrentUser as z };
12064
- //# sourceMappingURL=index-9479a8cd.js.map
12119
+ //# sourceMappingURL=index-cf3bd4cb.js.map