From f992e1f31077bf29a2ba46b0ab70201f00fe171f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Mart=C3=ADnez?= <6764315+germartinez@users.noreply.github.com> Date: Fri, 17 Jan 2025 17:01:00 +0000 Subject: [PATCH] Fix createPasskeySigner reference ## Context This PR: - Fixes the indentation of the `return` section in the reference. - Adds the code snippet for the `credential` parameter of the function. --- .../passkeys/createpasskeysigner.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pages/reference-sdk-protocol-kit/passkeys/createpasskeysigner.mdx b/pages/reference-sdk-protocol-kit/passkeys/createpasskeysigner.mdx index b7ed19e7..24f0438d 100644 --- a/pages/reference-sdk-protocol-kit/passkeys/createpasskeysigner.mdx +++ b/pages/reference-sdk-protocol-kit/passkeys/createpasskeysigner.mdx @@ -27,7 +27,13 @@ const protocolKit = await Safe.init({ The WebAuthn credential to use for signing. -### Returns +```typescript focus=2 +const passkeySigner = await Safe.createPasskeySigner( + credential +) +``` + +## Returns `Promise>`