@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
|
@@ -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>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/auth",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.11",
|
|
4
4
|
"description": "The Firebase Authenticaton component of the Firebase JS SDK.",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/node/index.js",
|
|
@@ -132,16 +132,13 @@
|
|
|
132
132
|
},
|
|
133
133
|
"license": "Apache-2.0",
|
|
134
134
|
"devDependencies": {
|
|
135
|
-
"@firebase/app": "0.16.
|
|
135
|
+
"@firebase/app": "0.16.7",
|
|
136
136
|
"@rollup/plugin-json": "6.1.0",
|
|
137
137
|
"@rollup/plugin-strip": "3.0.4",
|
|
138
138
|
"@types/express": "4.17.21",
|
|
139
|
-
"@types/selenium-webdriver": "4.35.6",
|
|
140
|
-
"chromedriver": "151.0.5",
|
|
141
139
|
"cookie-store": "4.0.0-next.4",
|
|
142
140
|
"rollup": "4.62.2",
|
|
143
141
|
"rollup-plugin-typescript2": "0.37.0",
|
|
144
|
-
"selenium-webdriver": "4.30.0",
|
|
145
142
|
"totp-generator": "0.0.14",
|
|
146
143
|
"typescript": "5.5.4"
|
|
147
144
|
},
|