Skip to content

Commit

Permalink
chore(docs): specify exact version for simpleweabuthn peer dep instal…
Browse files Browse the repository at this point in the history
…lation
  • Loading branch information
ndom91 committed May 7, 2024
1 parent bfa7079 commit e332a41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/pages/getting-started/authentication/webauthn.mdx
Expand Up @@ -25,7 +25,7 @@ Support for more frameworks and adapters are coming soon.
### Install peer dependencies

```bash npm2yarn
npm install @simplewebauthn/server @simplewebauthn/browser
npm install @simplewebauthn/server@9.0.3 @simplewebauthn/browser@9.0.1
```

The `@simplewebauthn/browser` peer dependency **is only required for custom signin pages**. If you're using the Auth.js default pages, you can skip installing that peer dependency.
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/getting-started/providers/passkey.mdx
Expand Up @@ -25,7 +25,7 @@ Support for more frameworks and adapters are coming soon.{" "}
### Install peer dependencies

```bash npm2yarn
npm install @simplewebauthn/browser @simplewebauthn/server
npm install @simplewebauthn/browser@9.0.1 @simplewebauthn/server@9.0.3
```

The `@simplewebauthn/browser` peer dependency is only required for custom signin pages. If you're using the Auth.js default pages, you can skip installing that peer dependency.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/providers/passkey.ts
Expand Up @@ -22,7 +22,7 @@ import WebAuthn, {
* Install the required peer dependency.
*
* ```npm2yarn
* npm install @simplewebauthn/browser
* npm install @simplewebauthn/browser@9.0.1
* ```
*
* #### Configuration
Expand Down

0 comments on commit e332a41

Please sign in to comment.