Closed carlos-menezes closed 9 months ago
Thanks for the suggestion to improve the developer ergonomics of decodeClientDataJSON()
. The change has been made and will be available in the next release of @simplewebauthn/server@TBD (since this isn't a big enough change to warrant a release it'll have to wait till the next time I publish an update.)
@carlos-menezes This change is now available in the recently-published @simplewebauthn/server@10.0.0 ✌️
Describe the issue
At the moment,
decodeClientDataJSON
accepts astring
as a parameter. In order to communicate effectively what kind of string it expects to receive, we should change the type toBase64URLString
, as that's the type ofclientDataJSON
inAuthenticatorAssertionResponseJSON
.