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/513-cbor-x-type-issues #521

Merged
merged 2 commits into from
Feb 16, 2024
Merged

fix/513-cbor-x-type-issues #521

merged 2 commits into from
Feb 16, 2024

Conversation

MasterKale
Copy link
Owner

This PR replaces use of the cbor-x dependency with tiny-cbor. The use of cbor-x/index-no-eval caused issues with transpiling typical Node-centric use of SimpleWebAuthn because TypeScript couldn't find types for index-no-eval due to the project's architecture.

No reasonable workaround within SimpleWebAuthn could be determined so I have decided to move to the excellent tiny-cbor instead. This library supports the right amount of CBOR to work with WebAuthn responses, and also cross-publishes on https://deno.land/x and NPM, so it'll be a great replacement.

Addresses #513.

@LeviSchuck
Copy link

Looks correct to me

@MasterKale MasterKale merged commit 0d7ebc2 into master Feb 16, 2024
2 checks passed
@MasterKale MasterKale deleted the fix/513-cbor-x-type-issues branch February 16, 2024 16:37
@MasterKale MasterKale added the package:server @simplewebauthn/server label Feb 23, 2024
@MasterKale MasterKale added this to the v9.0.3 milestone Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:server @simplewebauthn/server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants