@firebase/auth 0.23.2-canary.f2fb56fc0 → 0.23.2-canary.f3067f72d

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 (67) hide show
  1. package/dist/auth-public.d.ts +3 -4
  2. package/dist/auth.d.ts +3 -4
  3. package/dist/browser-cjs/{index-076dd21a.js → index-4e3902d3.js} +4 -5
  4. package/dist/{esm2017/index-16873a0f.js.map → browser-cjs/index-4e3902d3.js.map} +1 -1
  5. package/dist/browser-cjs/index.doc.d.ts +1 -1
  6. package/dist/browser-cjs/index.js +1 -1
  7. package/dist/browser-cjs/index.rn.d.ts +7 -8
  8. package/dist/browser-cjs/internal.js +1 -1
  9. package/dist/browser-cjs/src/model/public_types.d.ts +1 -1
  10. package/dist/browser-cjs/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  11. package/dist/cordova/index.doc.d.ts +1 -1
  12. package/dist/cordova/index.js +2 -2
  13. package/dist/cordova/index.rn.d.ts +7 -8
  14. package/dist/cordova/internal.js +4 -5
  15. package/dist/cordova/internal.js.map +1 -1
  16. package/dist/cordova/{popup_redirect-45f50d6d.js → popup_redirect-dedc8953.js} +2 -2
  17. package/dist/cordova/{popup_redirect-45f50d6d.js.map → popup_redirect-dedc8953.js.map} +1 -1
  18. package/dist/cordova/src/model/public_types.d.ts +1 -1
  19. package/dist/cordova/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  20. package/dist/esm2017/{index-16873a0f.js → index-b991d88a.js} +4 -5
  21. package/dist/{browser-cjs/index-076dd21a.js.map → esm2017/index-b991d88a.js.map} +1 -1
  22. package/dist/esm2017/index.doc.d.ts +1 -1
  23. package/dist/esm2017/index.js +1 -1
  24. package/dist/esm2017/index.rn.d.ts +7 -8
  25. package/dist/esm2017/internal.js +2 -2
  26. package/dist/esm2017/src/model/public_types.d.ts +1 -1
  27. package/dist/esm2017/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  28. package/dist/esm5/{index-9607cc9e.js → index-42a84fec.js} +4 -5
  29. package/dist/esm5/{index-9607cc9e.js.map → index-42a84fec.js.map} +1 -1
  30. package/dist/esm5/index.doc.d.ts +1 -1
  31. package/dist/esm5/index.js +1 -1
  32. package/dist/esm5/index.rn.d.ts +7 -8
  33. package/dist/esm5/internal.js +2 -2
  34. package/dist/esm5/src/model/public_types.d.ts +1 -1
  35. package/dist/esm5/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  36. package/dist/index.doc.d.ts +1 -1
  37. package/dist/index.rn.d.ts +7 -8
  38. package/dist/index.webworker.esm5.js +1 -1
  39. package/dist/node/index.doc.d.ts +1 -1
  40. package/dist/node/index.js +1 -1
  41. package/dist/node/index.rn.d.ts +7 -8
  42. package/dist/node/internal.js +1 -1
  43. package/dist/node/src/model/public_types.d.ts +1 -1
  44. package/dist/node/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  45. package/dist/node/{totp-92574d9d.js → totp-6261826d.js} +2 -2
  46. package/dist/node/{totp-92574d9d.js.map → totp-6261826d.js.map} +1 -1
  47. package/dist/node-esm/index.doc.d.ts +1 -1
  48. package/dist/node-esm/index.js +1 -1
  49. package/dist/node-esm/index.rn.d.ts +7 -8
  50. package/dist/node-esm/internal.js +2 -2
  51. package/dist/node-esm/src/model/public_types.d.ts +1 -1
  52. package/dist/node-esm/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  53. package/dist/node-esm/{totp-189893d3.js → totp-b39ea02b.js} +2 -2
  54. package/dist/node-esm/{totp-189893d3.js.map → totp-b39ea02b.js.map} +1 -1
  55. package/dist/rn/index.doc.d.ts +1 -1
  56. package/dist/rn/index.js +5 -57
  57. package/dist/rn/index.js.map +1 -1
  58. package/dist/rn/index.rn.d.ts +7 -8
  59. package/dist/rn/internal.js +1 -1
  60. package/dist/rn/{phone-5cad688a.js → phone-23272773.js} +4 -5
  61. package/dist/rn/{phone-5cad688a.js.map → phone-23272773.js.map} +1 -1
  62. package/dist/rn/src/model/public_types.d.ts +1 -1
  63. package/dist/rn/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  64. package/dist/src/model/public_types.d.ts +1 -1
  65. package/dist/src/platform_browser/recaptcha/recaptcha_verifier.d.ts +2 -3
  66. package/package.json +11 -15
  67. package/react-native/package.json +0 -7
