-
Notifications
You must be signed in to change notification settings - Fork 875
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing PhoneMultiFactorInfo
type in v9
#5922
Comments
Hi @addisonElliott, thanks for filing this. The linked PR will add the missing interface |
Thanks for the speedy response! |
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe your environment
[REQUIRED] Describe the problem
Since v9, the
PhoneMultiFactorInfo
is not exported fromfirebase/auth
. This type is accessible in v8firebase.auth.PhoneMultiFactorInfo
.In v9, there's still an
enrolledFactors
item that is of the typePhoneMultiFactorInfo
. I know this because I doenrolledFactors[0].phoneNumber
and it is still returning the 2FA phone number. It's just that the type is missing in the SDK.See here for v8: https://github.com/firebase/firebase-js-sdk/blob/master/packages/auth-types/index.d.ts#L376-L378
Not present in v9 public types: https://github.com/firebase/firebase-js-sdk/blob/master/packages/auth/src/model/public_types.ts
The text was updated successfully, but these errors were encountered: