From 8c62e3a53b7c0a171eb128f1c90dc25e220ab679 Mon Sep 17 00:00:00 2001 From: ARLBR10 <71902040+ARLBR10@users.noreply.github.com> Date: Sun, 7 Dec 2025 20:59:28 -0300 Subject: [PATCH 1/2] fix: Passkey error on better auth 1.4 --- package.json | 1 + src/auth.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2eb5509b..c925038d 100644 --- a/package.json +++ b/package.json @@ -134,6 +134,7 @@ "types": "./dist/client/index.d.ts", "module": "./dist/client/index.js", "dependencies": { + "@better-auth/passkey": "^1.4.5", "common-tags": "^1.8.2", "convex-helpers": "^0.1.95", "jose": "^6.1.0", diff --git a/src/auth.ts b/src/auth.ts index 7d6878bb..f4e6c3af 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -14,7 +14,7 @@ import { username, } from "better-auth/plugins"; import { convex } from "./plugins/convex/index.js"; -import { passkey } from "better-auth/plugins/passkey"; +import { passkey } from "@better-auth/passkey"; import { convexAdapter } from "./client/adapter.js"; // This is the config used to generate the schema From 3444088357d745fadecb16d4208f5068b9681221 Mon Sep 17 00:00:00 2001 From: ARLBR10 <71902040+ARLBR10@users.noreply.github.com> Date: Sun, 7 Dec 2025 21:01:42 -0300 Subject: [PATCH 2/2] chore: Update dependecies I added support for 1.4 why leave the old version behind? --- package.json | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index c925038d..6e87eab4 100644 --- a/package.json +++ b/package.json @@ -93,54 +93,54 @@ } }, "peerDependencies": { - "better-auth": "1.3.34", + "better-auth": "1.4.5", "convex": "^1.25.0", "react": "^18.3.1 || ^19.0.0", "react-dom": "^18.3.1 || ^19.0.0" }, "devDependencies": { - "@better-fetch/fetch": "^1.1.18", + "@better-fetch/fetch": "^1.1.19", "@edge-runtime/vm": "5.0.0", - "@eslint/eslintrc": "3.3.1", + "@eslint/eslintrc": "3.3.3", "@eslint/js": "9.39.1", - "@tanstack/react-start": "^1.132.37", + "@tanstack/react-start": "^1.140.0", "@types/common-tags": "^1.8.4", - "@types/node": "20.19.24", - "@types/react": "18.3.26", - "@types/react-dom": "18.3.7", - "@types/semver": "^7.7.0", - "@vitejs/plugin-react": "5.0.4", - "concurrently": "^9.2.0", + "@types/node": "24.10.1", + "@types/react": "19.2.7", + "@types/react-dom": "19.2.3", + "@types/semver": "^7.7.1", + "@vitejs/plugin-react": "5.1.1", + "concurrently": "^9.2.1", "chokidar-cli": "3.0.0", - "convex": "^1.29.0", + "convex": "^1.30.0", "convex-test": "0.0.41", "cpy-cli": "6.0.0", "eslint": "9.39.1", "eslint-plugin-react": "7.37.5", - "eslint-plugin-react-hooks": "5.2.0", + "eslint-plugin-react-hooks": "7.0.1", "eslint-plugin-react-refresh": "0.4.24", - "globals": "15.14.0", - "next": "^15.1.8", - "npm-run-all2": "7.0.2", - "pkg-pr-new": "0.0.60", - "prettier": "3.6.2", - "react": "18.3.1", - "react-dom": "18.3.1", + "globals": "16.5.0", + "next": "^16.0.7", + "npm-run-all2": "8.0.4", + "pkg-pr-new": "0.0.62", + "prettier": "3.7.4", + "react": "19.2.1", + "react-dom": "19.2.1", "typescript": "5.9.3", - "typescript-eslint": "8.46.4", - "vite": "^7.1.5", - "vitest": "3.2.4" + "typescript-eslint": "8.48.1", + "vite": "^7.2.6", + "vitest": "4.0.15" }, "types": "./dist/client/index.d.ts", "module": "./dist/client/index.js", "dependencies": { "@better-auth/passkey": "^1.4.5", "common-tags": "^1.8.2", - "convex-helpers": "^0.1.95", - "jose": "^6.1.0", + "convex-helpers": "^0.1.106", + "jose": "^6.1.3", "remeda": "^2.32.0", "semver": "^7.7.3", - "type-fest": "^4.39.1", - "zod": "^3.24.4" + "type-fest": "^5.3.1", + "zod": "^4.1.13" } }