File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @authsignal/browser" ,
3- "version" : " 1.12.1 " ,
3+ "version" : " 1.12.2 " ,
44 "type" : " module" ,
55 "main" : " dist/index.js" ,
66 "module" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ export type AddAuthenticatorResponse = {
4545export type VerifyRequest = {
4646 authenticationCredential : AuthenticationResponseJSON ;
4747 deviceId ?: string ;
48+ challengeId ?: string ;
4849 useCookies ?: boolean ;
4950} ;
5051
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ export class Passkey {
169169
170170 const optionsResponse =
171171 params ?. action || ! params ?. useCookies
172- ? await this . api . authenticationOptions ( { token : params ?. token } )
172+ ? await this . api . authenticationOptions ( { token : params ?. token , useCookies : params ?. useCookies } )
173173 : await this . api . authenticationOptionsWeb ( { token : params ?. token } ) ;
174174
175175 if ( "error" in optionsResponse ) {
@@ -192,6 +192,7 @@ export class Passkey {
192192 authenticationCredential : authenticationResponse ,
193193 token : params ?. token ,
194194 deviceId : this . anonymousId ,
195+ challengeId : optionsResponse . challengeId ,
195196 useCookies : params ?. useCookies ,
196197 } ) ;
197198
You can’t perform that action at this time.
0 commit comments