Closed mmv08 closed 10 months ago
Hey @mmv08 thank you for the PR! I'll try and find time this weekend to merge this in and cut a release, thanks for your patience :)
Hey @mmv08 thank you for the PR! I'll try and find time this weekend to merge this in and cut a release, thanks for your patience :)
thank you for your tremendous work, sir :)
Hello @mmv08, sorry for the delay! These types should now be available for import in the newly-published @simplewebauthn/server@8.3.7
✌️
The
decodeCredentialPublicKey
function signature returns a genericCOSEPublicKey
type, missing algorithm-specific properties. Exporting additional types would enable type casting to a specific public key type.Perhaps it'd be handy to re-export the existing type guards, but I think plain types are enough because the developers should know which algorithm they used.