File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @authsignal/browser" ,
3- "version" : " 1.12.4 " ,
3+ "version" : " 1.12.5 " ,
44 "type" : " module" ,
55 "main" : " dist/index.js" ,
66 "module" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -58,14 +58,15 @@ export class PasskeyApiClient {
5858
5959 async authenticationOptions ( {
6060 token,
61+ challengeId,
6162 useCookies,
6263 } : {
6364 token ?: string ;
6465 } & AuthenticationOptsRequest ) : Promise < AuthenticationOptsResponse | ErrorResponse > {
6566 const response = await fetch ( `${ this . baseUrl } /client/user-authenticators/passkey/authentication-options` , {
6667 method : "POST" ,
6768 headers : buildHeaders ( { token, tenantId : this . tenantId } ) ,
68- body : JSON . stringify ( { } ) ,
69+ body : JSON . stringify ( { challengeId } ) ,
6970 credentials : useCookies ? "include" : "same-origin" ,
7071 } ) ;
7172
You can’t perform that action at this time.
0 commit comments