@@ -21,4 +21,4 @@
21
21
  */
22
22
  export * from './index';
23
23
  export { cordovaPopupRedirectResolver } from './index.cordova';
24
- export { reactNativeLocalPersistence, getReactNativePersistence } from './index.rn';
24
+ export { getReactNativePersistence } from './index.rn';
@@ -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-9607cc9e.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-42a84fec.js';
2
2
  import 'tslib';
3
3
  import '@firebase/util';
4
4
  import '@firebase/app';
@@ -14,19 +14,18 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
+ /**
18
+ * This is the file that people using React Native will actually import. You
19
+ * should only include this file if you have something specific about your
20
+ * implementation that mandates having a separate entrypoint. Otherwise you can
21
+ * just use index.ts
22
+ */
17
23
  import { FirebaseApp } from '@firebase/app';
18
- import { Auth, Persistence } from './src/model/public_types';
24
+ import { Auth } from './src/model/public_types';
19
25
  import { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';
20
26
  export * from './index.shared';
21
27
  export { PhoneAuthProvider } from './src/platform_browser/providers/phone';
22
28
  export { signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber } from './src/platform_browser/strategies/phone';
23
29
  export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
24
- /**
25
- * An implementation of {@link Persistence} of type 'LOCAL' for use in React
26
- * Native environments.
27
- *
28
- * @public
29
- */
30
- export declare const reactNativeLocalPersistence: Persistence;
31
30
  export { getReactNativePersistence };
32
31
  export declare function getAuth(app?: FirebaseApp): Auth;
@@ -1,5 +1,5 @@
1
- import { as as _isIOS, at as _isAndroid, au as _fail, av as _getRedirectUrl, aw as debugAssert, ax as _getProjectConfig, ay as _isIOS7Or8, az as _assert, aA as _createError, aB as AuthEventManager, aC as _getInstance, b as browserLocalPersistence, aD as _persistenceKeyName, aE as _clearRedirectOutcomes, a as browserSessionPersistence, aF as _getRedirectResult, aG as _overrideRedirectResult, aH as _castAuth } from './index-9607cc9e.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, az as _assert, aH as _castAuth, au as _fail, aL as _generateEventId, aK as _getClientVersion, aC as _getInstance, aF as _getRedirectResult, aG 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-9607cc9e.js';
1
+ import { as as _isIOS, at as _isAndroid, au as _fail, av as _getRedirectUrl, aw as debugAssert, ax as _getProjectConfig, ay as _isIOS7Or8, az as _assert, aA as _createError, aB as AuthEventManager, aC as _getInstance, b as browserLocalPersistence, aD as _persistenceKeyName, aE as _clearRedirectOutcomes, a as browserSessionPersistence, aF as _getRedirectResult, aG as _overrideRedirectResult, aH as _castAuth } from './index-42a84fec.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, az as _assert, aH as _castAuth, au as _fail, aL as _generateEventId, aK as _getClientVersion, aC as _getInstance, aF as _getRedirectResult, aG 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-42a84fec.js';
3
3
  import { __awaiter, __generator, __extends } from 'tslib';
4
4
  import { querystringDecode } from '@firebase/util';
5
5
  import '@firebase/app';
@@ -86,7 +86,7 @@ export interface ParsedToken {
86
86
  'identities'?: Record<string, string>;
87
87
  };
88
88
  /** Map of any additional custom claims. */
89
- [key: string]: any;
89
+ [key: string]: unknown;
90
90
  }
