Skip to content

Commit 00c08e6

Browse files
committed
Merge remote-tracking branch 'origin/master' into LongPollingTimeout
2 parents 4431c8e + 450e000 commit 00c08e6

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/test-all.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ jobs:
1616
steps:
1717
# install Chrome first, so the correct version of webdriver can be installed by chromedriver when setting up the repo
1818
- name: install Chrome stable
19+
# Install Chrome version 110.0.5481.177-1 as some Auth tests start to fail on version 111.
20+
# Temporary: Auth team will explore what's going wrong with the auth tests.
1921
run: |
2022
sudo apt-get update
21-
sudo apt-get install google-chrome-stable
23+
sudo apt-get install wget
24+
sudo wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_110.0.5481.177-1_amd64.deb
25+
sudo apt-get install -f ./google-chrome-stable_110.0.5481.177-1_amd64.deb --allow-downgrades
2226
- uses: actions/checkout@v3
2327
- name: Set up Node (16)
2428
uses: actions/setup-node@v3

.github/workflows/test-changed-auth.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
# install Chrome first, so the correct version of webdriver can be installed by chromedriver when setting up the repo
1616
- name: install Chrome stable
1717
# Install Chrome version 110.0.5481.177-1 as test starts to fail on version 111.
18-
# We will retry to use the latest, once version 112 becomes stable.
18+
# Temporary: Auth team will explore what's going wrong with the auth tests.
1919
run: |
2020
sudo apt-get update
2121
sudo apt-get install wget

packages/auth/src/model/public_types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,9 @@ export interface AuthProvider {
541541
/**
542542
* An enum of factors that may be used for multifactor authentication.
543543
*
544+
* Internally we use an enum type for FactorId, ActionCodeOperation, but there is a copy in https://github.com/firebase/firebase-js-sdk/blob/48a2096aec53a7eaa9ffcc2625016ecb9f90d113/packages/auth/src/model/enum_maps.ts#L23 that uses maps.
545+
* const enums are better for tree-shaking, however can cause runtime errors if exposed in public APIs, example - https://github.com/microsoft/rushstack/issues/3058
546+
* So, we expose enum maps publicly, but use const enums internally to get some tree-shaking benefit.
544547
* @internal
545548
*/
546549
export const enum FactorId {

0 commit comments

Comments
 (0)