dauth-context-react 6.6.0 → 6.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dauth-context-react",
3
- "version": "6.6.0",
3
+ "version": "6.6.1",
4
4
  "description": "React provider and hook for passwordless authentication via the Dauth service (BFF pattern with httpOnly cookies)",
5
5
  "license": "MIT",
6
6
  "author": "David T. Pizarro Frick",
@@ -191,7 +191,7 @@ export async function registerPasskeyAction(
191
191
  }
192
192
 
193
193
  // Step 2: Execute WebAuthn ceremony in the browser
194
- const credential = await createPasskeyCredential(startResult.data);
194
+ const credential = await createPasskeyCredential(startResult.data.options);
195
195
 
196
196
  // Step 3: Send the credential back to the server
197
197
  const finishResult = await finishPasskeyRegistrationAPI(authProxyPath, {