Skip to content

Commit d53818f

Browse files
committed
fix better auth version
1 parent 9529671 commit d53818f

File tree

8 files changed

+63
-118
lines changed

8 files changed

+63
-118
lines changed

custom-mcp-server/index.ts

Lines changed: 0 additions & 39 deletions
This file was deleted.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"test:e2e:ui": "playwright test --ui",
1919
"test:e2e:seed": "dotenv -- tsx scripts/seed-test-users.ts",
2020
"test:e2e:clean": "dotenv -- tsx scripts/cleanup-all-test-data.ts",
21-
"lint": "next lint && biome lint",
22-
"lint:fix": "next lint --fix && biome lint --write --unsafe",
21+
"lint": "biome lint",
22+
"lint:fix": "biome lint --write --unsafe",
2323
"format": "biome format --write",
2424
"check-types": "tsc --noEmit",
2525
"initial:env": "tsx scripts/initial-env.ts",
@@ -86,7 +86,7 @@
8686
"@xyflow/react": "^12.9.3",
8787
"ai": "^5.0.100",
8888
"bcrypt-ts": "^7.1.0",
89-
"better-auth": "^1.4.1",
89+
"better-auth": "^1.3.34",
9090
"chokidar": "^4.0.3",
9191
"class-variance-authority": "^0.7.1",
9292
"clsx": "^2.1.1",
@@ -105,7 +105,7 @@
105105
"lucide-react": "^0.486.0",
106106
"mermaid": "^11.12.1",
107107
"nanoid": "^5.1.6",
108-
"next": "15.3.2",
108+
"next": "16.0.3",
109109
"next-intl": "^4.5.5",
110110
"next-themes": "^0.4.6",
111111
"ogl": "^1.0.11",

pnpm-lock.yaml

Lines changed: 53 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import React, { memo, PropsWithChildren } from "react";
3+
import { memo, PropsWithChildren } from "react";
44
import ReactMarkdown, { type Components } from "react-markdown";
55
import remarkGfm from "remark-gfm";
66
import remarkMath from "remark-math";

src/components/tool-invocation/interactive-table.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"use client";
22

3-
import * as React from "react";
43
import { useState, useMemo } from "react";
54
import {
65
ArrowDownUp,

src/components/ui/flip-words.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import React, { useCallback, useEffect, useState } from "react";
3+
import { useCallback, useEffect, useState } from "react";
44
import { AnimatePresence, motion } from "framer-motion";
55
import { cn } from "@/lib/utils";
66
import { useMounted } from "@/hooks/use-mounted";

src/middleware.ts renamed to src/proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { NextResponse, type NextRequest } from "next/server";
22
import { getSessionCookie } from "better-auth/cookies";
33

4-
export async function middleware(request: NextRequest) {
4+
export async function proxy(request: NextRequest) {
55
const { pathname } = request.nextUrl;
66

77
/*

0 commit comments

Comments
 (0)