mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-14 06:47:00 +10:00
update dependencies
This commit is contained in:
+23
-21
@@ -31,11 +31,13 @@
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ai-sdk/anthropic": "^3.0.49",
|
||||
"@ai-sdk/google": "^3.0.33",
|
||||
"@ai-sdk/openai": "^3.0.36",
|
||||
"@ai-sdk/react": "^3.0.106",
|
||||
"@aws-sdk/client-s3": "^3.1000.0",
|
||||
"@ai-sdk/anthropic": "^3.0.55",
|
||||
"@ai-sdk/google": "^3.0.37",
|
||||
"@ai-sdk/openai": "^3.0.39",
|
||||
"@ai-sdk/react": "^3.0.114",
|
||||
"@aws-sdk/client-s3": "^3.1001.0",
|
||||
"@better-auth/api-key": "^1.5.3",
|
||||
"@better-auth/drizzle-adapter": "^1.5.3",
|
||||
"@dnd-kit/core": "^6.3.1",
|
||||
"@dnd-kit/sortable": "^10.0.0",
|
||||
"@dnd-kit/utilities": "^3.2.2",
|
||||
@@ -45,12 +47,12 @@
|
||||
"@lingui/react": "^5.9.2",
|
||||
"@modelcontextprotocol/sdk": "^1.27.1",
|
||||
"@monaco-editor/react": "4.8.0-rc.3",
|
||||
"@orpc/client": "^1.13.5",
|
||||
"@orpc/json-schema": "^1.13.5",
|
||||
"@orpc/openapi": "^1.13.5",
|
||||
"@orpc/server": "^1.13.5",
|
||||
"@orpc/tanstack-query": "^1.13.5",
|
||||
"@orpc/zod": "^1.13.5",
|
||||
"@orpc/client": "^1.13.6",
|
||||
"@orpc/json-schema": "^1.13.6",
|
||||
"@orpc/openapi": "^1.13.6",
|
||||
"@orpc/server": "^1.13.6",
|
||||
"@orpc/tanstack-query": "^1.13.6",
|
||||
"@orpc/zod": "^1.13.6",
|
||||
"@phosphor-icons/react": "^2.1.10",
|
||||
"@phosphor-icons/web": "^2.1.2",
|
||||
"@sindresorhus/slugify": "^3.0.0",
|
||||
@@ -58,7 +60,7 @@
|
||||
"@tanstack/react-query": "5.90.21",
|
||||
"@tanstack/react-router": "^1.163.3",
|
||||
"@tanstack/react-router-ssr-query": "^1.163.3",
|
||||
"@tanstack/react-start": "^1.163.3",
|
||||
"@tanstack/react-start": "^1.166.1",
|
||||
"@tanstack/zod-adapter": "^1.163.3",
|
||||
"@tiptap/extension-highlight": "^3.20.0",
|
||||
"@tiptap/extension-table": "^3.20.0",
|
||||
@@ -66,17 +68,17 @@
|
||||
"@tiptap/pm": "^3.20.0",
|
||||
"@tiptap/react": "^3.20.0",
|
||||
"@tiptap/starter-kit": "^3.20.0",
|
||||
"ai": "^6.0.104",
|
||||
"ai": "^6.0.112",
|
||||
"ai-sdk-ollama": "^3.8.0",
|
||||
"bcrypt": "^6.0.0",
|
||||
"better-auth": "v1.4.19",
|
||||
"better-auth": "v1.5.3",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "^1.1.1",
|
||||
"dompurify": "^3.3.1",
|
||||
"drizzle-orm": "^1.0.0-beta.15-859cf75",
|
||||
"drizzle-zod": "^0.8.3",
|
||||
"es-toolkit": "^1.44.0",
|
||||
"es-toolkit": "^1.45.1",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"fast-json-patch": "^3.1.1",
|
||||
"fuse.js": "^7.1.0",
|
||||
@@ -84,17 +86,17 @@
|
||||
"input-otp": "^1.4.2",
|
||||
"js-cookie": "^3.0.5",
|
||||
"monaco-editor": "^0.55.1",
|
||||
"motion": "^12.34.3",
|
||||
"motion": "^12.35.0",
|
||||
"nodemailer": "^8.0.1",
|
||||
"pg": "^8.19.0",
|
||||
"puppeteer-core": "^24.37.5",
|
||||
"puppeteer-core": "^24.38.0",
|
||||
"qrcode.react": "^4.2.0",
|
||||
"radix-ui": "^1.4.3",
|
||||
"react": "^19.2.4",
|
||||
"react-dom": "^19.2.4",
|
||||
"react-hook-form": "^7.71.2",
|
||||
"react-hotkeys-hook": "^5.2.4",
|
||||
"react-resizable-panels": "^4.6.5",
|
||||
"react-resizable-panels": "^4.7.1",
|
||||
"react-window": "^2.2.7",
|
||||
"react-zoom-pan-pinch": "^3.7.0",
|
||||
"sharp": "^0.34.5",
|
||||
@@ -112,16 +114,16 @@
|
||||
"zustand": "^5.0.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.4.4",
|
||||
"@biomejs/biome": "^2.4.5",
|
||||
"@lingui/babel-plugin-lingui-macro": "^5.9.2",
|
||||
"@lingui/cli": "^5.9.2",
|
||||
"@lingui/vite-plugin": "^5.9.2",
|
||||
"@tailwindcss/vite": "^4.2.1",
|
||||
"@types/bcrypt": "^6.0.0",
|
||||
"@types/js-cookie": "^3.0.6",
|
||||
"@types/node": "^25.3.2",
|
||||
"@types/node": "^25.3.3",
|
||||
"@types/nodemailer": "^7.0.11",
|
||||
"@types/pg": "^8.16.0",
|
||||
"@types/pg": "^8.18.0",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^5.1.4",
|
||||
|
||||
Generated
+612
-524
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,5 @@
|
||||
import {
|
||||
apiKeyClient,
|
||||
genericOAuthClient,
|
||||
inferAdditionalFields,
|
||||
twoFactorClient,
|
||||
usernameClient,
|
||||
} from "better-auth/client/plugins";
|
||||
import { apiKeyClient } from "@better-auth/api-key/client";
|
||||
import { genericOAuthClient, inferAdditionalFields, twoFactorClient, usernameClient } from "better-auth/client/plugins";
|
||||
import { createAuthClient } from "better-auth/react";
|
||||
import type { auth } from "./config";
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { apiKey } from "@better-auth/api-key";
|
||||
import { drizzleAdapter } from "@better-auth/drizzle-adapter";
|
||||
import { BetterAuthError } from "better-auth";
|
||||
import { drizzleAdapter } from "better-auth/adapters/drizzle";
|
||||
import { betterAuth } from "better-auth/minimal";
|
||||
import { apiKey, type GenericOAuthConfig, genericOAuth, openAPI, twoFactor } from "better-auth/plugins";
|
||||
import { type GenericOAuthConfig, genericOAuth, openAPI, twoFactor } from "better-auth/plugins";
|
||||
import { username } from "better-auth/plugins/username";
|
||||
import { and, eq, or } from "drizzle-orm";
|
||||
import { db } from "@/integrations/drizzle/client";
|
||||
|
||||
@@ -28,7 +28,7 @@ async function getUserFromApiKey(apiKey: string): Promise<User | null> {
|
||||
const result = await auth.api.verifyApiKey({ body: { key: apiKey } });
|
||||
if (!result.key || !result.valid) return null;
|
||||
|
||||
const [userResult] = await db.select().from(user).where(eq(user.id, result.key.userId)).limit(1);
|
||||
const [userResult] = await db.select().from(user).where(eq(user.id, result.key.referenceId)).limit(1);
|
||||
if (!userResult) return null;
|
||||
|
||||
return userResult;
|
||||
|
||||
@@ -27,7 +27,7 @@ function RouteComponent() {
|
||||
select: ({ data }) => {
|
||||
if (!data) return [];
|
||||
|
||||
return data
|
||||
return data.apiKeys
|
||||
.sort((a, b) => b.createdAt.getTime() - a.createdAt.getTime())
|
||||
.filter((key) => !!key.expiresAt && key.expiresAt.getTime() > Date.now());
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user