Skip to content

Commit 057a8a8

Browse files
committed
chore(deps): update better-auth to 1.4.1 and add required ESLint plugins
1 parent 0b8634a commit 057a8a8

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
```sh
66
npm i
7-
cd example
7+
cd examples
88
npm i
99
npx convex dev
1010
```
@@ -15,7 +15,7 @@ npx convex dev
1515
rm -rf dist/ && npm run build
1616
npm run typecheck
1717
npm run test
18-
cd example
18+
cd examples
1919
npm run lint
2020
cd ..
2121
```

PR_DESCRIPTION.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Update to Better Auth 1.4.0
2+
3+
This PR updates the component to support Better Auth 1.4.0, which [split the passkey plugin into a separate package](https://github.com/better-auth/better-auth/pull/5769).
4+
5+
## Changes
6+
7+
### Fix passkey import path
8+
9+
- Updated passkey import from `better-auth/plugins/passkey` to `@better-auth/passkey` to match be compatible with the passkey split.
10+
11+
----
12+
13+
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,14 @@
8989
}
9090
},
9191
"peerDependencies": {
92-
"better-auth": "1.3.34",
92+
"better-auth": "^1.4.1",
9393
"convex": "^1.28.2",
9494
"react": "^18.3.1 || ^19.0.0",
9595
"react-dom": "^18.3.1 || ^19.0.0"
9696
},
9797
"devDependencies": {
9898
"@better-fetch/fetch": "^1.1.18",
99+
"@better-auth/passkey": "^1.4.1",
99100
"@edge-runtime/vm": "^5.0.0",
100101
"@eslint/js": "^9.9.1",
101102
"@tanstack/react-start": "^1.132.37",
@@ -109,6 +110,8 @@
109110
"convex": "1.29.0",
110111
"convex-test": "^0.0.33",
111112
"eslint": "^9.9.1",
113+
"eslint-plugin-react-hooks": "^7.0.1",
114+
"eslint-plugin-react-refresh": "^0.4.24",
112115
"globals": "^15.9.0",
113116
"next": "^15.1.8",
114117
"npm-run-all2": "8.0.4",

0 commit comments

Comments
 (0)