@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.
- package/README.md +6 -13
- package/dist/browser-cjs/{index-D_utMrqy.js → index-DOvdZQDO.js} +52 -21
- package/dist/browser-cjs/index-DOvdZQDO.js.map +1 -0
- package/dist/browser-cjs/index.js +1 -1
- package/dist/browser-cjs/internal.js +1 -1
- package/dist/{cordova/test/integration/webdriver/util/js_load_condition.d.ts → browser-cjs/src/platform_browser/load_js_browser.d.ts} +7 -8
- package/dist/browser-cjs/test/integration/webdriver/util/auth_driver.d.ts +9 -5
- package/dist/browser-cjs/test/integration/webdriver/util/idp_page.d.ts +2 -2
- package/dist/browser-cjs/test/integration/webdriver/util/ui_page.d.ts +2 -2
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +53 -22
- package/dist/cordova/internal.js.map +1 -1
- package/dist/cordova/{popup_redirect-7H-mFAlV.js → popup_redirect-DyPuw7eW.js} +2 -2
- package/dist/cordova/{popup_redirect-7H-mFAlV.js.map → popup_redirect-DyPuw7eW.js.map} +1 -1
- package/dist/{esm/test/integration/webdriver/util/js_load_condition.d.ts → cordova/src/platform_browser/load_js_browser.d.ts} +7 -8
- package/dist/cordova/test/integration/webdriver/util/auth_driver.d.ts +9 -5
- package/dist/cordova/test/integration/webdriver/util/idp_page.d.ts +2 -2
- package/dist/cordova/test/integration/webdriver/util/ui_page.d.ts +2 -2
- package/dist/esm/{index-NmqYMaDt.js → index-CI-XZ6Oy.js} +53 -22
- package/dist/esm/index-CI-XZ6Oy.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/internal.js +2 -2
- package/dist/{browser-cjs/test/integration/webdriver/util/js_load_condition.d.ts → esm/src/platform_browser/load_js_browser.d.ts} +7 -8
- package/dist/esm/test/integration/webdriver/util/auth_driver.d.ts +9 -5
- package/dist/esm/test/integration/webdriver/util/idp_page.d.ts +2 -2
- package/dist/esm/test/integration/webdriver/util/ui_page.d.ts +2 -2
- package/dist/index.webworker.js +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +1 -1
- package/dist/node/src/platform_browser/load_js_browser.d.ts +24 -0
- package/dist/node/test/integration/webdriver/util/auth_driver.d.ts +9 -5
- package/dist/node/test/integration/webdriver/util/idp_page.d.ts +2 -2
- package/dist/node/test/integration/webdriver/util/ui_page.d.ts +2 -2
- package/dist/node/{totp-c24YsbkT.js → totp-CJcUsXEJ.js} +2 -2
- package/dist/node/{totp-c24YsbkT.js.map → totp-CJcUsXEJ.js.map} +1 -1
- package/dist/node-esm/index.js +1 -1
- package/dist/node-esm/internal.js +2 -2
- package/dist/node-esm/{test/integration/webdriver/util/js_load_condition.d.ts → src/platform_browser/load_js_browser.d.ts} +7 -8
- package/dist/node-esm/test/integration/webdriver/util/auth_driver.d.ts +9 -5
- package/dist/node-esm/test/integration/webdriver/util/idp_page.d.ts +2 -2
- package/dist/node-esm/test/integration/webdriver/util/ui_page.d.ts +2 -2
- package/dist/node-esm/{totp-DWW-ace_.js → totp-Cx8BEadN.js} +2 -2
- package/dist/node-esm/{totp-DWW-ace_.js.map → totp-Cx8BEadN.js.map} +1 -1
- package/dist/rn/{index-UkwZ-hC_.js → index-C_TFxgjV.js} +2 -2
- package/dist/rn/{index-UkwZ-hC_.js.map → index-C_TFxgjV.js.map} +1 -1
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +51 -20
- package/dist/rn/internal.js.map +1 -1
- package/dist/rn/src/platform_browser/load_js_browser.d.ts +24 -0
- package/dist/rn/test/integration/webdriver/util/auth_driver.d.ts +9 -5
- package/dist/rn/test/integration/webdriver/util/idp_page.d.ts +2 -2
- package/dist/rn/test/integration/webdriver/util/ui_page.d.ts +2 -2
- package/dist/src/platform_browser/load_js_browser.d.ts +24 -0
- package/dist/test/integration/webdriver/util/auth_driver.d.ts +9 -5
- package/dist/test/integration/webdriver/util/idp_page.d.ts +2 -2
- package/dist/test/integration/webdriver/util/ui_page.d.ts +2 -2
- package/dist/web-extension-cjs/index.js +1 -1
- package/dist/web-extension-cjs/internal.js +51 -20
- package/dist/web-extension-cjs/internal.js.map +1 -1
- package/dist/web-extension-cjs/{register-B6mm-2Ol.js → register-BWoNxHX1.js} +2 -2
- package/dist/web-extension-cjs/{register-B6mm-2Ol.js.map → register-BWoNxHX1.js.map} +1 -1
- package/dist/web-extension-cjs/src/platform_browser/load_js_browser.d.ts +24 -0
- package/dist/web-extension-cjs/test/integration/webdriver/util/auth_driver.d.ts +9 -5
- package/dist/web-extension-cjs/test/integration/webdriver/util/idp_page.d.ts +2 -2
- package/dist/web-extension-cjs/test/integration/webdriver/util/ui_page.d.ts +2 -2
- package/dist/web-extension-esm/index.js +2 -2
- package/dist/web-extension-esm/internal.js +53 -22
- package/dist/web-extension-esm/internal.js.map +1 -1
- package/dist/web-extension-esm/{register-Cv6DpA4G.js → register-Ds394mJx.js} +2 -2
- package/dist/web-extension-esm/{register-Cv6DpA4G.js.map → register-Ds394mJx.js.map} +1 -1
- package/dist/web-extension-esm/src/platform_browser/load_js_browser.d.ts +24 -0
- package/dist/web-extension-esm/test/integration/webdriver/util/auth_driver.d.ts +9 -5
- package/dist/web-extension-esm/test/integration/webdriver/util/idp_page.d.ts +2 -2
- package/dist/web-extension-esm/test/integration/webdriver/util/ui_page.d.ts +2 -2
- package/package.json +2 -5
- package/dist/browser-cjs/index-D_utMrqy.js.map +0 -1
- package/dist/esm/index-NmqYMaDt.js.map +0 -1
- package/dist/node/test/integration/webdriver/util/js_load_condition.d.ts +0 -25
- package/dist/rn/test/integration/webdriver/util/js_load_condition.d.ts +0 -25
- package/dist/test/integration/webdriver/util/js_load_condition.d.ts +0 -25
- package/dist/web-extension-cjs/test/integration/webdriver/util/js_load_condition.d.ts +0 -25
- 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-
|
|
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';
|
package/dist/esm/internal.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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
|
|
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
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
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
|
|
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 {
|
|
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
|
|
20
|
+
/** Helper wrapper around the Playwright Page and BrowserContext objects */
|
|
21
21
|
export declare class AuthDriver {
|
|
22
|
-
|
|
23
|
-
|
|
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 {
|
|
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:
|
|
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 {
|
|
17
|
+
import type { AuthDriver } from './auth_driver';
|
|
18
18
|
export declare class UiPage {
|
|
19
19
|
private readonly driver;
|
|
20
|
-
constructor(driver:
|
|
20
|
+
constructor(driver: AuthDriver);
|
|
21
21
|
clickGuestSignIn(): Promise<void>;
|
|
22
22
|
clickGoogleSignIn(): Promise<void>;
|
|
23
23
|
clickPhoneSignIn(): Promise<void>;
|
package/dist/index.webworker.js
CHANGED
package/dist/node/index.js
CHANGED
package/dist/node/internal.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var totp = require('./totp-
|
|
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 {
|
|
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
|
|
20
|
+
/** Helper wrapper around the Playwright Page and BrowserContext objects */
|
|
21
21
|
export declare class AuthDriver {
|
|
22
|
-
|
|
23
|
-
|
|
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 {
|
|
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:
|
|
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 {
|
|
17
|
+
import type { AuthDriver } from './auth_driver';
|
|
18
18
|
export declare class UiPage {
|
|
19
19
|
private readonly driver;
|
|
20
|
-
constructor(driver:
|
|
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.
|
|
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-
|
|
7783
|
+
//# sourceMappingURL=totp-CJcUsXEJ.js.map
|