chore: update kysley to 0.28.2

This commit is contained in:
Bereket Engida
2025-05-31 09:14:05 -07:00
parent 5c864f4482
commit fd727e515d
4 changed files with 13 additions and 21 deletions

View File

@@ -9,7 +9,6 @@ import {
oAuthProxy,
openAPI,
customSession,
mcp,
} from "better-auth/plugins";
import { reactInvitationEmail } from "./email/invitation";
import { LibsqlDialect } from "@libsql/kysely-libsql";
@@ -21,7 +20,6 @@ import { nextCookies } from "better-auth/next-js";
import { passkey } from "better-auth/plugins/passkey";
import { stripe } from "@better-auth/stripe";
import { Stripe } from "stripe";
import Database from "better-sqlite3";
const from = process.env.BETTER_AUTH_EMAIL || "delivered@resend.dev";
const to = process.env.TEST_EMAIL || "";
@@ -52,7 +50,10 @@ const STARTER_PRICE_ID = {
export const auth = betterAuth({
appName: "Better Auth Demo",
database: new Database("auth.db"),
database: {
dialect: libsql,
type: "sqlite",
},
emailVerification: {
async sendVerificationEmail({ user, url }) {
const res = await resend.emails.send({
@@ -114,9 +115,6 @@ export const auth = betterAuth({
},
},
plugins: [
mcp({
loginPage: "/sign-in",
}),
organization({
async sendInvitationEmail(data) {
await resend.emails.send({

View File

@@ -65,7 +65,7 @@
"framer-motion": "^11.13.1",
"geist": "^1.3.1",
"input-otp": "^1.4.1",
"kysely": "^0.27.4",
"kysely": "^0.28.2",
"lucide-react": "^0.477.0",
"mini-svg-data-uri": "^1.4.4",
"mysql2": "^3.11.5",

View File

@@ -664,7 +664,7 @@
"better-call": "catalog:",
"defu": "^6.1.4",
"jose": "^5.9.6",
"kysely": "^0.28.1",
"kysely": "^0.28.2",
"nanostores": "^0.11.3",
"zod": "^3.24.1"
},

20
pnpm-lock.yaml generated
View File

@@ -77,7 +77,7 @@ importers:
version: 0.12.0
'@libsql/kysely-libsql':
specifier: ^0.4.1
version: 0.4.1(kysely@0.27.6)
version: 0.4.1(kysely@0.28.2)
'@number-flow/react':
specifier: ^0.5.5
version: 0.5.9(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
@@ -226,8 +226,8 @@ importers:
specifier: ^1.4.1
version: 1.4.2(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
kysely:
specifier: ^0.27.4
version: 0.27.6
specifier: ^0.28.2
version: 0.28.2
lucide-react:
specifier: ^0.477.0
version: 0.477.0(react@19.1.0)
@@ -1474,7 +1474,7 @@ importers:
specifier: ^5.9.6
version: 5.10.0
kysely:
specifier: ^0.28.1
specifier: ^0.28.2
version: 0.28.2
nanostores:
specifier: ^0.11.3
@@ -14026,10 +14026,6 @@ packages:
kuler@2.0.0:
resolution: {integrity: sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==}
kysely@0.27.6:
resolution: {integrity: sha512-FIyV/64EkKhJmjgC0g2hygpBv5RNWVPyNCqSAD7eTCv6eFWNIi4PN1UvdSJGicN/o35bnevgis4Y0UDC0qi8jQ==}
engines: {node: '>=14.0.0'}
kysely@0.28.2:
resolution: {integrity: sha512-4YAVLoF0Sf0UTqlhgQMFU9iQECdah7n+13ANkiuVfRvlK+uI0Etbgd7bVP36dKlG+NXWbhGua8vnGt+sdhvT7A==}
engines: {node: '>=18.0.0'}
@@ -23014,10 +23010,10 @@ snapshots:
- bufferutil
- utf-8-validate
'@libsql/kysely-libsql@0.4.1(kysely@0.27.6)':
'@libsql/kysely-libsql@0.4.1(kysely@0.28.2)':
dependencies:
'@libsql/client': 0.8.1
kysely: 0.27.6
kysely: 0.28.2
transitivePeerDependencies:
- bufferutil
- utf-8-validate
@@ -30097,7 +30093,7 @@ snapshots:
'@babel/plugin-syntax-typescript': 7.27.1(@babel/core@7.27.4)
'@vanilla-extract/babel-plugin-debug-ids': 1.2.0
'@vanilla-extract/css': 1.17.2(babel-plugin-macros@3.1.0)
esbuild: 0.17.6
esbuild: 0.19.12
eval: 0.1.8
find-up: 5.0.0
javascript-stringify: 2.1.0
@@ -36526,8 +36522,6 @@ snapshots:
kuler@2.0.0: {}
kysely@0.27.6: {}
kysely@0.28.2: {}
lambda-local@2.2.0: