@firebase/auth 1.13.10 → 1.13.11

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 (82) hide show
  1. package/README.md +6 -13
  2. package/dist/browser-cjs/{index-D_utMrqy.js → index-DOvdZQDO.js} +52 -21
  3. package/dist/browser-cjs/index-DOvdZQDO.js.map +1 -0
  4. package/dist/browser-cjs/index.js +1 -1
  5. package/dist/browser-cjs/internal.js +1 -1
  6. package/dist/{cordova/test/integration/webdriver/util/js_load_condition.d.ts → browser-cjs/src/platform_browser/load_js_browser.d.ts} +7 -8
  7. package/dist/browser-cjs/test/integration/webdriver/util/auth_driver.d.ts +9 -5
  8. package/dist/browser-cjs/test/integration/webdriver/util/idp_page.d.ts +2 -2
  9. package/dist/browser-cjs/test/integration/webdriver/util/ui_page.d.ts +2 -2
  10. package/dist/cordova/index.js +2 -2
  11. package/dist/cordova/internal.js +53 -22
  12. package/dist/cordova/internal.js.map +1 -1
  13. package/dist/cordova/{popup_redirect-7H-mFAlV.js → popup_redirect-DyPuw7eW.js} +2 -2
  14. package/dist/cordova/{popup_redirect-7H-mFAlV.js.map → popup_redirect-DyPuw7eW.js.map} +1 -1
  15. package/dist/{esm/test/integration/webdriver/util/js_load_condition.d.ts → cordova/src/platform_browser/load_js_browser.d.ts} +7 -8
  16. package/dist/cordova/test/integration/webdriver/util/auth_driver.d.ts +9 -5
  17. package/dist/cordova/test/integration/webdriver/util/idp_page.d.ts +2 -2
  18. package/dist/cordova/test/integration/webdriver/util/ui_page.d.ts +2 -2
  19. package/dist/esm/{index-NmqYMaDt.js → index-CI-XZ6Oy.js} +53 -22
  20. package/dist/esm/index-CI-XZ6Oy.js.map +1 -0
  21. package/dist/esm/index.js +1 -1
  22. package/dist/esm/internal.js +2 -2
  23. package/dist/{browser-cjs/test/integration/webdriver/util/js_load_condition.d.ts → esm/src/platform_browser/load_js_browser.d.ts} +7 -8
  24. package/dist/esm/test/integration/webdriver/util/auth_driver.d.ts +9 -5
  25. package/dist/esm/test/integration/webdriver/util/idp_page.d.ts +2 -2
  26. package/dist/esm/test/integration/webdriver/util/ui_page.d.ts +2 -2
  27. package/dist/index.webworker.js +1 -1
  28. package/dist/node/index.js +1 -1
  29. package/dist/node/internal.js +1 -1
  30. package/dist/node/src/platform_browser/load_js_browser.d.ts +24 -0
  31. package/dist/node/test/integration/webdriver/util/auth_driver.d.ts +9 -5
  32. package/dist/node/test/integration/webdriver/util/idp_page.d.ts +2 -2
  33. package/dist/node/test/integration/webdriver/util/ui_page.d.ts +2 -2
  34. package/dist/node/{totp-c24YsbkT.js → totp-CJcUsXEJ.js} +2 -2
  35. package/dist/node/{totp-c24YsbkT.js.map → totp-CJcUsXEJ.js.map} +1 -1
  36. package/dist/node-esm/index.js +1 -1
  37. package/dist/node-esm/internal.js +2 -2
  38. package/dist/node-esm/{test/integration/webdriver/util/js_load_condition.d.ts → src/platform_browser/load_js_browser.d.ts} +7 -8
  39. package/dist/node-esm/test/integration/webdriver/util/auth_driver.d.ts +9 -5
  40. package/dist/node-esm/test/integration/webdriver/util/idp_page.d.ts +2 -2
  41. package/dist/node-esm/test/integration/webdriver/util/ui_page.d.ts +2 -2
  42. package/dist/node-esm/{totp-DWW-ace_.js → totp-Cx8BEadN.js} +2 -2
  43. package/dist/node-esm/{totp-DWW-ace_.js.map → totp-Cx8BEadN.js.map} +1 -1
  44. package/dist/rn/{index-UkwZ-hC_.js → index-C_TFxgjV.js} +2 -2
  45. package/dist/rn/{index-UkwZ-hC_.js.map → index-C_TFxgjV.js.map} +1 -1
  46. package/dist/rn/index.js +1 -1
  47. package/dist/rn/internal.js +51 -20
  48. package/dist/rn/internal.js.map +1 -1
  49. package/dist/rn/src/platform_browser/load_js_browser.d.ts +24 -0
  50. package/dist/rn/test/integration/webdriver/util/auth_driver.d.ts +9 -5
  51. package/dist/rn/test/integration/webdriver/util/idp_page.d.ts +2 -2
  52. package/dist/rn/test/integration/webdriver/util/ui_page.d.ts +2 -2
  53. package/dist/src/platform_browser/load_js_browser.d.ts +24 -0
  54. package/dist/test/integration/webdriver/util/auth_driver.d.ts +9 -5
  55. package/dist/test/integration/webdriver/util/idp_page.d.ts +2 -2
  56. package/dist/test/integration/webdriver/util/ui_page.d.ts +2 -2
  57. package/dist/web-extension-cjs/index.js +1 -1
  58. package/dist/web-extension-cjs/internal.js +51 -20
  59. package/dist/web-extension-cjs/internal.js.map +1 -1
  60. package/dist/web-extension-cjs/{register-B6mm-2Ol.js → register-BWoNxHX1.js} +2 -2
  61. package/dist/web-extension-cjs/{register-B6mm-2Ol.js.map → register-BWoNxHX1.js.map} +1 -1
  62. package/dist/web-extension-cjs/src/platform_browser/load_js_browser.d.ts +24 -0
  63. package/dist/web-extension-cjs/test/integration/webdriver/util/auth_driver.d.ts +9 -5
  64. package/dist/web-extension-cjs/test/integration/webdriver/util/idp_page.d.ts +2 -2
  65. package/dist/web-extension-cjs/test/integration/webdriver/util/ui_page.d.ts +2 -2
  66. package/dist/web-extension-esm/index.js +2 -2
  67. package/dist/web-extension-esm/internal.js +53 -22
  68. package/dist/web-extension-esm/internal.js.map +1 -1
  69. package/dist/web-extension-esm/{register-Cv6DpA4G.js → register-Ds394mJx.js} +2 -2
  70. package/dist/web-extension-esm/{register-Cv6DpA4G.js.map → register-Ds394mJx.js.map} +1 -1
  71. package/dist/web-extension-esm/src/platform_browser/load_js_browser.d.ts +24 -0
  72. package/dist/web-extension-esm/test/integration/webdriver/util/auth_driver.d.ts +9 -5
  73. package/dist/web-extension-esm/test/integration/webdriver/util/idp_page.d.ts +2 -2
  74. package/dist/web-extension-esm/test/integration/webdriver/util/ui_page.d.ts +2 -2
  75. package/package.json +2 -5
  76. package/dist/browser-cjs/index-D_utMrqy.js.map +0 -1
  77. package/dist/esm/index-NmqYMaDt.js.map +0 -1
  78. package/dist/node/test/integration/webdriver/util/js_load_condition.d.ts +0 -25
  79. package/dist/rn/test/integration/webdriver/util/js_load_condition.d.ts +0 -25
  80. package/dist/test/integration/webdriver/util/js_load_condition.d.ts +0 -25
  81. package/dist/web-extension-cjs/test/integration/webdriver/util/js_load_condition.d.ts +0 -25
  82. package/dist/web-extension-esm/test/integration/webdriver/util/js_load_condition.d.ts +0 -25
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ActionCodeOperation, a as ActionCodeURL, b as AuthCredential, c as AuthErrorCodes, E as EmailAuthCredential, d as EmailAuthProvider, F as FacebookAuthProvider, e as FactorId, G as GithubAuthProvider, f as GoogleAuthProvider, O as OAuthCredential, g as OAuthProvider, h as OperationType, P as PhoneAuthCredential, i as PhoneAuthProvider, j as PhoneMultiFactorGenerator, k as ProviderId, R as RecaptchaVerifier, S as SAMLAuthProvider, l as SignInMethod, T as TotpMultiFactorGenerator, m as TotpSecret, n as TwitterAuthProvider, o as applyActionCode, p as beforeAuthStateChanged, q as browserCookiePersistence, r as browserLocalPersistence, s as browserPopupRedirectResolver, t as browserSessionPersistence, u as checkActionCode, v as confirmPasswordReset, w as connectAuthEmulator, x as createUserWithEmailAndPassword, y as debugErrorMap, z as deleteUser, B as fetchSignInMethodsForEmail, C as getAdditionalUserInfo, D as getAuth, H as getIdToken, I as getIdTokenResult, J as getMultiFactorResolver, K as getRedirectResult, L as inMemoryPersistence, M as indexedDBLocalPersistence, N as initializeAuth, Q as initializeRecaptchaConfig, U as isSignInWithEmailLink, V as linkWithCredential, W as linkWithPhoneNumber, X as linkWithPopup, Y as linkWithRedirect, Z as multiFactor, _ as onAuthStateChanged, $ as onIdTokenChanged, a0 as parseActionCodeURL, a1 as prodErrorMap, a2 as reauthenticateWithCredential, a3 as reauthenticateWithPhoneNumber, a4 as reauthenticateWithPopup, a5 as reauthenticateWithRedirect, a6 as reload, a7 as revokeAccessToken, a8 as sendEmailVerification, a9 as sendPasswordResetEmail, aa as sendSignInLinkToEmail, ab as setPersistence, ac as signInAnonymously, ad as signInWithCredential, ae as signInWithCustomToken, af as signInWithEmailAndPassword, ag as signInWithEmailLink, ah as signInWithPhoneNumber, ai as signInWithPopup, aj as signInWithRedirect, ak as signOut, al as unlink, am as updateCurrentUser, an as updateEmail, ao as updatePassword, ap as updatePhoneNumber, aq as updateProfile, ar as useDeviceLanguage, as as validatePassword, at as verifyBeforeUpdateEmail, au as verifyPasswordResetCode } from './index-NmqYMaDt.js';
1
+ export { A as ActionCodeOperation, a as ActionCodeURL, b as AuthCredential, c as AuthErrorCodes, E as EmailAuthCredential, d as EmailAuthProvider, F as FacebookAuthProvider, e as FactorId, G as GithubAuthProvider, f as GoogleAuthProvider, O as OAuthCredential, g as OAuthProvider, h as OperationType, P as PhoneAuthCredential, i as PhoneAuthProvider, j as PhoneMultiFactorGenerator, k as ProviderId, R as RecaptchaVerifier, S as SAMLAuthProvider, l as SignInMethod, T as TotpMultiFactorGenerator, m as TotpSecret, n as TwitterAuthProvider, o as applyActionCode, p as beforeAuthStateChanged, q as browserCookiePersistence, r as browserLocalPersistence, s as browserPopupRedirectResolver, t as browserSessionPersistence, u as checkActionCode, v as confirmPasswordReset, w as connectAuthEmulator, x as createUserWithEmailAndPassword, y as debugErrorMap, z as deleteUser, B as fetchSignInMethodsForEmail, C as getAdditionalUserInfo, D as getAuth, H as getIdToken, I as getIdTokenResult, J as getMultiFactorResolver, K as getRedirectResult, L as inMemoryPersistence, M as indexedDBLocalPersistence, N as initializeAuth, Q as initializeRecaptchaConfig, U as isSignInWithEmailLink, V as linkWithCredential, W as linkWithPhoneNumber, X as linkWithPopup, Y as linkWithRedirect, Z as multiFactor, _ as onAuthStateChanged, $ as onIdTokenChanged, a0 as parseActionCodeURL, a1 as prodErrorMap, a2 as reauthenticateWithCredential, a3 as reauthenticateWithPhoneNumber, a4 as reauthenticateWithPopup, a5 as reauthenticateWithRedirect, a6 as reload, a7 as revokeAccessToken, a8 as sendEmailVerification, a9 as sendPasswordResetEmail, aa as sendSignInLinkToEmail, ab as setPersistence, ac as signInAnonymously, ad as signInWithCredential, ae as signInWithCustomToken, af as signInWithEmailAndPassword, ag as signInWithEmailLink, ah as signInWithPhoneNumber, ai as signInWithPopup, aj as signInWithRedirect, ak as signOut, al as unlink, am as updateCurrentUser, an as updateEmail, ao as updatePassword, ap as updatePhoneNumber, aq as updateProfile, ar as useDeviceLanguage, as as validatePassword, at as verifyBeforeUpdateEmail, au as verifyPasswordResetCode } from './index-CI-XZ6Oy.js';
2
2
  import '@firebase/app';