91
91
  /**
92
92
  * Type definition for an event callback.
@@ -46,6 +46,7 @@ export declare class RecaptchaVerifier implements ApplicationVerifierInternal {
46
46
  readonly _recaptchaLoader: ReCaptchaLoader;
47
47
  private recaptcha;
48
48
  /**
49
+ * @param authExtern - The corresponding Firebase {@link Auth} instance.
49
50
  *
50
51
  * @param containerOrId - The reCAPTCHA container parameter.
51
52
  *
@@ -62,10 +63,8 @@ export declare class RecaptchaVerifier implements ApplicationVerifierInternal {
62
63
  * the sitekey. Firebase Auth backend provisions a reCAPTCHA for each project and will
63
64
  * configure this upon rendering. For an invisible reCAPTCHA, a size key must have the value
64
65
  * 'invisible'.
65
- *
66
- * @param authExtern - The corresponding Firebase {@link Auth} instance.
67
66
  */
68
- constructor(containerOrId: HTMLElement | string, parameters: RecaptchaParameters, authExtern: Auth);
67
+ constructor(authExtern: Auth, containerOrId: HTMLElement | string, parameters?: RecaptchaParameters);
69
68
  /**
70
69
  * Waits for the user to solve the reCAPTCHA and resolves with the reCAPTCHA token.
71
70
  *
@@ -21,4 +21,4 @@
21
21
  */
22
22
  export * from './index';
23
23
  export { cordovaPopupRedirectResolver } from './index.cordova';
24
- export { reactNativeLocalPersistence, getReactNativePersistence } from './index.rn';
24
+ export { getReactNativePersistence } from './index.rn';
@@ -14,19 +14,18 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
+ /**
18
+ * This is the file that people using React Native will actually import. You
19
+ * should only include this file if you have something specific about your
20
+ * implementation that mandates having a separate entrypoint. Otherwise you can
21
+ * just use index.ts
22
+ */
17
23
  import { FirebaseApp } from '@firebase/app';
