Skip to content
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

fix(browser): handle undefined PublicKeyCredential in browserSupportsWebAuthnAutofill helper #545

Closed
wants to merge 1 commit into from

Conversation

clarafitzgerald
Copy link

@clarafitzgerald clarafitzgerald commented Apr 2, 2024

This PR adds an early return to the browserSupportsWebAuthnAutofill helper function if browserSupportsWebAuthn returns false. This prevents browserSupportsWebAuthnAutofill from throwing a TypeError on browsers without webauthn support.

Closes #544

@MasterKale
Copy link
Owner

MasterKale commented Apr 12, 2024

Thank you for the PR @clarafitzgerald, but as per the README's Contributions section this project is not currently accepting external contributions.

I still appreciate you taking the time to submit #544, which helped me quickly complete #557 to address the issue (along with getting some testing on this method.) Thank you for understanding 🙇

@MasterKale MasterKale closed this Apr 12, 2024
@MasterKale
Copy link
Owner

MasterKale commented Apr 12, 2024

Wait a minute, I left the door open for external contributions for bug fixes 🤦‍♂️

Screenshot 2024-04-12 at 2 17 26 PM

I'm really sorry about that @clarafitzgerald, I forgot about that exception. I'll still give you credit in the release notes because this PR definitely qualified as a bugfix...sorry again 🫠

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle undefined PublicKeyCredential in browserSupportsWebAuthnAutofill helper
2 participants