3
3
  import '@firebase/util';
4
4
  import '@firebase/logger';
@@ -1,5 +1,5 @@
1
- import { av as _assert, aw as debugAssert, ax as _isIOS, ay as _isAndroid, az as _fail, aA as _getRedirectUrl, aB as _isIOS7Or8, aC as _createError, aD as _getProjectConfig, aE as AuthEventManager, aF as _getInstance, r as browserLocalPersistence, aG as _persistenceKeyName, t as browserSessionPersistence, aH as _getRedirectResult, aI as _overrideRedirectResult, aJ as _clearRedirectOutcomes, aK as _castAuth } from './index-NmqYMaDt.js';
2
- export { A as ActionCodeOperation, a as ActionCodeURL, b as AuthCredential, c as AuthErrorCodes, aL as AuthImpl, aM as AuthPopup, E as EmailAuthCredential, d as EmailAuthProvider, F as FacebookAuthProvider, e as FactorId, aN as FetchProvider, G as GithubAuthProvider, f as GoogleAuthProvider, O as OAuthCredential, g as OAuthProvider, h as OperationType, P as PhoneAuthCredential, i as PhoneAuthProvider, j as PhoneMultiFactorGenerator, k as ProviderId, R as RecaptchaVerifier, aO as SAMLAuthCredential, S as SAMLAuthProvider, l as SignInMethod, T as TotpMultiFactorGenerator, m as TotpSecret, n as TwitterAuthProvider, aP as UserImpl, aQ as _generateEventId, aR as _getClientVersion, o as applyActionCode, p as beforeAuthStateChanged, q as browserCookiePersistence, s as browserPopupRedirectResolver, u as checkActionCode, v as confirmPasswordReset, w as connectAuthEmulator, x as createUserWithEmailAndPassword, y as debugErrorMap, z as deleteUser, B as fetchSignInMethodsForEmail, C as getAdditionalUserInfo, D as getAuth, H as getIdToken, I as getIdTokenResult, J as getMultiFactorResolver, K as getRedirectResult, L as inMemoryPersistence, M as indexedDBLocalPersistence, N as initializeAuth, Q as initializeRecaptchaConfig, U as isSignInWithEmailLink, V as linkWithCredential, W as linkWithPhoneNumber, X as linkWithPopup, Y as linkWithRedirect, Z as multiFactor, _ as onAuthStateChanged, $ as onIdTokenChanged, a0 as parseActionCodeURL, a1 as prodErrorMap, a2 as reauthenticateWithCredential, a3 as reauthenticateWithPhoneNumber, a4 as reauthenticateWithPopup, a5 as reauthenticateWithRedirect, a6 as reload, a7 as revokeAccessToken, a8 as sendEmailVerification, a9 as sendPasswordResetEmail, aa as sendSignInLinkToEmail, ab as setPersistence, ac as signInAnonymously, ad as signInWithCredential, ae as signInWithCustomToken, af as signInWithEmailAndPassword, ag as signInWithEmailLink, ah as signInWithPhoneNumber, ai as signInWithPopup, aj as signInWithRedirect, ak as signOut, al as unlink, am as updateCurrentUser, an as updateEmail, ao as updatePassword, ap as updatePhoneNumber, aq as updateProfile, ar as useDeviceLanguage, as as validatePassword, at as verifyBeforeUpdateEmail, au as verifyPasswordResetCode } from './index-NmqYMaDt.js';
1
+ import { av as _assert, aw as debugAssert, ax as _isIOS, ay as _isAndroid, az as _fail, aA as _getRedirectUrl, aB as _isIOS7Or8, aC as _createError, aD as _getProjectConfig, aE as AuthEventManager, aF as _getInstance, r as browserLocalPersistence, aG as _persistenceKeyName, t as browserSessionPersistence, aH as _getRedirectResult, aI as _overrideRedirectResult, aJ as _clearRedirectOutcomes, aK as _castAuth } from './index-CI-XZ6Oy.js';
2
+ export { A as ActionCodeOperation, a as ActionCodeURL, b as AuthCredential, c as AuthErrorCodes, aL as AuthImpl, aM as AuthPopup, E as EmailAuthCredential, d as EmailAuthProvider, F as FacebookAuthProvider, e as FactorId, aN as FetchProvider, G as GithubAuthProvider, f as GoogleAuthProvider, O as OAuthCredential, g as OAuthProvider, h as OperationType, P as PhoneAuthCredential, i as PhoneAuthProvider, j as PhoneMultiFactorGenerator, k as ProviderId, R as RecaptchaVerifier, aO as SAMLAuthCredential, S as SAMLAuthProvider, l as SignInMethod, T as TotpMultiFactorGenerator, m as TotpSecret, n as TwitterAuthProvider, aP as UserImpl, aQ as _generateEventId, aR as _getClientVersion, o as applyActionCode, p as beforeAuthStateChanged, q as browserCookiePersistence, s as browserPopupRedirectResolver, u as checkActionCode, v as confirmPasswordReset, w as connectAuthEmulator, x as createUserWithEmailAndPassword, y as debugErrorMap, z as deleteUser, B as fetchSignInMethodsForEmail, C as getAdditionalUserInfo, D as getAuth, H as getIdToken, I as getIdTokenResult, J as getMultiFactorResolver, K as getRedirectResult, L as inMemoryPersistence, M as indexedDBLocalPersistence, N as initializeAuth, Q as initializeRecaptchaConfig, U as isSignInWithEmailLink, V as linkWithCredential, W as linkWithPhoneNumber, X as linkWithPopup, Y as linkWithRedirect, Z as multiFactor, _ as onAuthStateChanged, $ as onIdTokenChanged, a0 as parseActionCodeURL, a1 as prodErrorMap, a2 as reauthenticateWithCredential, a3 as reauthenticateWithPhoneNumber, a4 as reauthenticateWithPopup, a5 as reauthenticateWithRedirect, a6 as reload, a7 as revokeAccessToken, a8 as sendEmailVerification, a9 as sendPasswordResetEmail, aa as sendSignInLinkToEmail, ab as setPersistence, ac as signInAnonymously, ad as signInWithCredential, ae as signInWithCustomToken, af as signInWithEmailAndPassword, ag as signInWithEmailLink, ah as signInWithPhoneNumber, ai as signInWithPopup, aj as signInWithRedirect, ak as signOut, al as unlink, am as updateCurrentUser, an as updateEmail, ao as updatePassword, ap as updatePhoneNumber, aq as updateProfile, ar as useDeviceLanguage, as as validatePassword, at as verifyBeforeUpdateEmail, au as verifyPasswordResetCode } from './index-CI-XZ6Oy.js';
3
3
  import { querystringDecode } from '@firebase/util';
