Skip to content

Fix ToTP typings issue - #7179

Merged
hsubox76 merged 3 commits into
masterfrom
ch-totp-fix
Mar 31, 2023
Merged

Fix ToTP typings issue#7179
hsubox76 merged 3 commits into
masterfrom
ch-totp-fix

Conversation

@hsubox76

Copy link
Copy Markdown
Contributor

The const enum is internal and not exported with public types, causing an error since it's referenced.

I believe other publicly exported auth classes avoid this by following the pattern here: https://github.com/firebase/firebase-js-sdk/blob/1d5646ed68ccc59dde27983bfe2575db5ecb528d/packages/auth/src/platform_browser/providers/phone.ts#L55

So I've done the same for TotpMultiFactorGenerator.

Fixes #7174

@changeset-bot

changeset-bot Bot commented Mar 31, 2023

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c5513a6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@firebase/auth Patch
@firebase/auth-compat Patch
firebase Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@hsubox76
hsubox76 marked this pull request as ready for review March 31, 2023 16:33

@dwyfrequency dwyfrequency left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@prameshj prameshj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@google-oss-bot

google-oss-bot commented Mar 31, 2023

Copy link
Copy Markdown
Collaborator
@google-oss-bot

google-oss-bot commented Mar 31, 2023

Copy link
Copy Markdown
Collaborator
@pietroow

Copy link
Copy Markdown

LGTM

@hsubox76
hsubox76 merged commit bd51cec into master Mar 31, 2023
@hsubox76
hsubox76 deleted the ch-totp-fix branch March 31, 2023 18:13
@google-oss-bot google-oss-bot mentioned this pull request Mar 31, 2023
@firebase firebase locked and limited conversation to collaborators May 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

7 participants