File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,10 @@ export default class Wrapper {
247247 return Webauthn . getInstanceOrThrow ( ) . webJSRecipe . recoverAccount ( input ) ;
248248 }
249249
250- static registerCredential ( input : { registrationOptions : RegistrationOptions ; userContext : any } ) : Promise <
250+ static registerCredential ( input : {
251+ registrationOptions : Omit < RegistrationOptions , "fetchResponse" | "status" > ;
252+ userContext : any ;
253+ } ) : Promise <
251254 | {
252255 status : "OK" ;
253256 registrationResponse : RegistrationResponseJSON ;
@@ -267,7 +270,10 @@ export default class Wrapper {
267270 return Webauthn . getInstanceOrThrow ( ) . webJSRecipe . registerCredential ( input ) ;
268271 }
269272
270- static authenticateCredential ( input : { authenticationOptions : AuthenticationOptions ; userContext : any } ) : Promise <
273+ static authenticateCredential ( input : {
274+ authenticationOptions : Omit < AuthenticationOptions , "fetchResponse" | "status" > ;
275+ userContext : any ;
276+ } ) : Promise <
271277 | {
272278 status : "OK" ;
273279 authenticationResponse : AuthenticationResponseJSON ;
You can’t perform that action at this time.
0 commit comments