Skip to content

Commit

Permalink
Fix createPasskeySigner reference (#676)
Browse files Browse the repository at this point in the history
## Context
This PR:
- Fixes the indentation of the `return` section in the reference.
- Adds the code snippet for the `credential` parameter of the function.
  • Loading branch information
germartinez authored Jan 21, 2025
1 parent 8dcfadc commit 196fa12
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Pick<PasskeyArgType, 'rawId' | 'coordinates'>>`

Expand Down

0 comments on commit 196fa12

Please sign in to comment.