This PR changes the return type of Passkey.register from Promise<object>to Promise<PasskeyRegistrationResult> in order to get a typed object when invoked.
Additionally, in order to comply with the w3c passkey level 2 specification, this PR also suggests making minor changes to the types PasskeyRegistrationRequest and PasskeyAuthenticationRequest.
This PR changes the return type of
Passkey.register
fromPromise<object>
toPromise<PasskeyRegistrationResult>
in order to get a typed object when invoked.Additionally, in order to comply with the w3c passkey level 2 specification, this PR also suggests making minor changes to the types
PasskeyRegistrationRequest
andPasskeyAuthenticationRequest
.Bonus: Minor typo in the
ios/Passkey.swift
😛