4
4
  import '@firebase/app';
5
5
  import '@firebase/logger';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright 2020 Google LLC
3
+ * Copyright 2026 Google LLC
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -14,12 +14,11 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { Condition } from 'selenium-webdriver';
18
17
  /**
19
- * A condition that looks for the presence of a specified function. This is
20
- * used with WebDriver .wait() as a proxy for determining when the JS has
21
- * finished loading in a page.
18
+ * Loads an external script by inserting a script tag into the page. The script
19
+ * URL is set through the Firebase Trusted Types policy when Trusted Types are
20
+ * supported, so that this works on pages that enforce Trusted Types.
21
+ *
22
+ * @internal
22
23
  */
23
- export declare class JsLoadCondition extends Condition<boolean> {
24
- constructor(globalValue: string);
25
- }
24
+ export declare function _loadJSInBrowser(url: string): Promise<Event>;
@@ -14,16 +14,20 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { Auth, User, Persistence } from '@firebase/auth';
18
- import { WebDriver } from 'selenium-webdriver';
17
+ import type { Auth, User, Persistence } from '@firebase/auth';
18
+ import type { Browser, BrowserContext, Page } from 'playwright';
19
19
  export declare const START_FUNCTION = "startAuth";
20
- /** Helper wrapper around the WebDriver object */
20
+ /** Helper wrapper around the Playwright Page and BrowserContext objects */
21
21
  export declare class AuthDriver {
22
- webDriver: WebDriver;
23
- start(browser: string): Promise<void>;
22
+ browser: Browser;
23
+ context: BrowserContext;
24
+ page: Page;
25
+ start(browserName: string): Promise<void>;
24
26
  stop(): Promise<void>;
25
27
  call<T>(fn: string, ...args: unknown[]): Promise<T>;
26
28
  callNoWait(fn: string, ...args: unknown[]): Promise<void>;
29
+ waitForGlobal(globalValue: string): Promise<void>;
30
+ wait(condition: () => Promise<boolean> | boolean, timeoutMs?: number): Promise<void>;
27
31
  getAuthSnapshot(): Promise<Auth>;
28
32
  getUserSnapshot(): Promise<User>;
29
33
  reset(): Promise<void>;
@@ -14,11 +14,11 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { WebDriver } from 'selenium-webdriver';
17
+ import type { AuthDriver } from './auth_driver';
18
18
  export declare class IdPPage {
19
19
  private readonly driver;
20
20
  static PAGE_TITLE: string;
21
- constructor(driver: WebDriver);
21
+ constructor(driver: AuthDriver);
22
22
  pageLoad(): Promise<void>;
23
23
  clickAddAccount(): Promise<void>;
24
24
  clickSignIn(): Promise<void>;
@@ -14,10 +14,10 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { WebDriver } from 'selenium-webdriver';
17
+ import type { AuthDriver } from './auth_driver';
18
18
  export declare class UiPage {
19
19
  private readonly driver;
20
- constructor(driver: WebDriver);
20
+ constructor(driver: AuthDriver);
21
21
  clickGuestSignIn(): Promise<void>;
22
22
  clickGoogleSignIn(): Promise<void>;
23
23
  clickPhoneSignIn(): Promise<void>;
@@ -533,7 +533,7 @@ function _initializeAuthInstance(auth, deps) {
533
533
  }
534
534
 
535
535
  var name = "@firebase/auth";
536
- var version = "1.13.10";
536
+ var version = "1.13.11";
537
537
 
538
538
  /**
539
539
  * @license
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var totp = require('./totp-c24YsbkT.js');
5
+ var totp = require('./totp-CJcUsXEJ.js');
6
6
  require('@firebase/app');
7
7
  require('@firebase/util');
8
8
  require('@firebase/component');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var totp = require('./totp-c24YsbkT.js');
5
+ var totp = require('./totp-CJcUsXEJ.js');
6
6
  var util = require('@firebase/util');
7
7
  var app = require('@firebase/app');
8
8
  require('@firebase/component');
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2026 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ /**
18
+ * Loads an external script by inserting a script tag into the page. The script
19
+ * URL is set through the Firebase Trusted Types policy when Trusted Types are
20
+ * supported, so that this works on pages that enforce Trusted Types.
21
+ *
22
+ * @internal
23
+ */
24
+ export declare function _loadJSInBrowser(url: string): Promise<Event>;
@@ -14,16 +14,20 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { Auth, User, Persistence } from '@firebase/auth';
18
- import { WebDriver } from 'selenium-webdriver';
17
+ import type { Auth, User, Persistence } from '@firebase/auth';
18
+ import type { Browser, BrowserContext, Page } from 'playwright';
19
19
  export declare const START_FUNCTION = "startAuth";
20
- /** Helper wrapper around the WebDriver object */
20
+ /** Helper wrapper around the Playwright Page and BrowserContext objects */
21
21
  export declare class AuthDriver {
22
- webDriver: WebDriver;
23
- start(browser: string): Promise<void>;
22
+ browser: Browser;
23
+ context: BrowserContext;
24
+ page: Page;
25
+ start(browserName: string): Promise<void>;
24
26
  stop(): Promise<void>;
25
27
  call<T>(fn: string, ...args: unknown[]): Promise<T>;
26
28
  callNoWait(fn: string, ...args: unknown[]): Promise<void>;
29
+ waitForGlobal(globalValue: string): Promise<void>;
30
+ wait(condition: () => Promise<boolean> | boolean, timeoutMs?: number): Promise<void>;
27
31
  getAuthSnapshot(): Promise<Auth>;
28
32
  getUserSnapshot(): Promise<User>;
29
33
  reset(): Promise<void>;
@@ -14,11 +14,11 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { WebDriver } from 'selenium-webdriver';
17
+ import type { AuthDriver } from './auth_driver';
18
18
  export declare class IdPPage {
19
19
  private readonly driver;
20
20
  static PAGE_TITLE: string;
21
- constructor(driver: WebDriver);
21
+ constructor(driver: AuthDriver);
22
22
  pageLoad(): Promise<void>;
23
23
  clickAddAccount(): Promise<void>;
24
24
  clickSignIn(): Promise<void>;
@@ -14,10 +14,10 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { WebDriver } from 'selenium-webdriver';
17
+ import type { AuthDriver } from './auth_driver';
18
18
  export declare class UiPage {
19
19
  private readonly driver;
20
- constructor(driver: WebDriver);
20
+ constructor(driver: AuthDriver);
21
21
  clickGuestSignIn(): Promise<void>;
22
22
  clickGoogleSignIn(): Promise<void>;
23
23
  clickPhoneSignIn(): Promise<void>;
@@ -7260,7 +7260,7 @@ function multiFactor(user) {
7260
7260
  }
7261
7261
 
7262
7262
  var name = "@firebase/auth";
7263
- var version = "1.13.10";
7263
+ var version = "1.13.11";
7264
7264
 
7265
7265
  /**
7266
7266
  * @license
@@ -7780,4 +7780,4 @@ exports.useDeviceLanguage = useDeviceLanguage;
7780
7780
  exports.validatePassword = validatePassword;
7781
7781
  exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
7782
7782
  exports.verifyPasswordResetCode = verifyPasswordResetCode;
7783
- //# sourceMappingURL=totp-c24YsbkT.js.map
7783
+ //# sourceMappingURL=totp-CJcUsXEJ.js.map