11import {
22 createExtendedRequestFromJSON as parseCreationOptionsFromJSON ,
33 createExtendedResponseToJSON ,
4+ CredentialCreationOptionsExtendedJSON ,
5+ CredentialRequestOptionsExtendedJSON ,
46 getExtendedRequestFromJSON as parseRequestOptionsFromJSON ,
57 getExtendedResponseToJSON ,
6- PublicKeyCredentialWithAssertionExtendedResultsJSON as AuthenticationResponseJSON ,
7- PublicKeyCredentialWithAttestationExtendedResultsJSON as RegistrationResponseJSON ,
8+ PublicKeyCredentialWithAssertionExtendedResultsJSON as AuthenticationResponseExtendedJSON ,
9+ PublicKeyCredentialWithAttestationExtendedResultsJSON as RegistrationResponseExtendedJSON ,
810 supported ,
911} from "./extended" ;
1012
1113export { parseCreationOptionsFromJSON , parseRequestOptionsFromJSON , supported } ;
12- export type { AuthenticationResponseJSON , RegistrationResponseJSON } ;
14+ export type {
15+ CredentialCreationOptionsExtendedJSON ,
16+ CredentialRequestOptionsExtendedJSON ,
17+ AuthenticationResponseExtendedJSON ,
18+ RegistrationResponseExtendedJSON ,
19+ } ;
1320
1421export interface RegistrationPublicKeyCredential extends PublicKeyCredential {
15- toJSON ( ) : RegistrationResponseJSON ;
22+ toJSON ( ) : RegistrationResponseExtendedJSON ;
1623}
1724
1825export async function create (
@@ -26,7 +33,7 @@ export async function create(
2633}
2734
2835export interface AuthenticationPublicKeyCredential extends PublicKeyCredential {
29- toJSON ( ) : AuthenticationResponseJSON ;
36+ toJSON ( ) : AuthenticationResponseExtendedJSON ;
3037}
3138
3239export async function get (
0 commit comments