18
- import { Auth, Persistence } from './src/model/public_types';
24
+ import { Auth } from './src/model/public_types';
19
25
  import { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';
20
26
  export * from './index.shared';
21
27
  export { PhoneAuthProvider } from './src/platform_browser/providers/phone';
22
28
  export { signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber } from './src/platform_browser/strategies/phone';
23
29
  export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
24
- /**
25
- * An implementation of {@link Persistence} of type 'LOCAL' for use in React
26
- * Native environments.
27
- *
28
- * @public
29
- */
30
- export declare const reactNativeLocalPersistence: Persistence;
31
30
  export { getReactNativePersistence };
32
31
  export declare function getAuth(app?: FirebaseApp): Auth;
@@ -549,7 +549,7 @@ function _initializeAuthInstance(auth, deps) {
549
549
  }
550
550
 
551
551
  var name = "@firebase/auth";
552
- var version = "0.23.2-canary.f2fb56fc0";
552
+ var version = "0.23.2-canary.f3067f72d";
553
553
 
554
554
  /**
555
555
  * @license
@@ -21,4 +21,4 @@
21
21
  */
22
22
  export * from './index';
23
23
  export { cordovaPopupRedirectResolver } from './index.cordova';
24
- export { reactNativeLocalPersistence, getReactNativePersistence } from './index.rn';
24
+ export { getReactNativePersistence } from './index.rn';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var totp = require('./totp-92574d9d.js');
5
+ var totp = require('./totp-6261826d.js');
6
6
  require('tslib');
7
7
  require('@firebase/util');
8
8
  require('@firebase/app');
@@ -14,19 +14,18 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
+ /**
18
+ * This is the file that people using React Native will actually import. You
19
+ * should only include this file if you have something specific about your
20
+ * implementation that mandates having a separate entrypoint. Otherwise you can
21
+ * just use index.ts
22
+ */
17
23
  import { FirebaseApp } from '@firebase/app';
18
- import { Auth, Persistence } from './src/model/public_types';
24
+ import { Auth } from './src/model/public_types';
19
25
  import { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';
20
26
  export * from './index.shared';
21
27
  export { PhoneAuthProvider } from './src/platform_browser/providers/phone';
22
28
  export { signInWithPhoneNumber, linkWithPhoneNumber, reauthenticateWithPhoneNumber, updatePhoneNumber } from './src/platform_browser/strategies/phone';
23
29
  export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
24
- /**
25
- * An implementation of {@link Persistence} of type 'LOCAL' for use in React
26
- * Native environments.
27
- *
28
- * @public
29
- */
30
- export declare const reactNativeLocalPersistence: Persistence;
31
30
  export { getReactNativePersistence };
32
31
  export declare function getAuth(app?: FirebaseApp): Auth;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var totp = require('./totp-92574d9d.js');
5
+ var totp = require('./totp-6261826d.js');
6
6
  var tslib = require('tslib');
7
7
  var util = require('@firebase/util');
8
8
  var app = require('@firebase/app');
@@ -86,7 +86,7 @@ export interface ParsedToken {
86
86
  'identities'?: Record<string, string>;
87
87
  };
88
88
  /** Map of any additional custom claims. */
89
- [key: string]: any;
89
+ [key: string]: unknown;
90
90
  }
91
91
  /**
92
92
  * Type definition for an event callback.
@@ -46,6 +46,7 @@ export declare class RecaptchaVerifier implements ApplicationVerifierInternal {
46
46
  readonly _recaptchaLoader: ReCaptchaLoader;
47
47
  private recaptcha;
48
48
  /**
49
+ * @param authExtern - The corresponding Firebase {@link Auth} instance.
49
50
  *
50
51
  * @param containerOrId - The reCAPTCHA container parameter.
51
52
  *
@@ -62,10 +63,8 @@ export declare class RecaptchaVerifier implements ApplicationVerifierInternal {
62
63
  * the sitekey. Firebase Auth backend provisions a reCAPTCHA for each project and will
63
64
  * configure this upon rendering. For an invisible reCAPTCHA, a size key must have the value
64
65
  * 'invisible'.
65
- *
66
- * @param authExtern - The corresponding Firebase {@link Auth} instance.
67
66
  */
68
- constructor(containerOrId: HTMLElement | string, parameters: RecaptchaParameters, authExtern: Auth);
67
+ constructor(authExtern: Auth, containerOrId: HTMLElement | string, parameters?: RecaptchaParameters);
69
68
  /**
70
69
  * Waits for the user to solve the reCAPTCHA and resolves with the reCAPTCHA token.
71
70
  *
@@ -7636,7 +7636,7 @@ function multiFactor(user) {
7636
7636
  }
7637
7637
 
7638
7638
  var name = "@firebase/auth";
7639
- var version = "0.23.2-canary.f2fb56fc0";
7639
+ var version = "0.23.2-canary.f3067f72d";
7640
7640
 
7641
7641
  /**
7642
7642
  * @license
@@ -8206,4 +8206,4 @@ exports.updateProfile = updateProfile;
8206
8206
  exports.useDeviceLanguage = useDeviceLanguage;
8207
8207
  exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
8208
8208
  exports.verifyPasswordResetCode = verifyPasswordResetCode;
8209
- //# sourceMappingURL=totp-92574d9d.js.map
8209
+ //# sourceMappingURL=totp-6261826d.js.map