From 3909813cb739e771f5c8ac623c7edc8a9c634318 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Mar 2025 11:10:08 +0800 Subject: [PATCH] build(deps): bump the minor group across 1 directory with 7 updates (#3114) * build(deps): bump the minor group across 1 directory with 7 updates Bumps the minor group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | @better-auth/expo | `1.1.18` | `1.2.4` | | [better-auth](https://github.com/better-auth/better-auth/tree/HEAD/packages/better-auth) | `1.1.18` | `1.2.4` | | [@sentry/react](https://github.com/getsentry/sentry-javascript) | `9.1.0` | `9.5.0` | | [@mozilla/readability](https://github.com/mozilla/readability) | `0.5.0` | `0.6.0` | | [plain-shiki](https://github.com/KazariEX/plain-shiki) | `0.1.1` | `0.2.0` | | [re-resizable](https://github.com/bokuweb/react-resizable-box) | `6.10.3` | `6.11.2` | | [react-scan](https://github.com/aidenybai/react-scan) | `0.1.3` | `0.2.14` | Updates `@better-auth/expo` from 1.1.18 to 1.2.4 Updates `better-auth` from 1.1.18 to 1.2.4 - [Release notes](https://github.com/better-auth/better-auth/releases) - [Commits](https://github.com/better-auth/better-auth/commits/v1.2.4/packages/better-auth) Updates `@sentry/react` from 9.1.0 to 9.5.0 - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/9.1.0...9.5.0) Updates `@mozilla/readability` from 0.5.0 to 0.6.0 - [Changelog](https://github.com/mozilla/readability/blob/main/CHANGELOG.md) - [Commits](https://github.com/mozilla/readability/compare/0.5.0...0.6.0) Updates `plain-shiki` from 0.1.1 to 0.2.0 - [Release notes](https://github.com/KazariEX/plain-shiki/releases) - [Changelog](https://github.com/KazariEX/plain-shiki/blob/main/CHANGELOG.md) - [Commits](https://github.com/KazariEX/plain-shiki/compare/v0.1.1...v0.2.0) Updates `re-resizable` from 6.10.3 to 6.11.2 - [Release notes](https://github.com/bokuweb/react-resizable-box/releases) - [Changelog](https://github.com/bokuweb/re-resizable/blob/master/CHANGELOG.md) - [Commits](https://github.com/bokuweb/react-resizable-box/commits) Updates `react-scan` from 0.1.3 to 0.2.14 - [Release notes](https://github.com/aidenybai/react-scan/releases) - [Commits](https://github.com/aidenybai/react-scan/compare/v0.1.3...v0.2.14) --- updated-dependencies: - dependency-name: "@better-auth/expo" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: better-auth dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: "@sentry/react" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: "@mozilla/readability" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: plain-shiki dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: re-resizable dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: react-scan dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor ... Signed-off-by: dependabot[bot] * fix * fix * fix * fix * fix --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: DIYgod --- apps/desktop/src/renderer/package.json | 8 +- .../src/renderer/src/atoms/readability.ts | 20 +- .../modules/profile/account-management.tsx | 4 +- apps/mobile/babel.config.js | 7 +- apps/mobile/package.json | 4 +- .../src/modules/settings/routes/Account.tsx | 3 +- apps/ssr/package.json | 2 +- packages/shared/package.json | 2 +- packages/shared/src/hono.ts | 6025 +++++++---------- packages/utils/package.json | 2 +- pnpm-lock.yaml | 505 +- 11 files changed, 2565 insertions(+), 4017 deletions(-) diff --git a/apps/desktop/src/renderer/package.json b/apps/desktop/src/renderer/package.json index 5e9ef485c..4e39fc018 100644 --- a/apps/desktop/src/renderer/package.json +++ b/apps/desktop/src/renderer/package.json @@ -32,7 +32,7 @@ "@radix-ui/react-popover": "1.1.6", "@radix-ui/react-slider": "1.2.3", "@radix-ui/react-slot": "1.1.2", - "@sentry/react": "9.1.0", + "@sentry/react": "9.5.0", "@shikijs/transformers": "3.2.1", "@tanstack/query-sync-storage-persister": "5.67.3", "@tanstack/react-query": "5.67.3", @@ -71,8 +71,8 @@ "mdast-util-to-markdown": "2.1.2", "nanoid": "5.1.3", "ofetch": "1.4.1", - "plain-shiki": "0.1.1", - "re-resizable": "6.10.3", + "plain-shiki": "0.2.0", + "re-resizable": "6.11.2", "react-blurhash": "0.3.0", "react-fast-marquee": "1.6.5", "react-hook-form": "7.54.2", @@ -107,6 +107,6 @@ "@vite-pwa/assets-generator": "0.2.6", "fake-indexeddb": "6.0.0", "happy-dom": "17.4.4", - "react-scan": "0.1.3" + "react-scan": "0.2.14" } } diff --git a/apps/desktop/src/renderer/src/atoms/readability.ts b/apps/desktop/src/renderer/src/atoms/readability.ts index 326d92d45..961384487 100644 --- a/apps/desktop/src/renderer/src/atoms/readability.ts +++ b/apps/desktop/src/renderer/src/atoms/readability.ts @@ -3,16 +3,16 @@ import { atom } from "jotai" import { createAtomHooks } from "~/lib/jotai" type Readability = { - title: string - content: string - textContent: string - length: number - excerpt: string - byline: string - dir: string - siteName: string - lang: string - publishedTime: string + title?: string | null + content?: string | null + textContent?: string | null + length?: number | null + excerpt?: string | null + byline?: string | null + dir?: string | null + siteName?: string | null + lang?: string | null + publishedTime?: string | null } const mergeObjectSetter = diff --git a/apps/desktop/src/renderer/src/modules/profile/account-management.tsx b/apps/desktop/src/renderer/src/modules/profile/account-management.tsx index bde65ca43..110c6cb61 100644 --- a/apps/desktop/src/renderer/src/modules/profile/account-management.tsx +++ b/apps/desktop/src/renderer/src/modules/profile/account-management.tsx @@ -15,7 +15,9 @@ function AuthProviderButton({ provider }: { provider: string }) { const { data: accounts } = useSocialAccounts() const unlinkAccountMutation = useMutation({ mutationFn: async () => { - const res = await unlinkAccount({ providerId: provider }) + const account = accounts?.find((account) => account.provider === provider) + if (!account) throw new Error("Account not found") + const res = await unlinkAccount({ providerId: provider, accountId: account.id }) if (res.error) throw new Error(res.error.message) }, onSuccess: () => { diff --git a/apps/mobile/babel.config.js b/apps/mobile/babel.config.js index f0d47bb62..3ed1f202f 100644 --- a/apps/mobile/babel.config.js +++ b/apps/mobile/babel.config.js @@ -11,9 +11,10 @@ module.exports = function (api) { alias: { "es-toolkit/compat": "../../node_modules/es-toolkit/dist/compat/index.js", "es-toolkit": "../../node_modules/es-toolkit/dist/index.js", - "better-auth/react": "../../node_modules/better-auth/dist/react.js", - "better-auth/client/plugins": "../../node_modules/better-auth/dist/client/plugins.js", - "@better-auth/expo/client": "../../node_modules/@better-auth/expo/dist/client.js", + "better-auth/react": "../../node_modules/better-auth/dist/client/react/index.cjs", + "better-auth/client/plugins": + "../../node_modules/better-auth/dist/client/plugins/index.cjs", + "@better-auth/expo/client": "../../node_modules/@better-auth/expo/dist/client.cjs", }, extensions: [".js", ".jsx", ".ts", ".tsx"], }, diff --git a/apps/mobile/package.json b/apps/mobile/package.json index de4acb02b..59b68fcd8 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -15,7 +15,7 @@ "web": "expo start --web" }, "dependencies": { - "@better-auth/expo": "1.1.18", + "@better-auth/expo": "1.2.4", "@expo/react-native-action-sheet": "4.1.1", "@expo/vector-icons": "14.0.4", "@follow/components": "workspace:*", @@ -39,7 +39,7 @@ "@tanstack/react-query": "5.67.3", "@tanstack/react-query-persist-client": "5.67.3", "@types/qrcode": "1.5.5", - "better-auth": "1.1.18", + "better-auth": "1.2.4", "cookie-es": "2.0.0", "dayjs": "1.11.13", "dnum": "2.14.0", diff --git a/apps/mobile/src/modules/settings/routes/Account.tsx b/apps/mobile/src/modules/settings/routes/Account.tsx index d2902dfd1..7c00bf243 100644 --- a/apps/mobile/src/modules/settings/routes/Account.tsx +++ b/apps/mobile/src/modules/settings/routes/Account.tsx @@ -130,7 +130,8 @@ const AccountLinker: FC<{ const queryClient = useQueryClient() const unlinkAccountMutation = useMutation({ mutationFn: async () => { - const res = await unlinkAccount({ providerId: provider }) + if (!account) throw new Error("Account not found") + const res = await unlinkAccount({ providerId: provider, accountId: account.id }) if (res.error) throw new Error(res.error.message) }, onSuccess: () => { diff --git a/apps/ssr/package.json b/apps/ssr/package.json index d3c085630..65b244562 100644 --- a/apps/ssr/package.json +++ b/apps/ssr/package.json @@ -14,7 +14,7 @@ "@fontsource/sn-pro": "5.2.5", "@openpanel/web": "1.0.1", "@resvg/resvg-js": "2.6.2", - "@sentry/react": "9.1.0", + "@sentry/react": "9.5.0", "@tanstack/react-query": "5.67.3", "blurhash": "2.0.5", "click-to-react-component": "1.1.2", diff --git a/packages/shared/package.json b/packages/shared/package.json index 7eec23cbd..45bf67b74 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -36,7 +36,7 @@ "@electron-toolkit/tsconfig": "1.0.1", "@hono/node-server": "1.13.8", "@t3-oss/env-core": "0.12.0", - "better-auth": "1.1.18", + "better-auth": "1.2.4", "drizzle-orm": "0.40.0", "hono": "4.7.4", "sonner": "2.0.1", diff --git a/packages/shared/src/hono.ts b/packages/shared/src/hono.ts index ef6f6a249..58a852a64 100644 --- a/packages/shared/src/hono.ts +++ b/packages/shared/src/hono.ts @@ -2,7 +2,7 @@ import * as hono_hono_base from 'hono/hono-base'; import * as hono_types from 'hono/types'; import * as hono_utils_http_status from 'hono/utils/http-status'; import { HttpBindings } from '@hono/node-server'; -import * as better_auth from 'better-auth'; +import * as better_call from 'better-call'; import * as zod from 'zod'; import { z } from 'zod'; import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core'; @@ -11,6 +11,7 @@ import * as drizzle_orm from 'drizzle-orm'; import { InferInsertModel, SQL } from 'drizzle-orm'; import * as better_auth_adapters_drizzle from 'better-auth/adapters/drizzle'; import * as better_auth_plugins from 'better-auth/plugins'; +import * as better_auth from 'better-auth'; type Env = { Bindings: HttpBindings; @@ -20,48 +21,102 @@ declare const authPlugins: ({ id: "customGetProviders"; endpoints: { customGetProviders: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/get-providers"; + }] ? Response : C extends [{ + returnHeaders: true; + }] ? { + headers: Headers; + response: any; + } : any>; options: { method: "GET"; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/get-providers"; }; }; } | { id: "customCreateSession"; endpoints: { customCreateSession: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/create-session"; options: { method: "GET"; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/create-session"; }; }; } | { id: "getAccountInfo"; endpoints: { getAccountInfo: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/get-account-info"; options: { method: "GET"; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/get-account-info"; }; }; } | { id: "customUpdateUser"; endpoints: { customUpdateUser: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/update-user-ccc"; + }] ? Response : C extends [{ + returnHeaders: true; + }] ? { + headers: Headers; + response: string | null; + } : string | null>; options: { method: "POST"; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/update-user-ccc"; }; }; })[]; @@ -7063,37 +7132,29 @@ declare const auth: { handler: (request: Request) => Promise; api: better_auth.InferAPI<{ ok: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/ok"; options: { method: "GET"; metadata: { @@ -7119,35 +7180,31 @@ declare const auth: { }; isAction: false; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/ok"; }; error: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/error"; + }] ? Response : C extends [{ + returnHeaders: true; + }] ? { + headers: Headers; + response: Response; + } : Response>; options: { method: "GET"; metadata: { @@ -7168,100 +7225,62 @@ declare const auth: { }; isAction: false; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/error"; }; signInSocial: { - ; - newUserCallbackURL: zod.ZodOptional; - errorCallbackURL: zod.ZodOptional; - provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "reddit")[]]>; - disableRedirect: zod.ZodOptional; - idToken: zod.ZodOptional; - accessToken: zod.ZodOptional; - refreshToken: zod.ZodOptional; - expiresAt: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - token: string; - expiresAt?: number | undefined; - accessToken?: string | undefined; - refreshToken?: string | undefined; - nonce?: string | undefined; - }, { - token: string; - expiresAt?: number | undefined; - accessToken?: string | undefined; - refreshToken?: string | undefined; - nonce?: string | undefined; - }>>; - }, "strip", zod.ZodTypeAny, { - provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "reddit"; + ; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - session: { - type: string; - }; - user: { - type: string; - }; - url: { - type: string; - }; - redirect: { - type: string; - }; - }; - required: string[]; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/sign-in/social"; options: { method: "POST"; body: zod.ZodObject<{ callbackURL: zod.ZodOptional; newUserCallbackURL: zod.ZodOptional; errorCallbackURL: zod.ZodOptional; - provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "reddit")[]]>; + provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk")[]]>; disableRedirect: zod.ZodOptional; idToken: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { token: string; - expiresAt?: number | undefined; accessToken?: string | undefined; refreshToken?: string | undefined; + expiresAt?: number | undefined; nonce?: string | undefined; }, { token: string; - expiresAt?: number | undefined; accessToken?: string | undefined; refreshToken?: string | undefined; + expiresAt?: number | undefined; nonce?: string | undefined; }>>; + scopes: zod.ZodOptional>; + requestSignUp: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { - provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "reddit"; + provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk"; + scopes?: string[] | undefined; idToken?: { token: string; - expiresAt?: number | undefined; accessToken?: string | undefined; refreshToken?: string | undefined; + expiresAt?: number | undefined; nonce?: string | undefined; } | undefined; callbackURL?: string | undefined; - newUserCallbackURL?: string | undefined; + requestSignUp?: boolean | undefined; errorCallbackURL?: string | undefined; + newUserCallbackURL?: string | undefined; disableRedirect?: boolean | undefined; }, { - provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "reddit"; + provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk"; + scopes?: string[] | undefined; idToken?: { token: string; - expiresAt?: number | undefined; accessToken?: string | undefined; refreshToken?: string | undefined; + expiresAt?: number | undefined; nonce?: string | undefined; } | undefined; callbackURL?: string | undefined; - newUserCallbackURL?: string | undefined; + requestSignUp?: boolean | undefined; errorCallbackURL?: string | undefined; + newUserCallbackURL?: string | undefined; disableRedirect?: boolean | undefined; }>; metadata: { @@ -7365,147 +7389,157 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/sign-in/social"; }; callbackOAuth: { - ; - error: zod.ZodOptional; - error_description: zod.ZodOptional; - state: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - code?: string | undefined; - error?: string | undefined; - error_description?: string | undefined; - state?: string | undefined; - }, { - code?: string | undefined; - error?: string | undefined; - error_description?: string | undefined; - state?: string | undefined; - }>>; - query: zod.ZodOptional; - error: zod.ZodOptional; - error_description: zod.ZodOptional; - state: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - code?: string | undefined; - error?: string | undefined; - error_description?: string | undefined; - state?: string | undefined; - }, { - code?: string | undefined; - error?: string | undefined; - error_description?: string | undefined; - state?: string | undefined; - }>>; - metadata: { - isAction: false; + ]>(...ctx: C): Promise(...inputCtx: C): Promise; - path: "/callback/:id"; + }] ? Response : C extends [{ + returnHeaders: true; + }] ? { + headers: Headers; + response: void; + } : void>; options: { method: ("GET" | "POST")[]; body: zod.ZodOptional; error: zod.ZodOptional; + device_id: zod.ZodOptional; error_description: zod.ZodOptional; state: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { + state?: string | undefined; code?: string | undefined; + device_id?: string | undefined; error?: string | undefined; error_description?: string | undefined; - state?: string | undefined; }, { + state?: string | undefined; code?: string | undefined; + device_id?: string | undefined; error?: string | undefined; error_description?: string | undefined; - state?: string | undefined; }>>; query: zod.ZodOptional; error: zod.ZodOptional; + device_id: zod.ZodOptional; error_description: zod.ZodOptional; state: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { + state?: string | undefined; code?: string | undefined; + device_id?: string | undefined; error?: string | undefined; error_description?: string | undefined; - state?: string | undefined; }, { + state?: string | undefined; code?: string | undefined; + device_id?: string | undefined; error?: string | undefined; error_description?: string | undefined; - state?: string | undefined; }>>; metadata: { isAction: false; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/callback/:id"; }; getSession: { - ]>>>; - disableRefresh: zod.ZodOptional]>>; - }, "strip", zod.ZodTypeAny, { - disableCookieCache?: boolean | undefined; - disableRefresh?: boolean | undefined; - }, { + >; - requireHeaders: true; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - session: { - type: string; - properties: { - token: { - type: string; - }; - userId: { - type: string; - }; - expiresAt: { - type: string; - }; - }; - }; - user: { - type: string; - $ref: string; - }; - }; - }; - }; - }; - }; - }; - }; - }; - }>]>(...ctx: C): Promise | undefined; + request?: Request | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/get-session"; options: { method: "GET"; query: zod.ZodOptional]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/sign-out"; options: { method: "POST"; requireHeaders: true; @@ -7659,97 +7685,63 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/sign-out"; }; signUpEmail: { - ; - metadata: { - $Infer: { - body: ({ - name: string; - email: string; - password: string; - } & ({} | ({} & {}) | ({} & { - isAnonymous?: boolean | null | undefined; - }))) & { - handle: string; - } & { - handle?: string | null | undefined; - }; + | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise]>(...ctx: C): Promise; - path: "/sign-up/email"; options: { method: "POST"; body: zod.ZodRecord; @@ -7856,61 +7847,49 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/sign-up/email"; }; signInEmail: { - ; - rememberMe: zod.ZodOptional>; - }, "strip", zod.ZodTypeAny, { + ; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - user: { - type: string; - }; - url: { - type: string; - }; - redirect: { - type: string; - }; - }; - required: string[]; - }; - }; - }; - }; - }; + }; + method?: "POST" | undefined; + query?: Record | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise]>(...ctx: C): Promise; - path: "/sign-in/email"; options: { method: "POST"; body: zod.ZodObject<{ @@ -7972,51 +7950,38 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/sign-in/email"; }; forgetPassword: { - ; - }, "strip", zod.ZodTypeAny, { + ; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/forget-password"; options: { method: "POST"; body: zod.ZodObject<{ @@ -8051,58 +8016,40 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/forget-password"; }; resetPassword: { - ; - }, "strip", zod.ZodTypeAny, { - token?: string | undefined; - }, { - token?: string | undefined; - }>>; - body: zod.ZodObject<{ - newPassword: zod.ZodString; - token: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { + ; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/reset-password"; options: { method: "POST"; query: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { + ; - use: better_auth.Endpoint, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - user: { - type: string; - }; - status: { - type: string; - }; - }; - required: string[]; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/verify-email"; options: { method: "GET"; query: zod.ZodObject<{ @@ -8218,7 +8159,15 @@ declare const auth: { token: string; callbackURL?: string | undefined; }>; - use: better_auth.Endpoint, better_auth.EndpointOptions>[]; + use: ((inputContext: { + body?: any; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise)[]; metadata: { openapi: { description: string; @@ -8245,71 +8194,38 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/verify-email"; }; sendVerificationEmail: { - ; - }, "strip", zod.ZodTypeAny, { + ; - metadata: { - openapi: { - description: string; - requestBody: { - content: { - "application/json": { - schema: { - type: "object"; - properties: { - email: { - type: string; - description: string; - }; - callbackURL: { - type: string; - description: string; - }; - }; - required: string[]; - }; - }; - }; - }; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/send-verification-email"; options: { method: "POST"; body: zod.ZodObject<{ @@ -8364,76 +8280,38 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/send-verification-email"; }; changeEmail: { - ; - }, "strip", zod.ZodTypeAny, { + ; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - user: { - type: string; - }; - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/change-email"; options: { method: "POST"; body: zod.ZodObject<{ @@ -8446,7 +8324,15 @@ declare const auth: { newEmail: string; callbackURL?: string | undefined; }>; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -8460,15 +8346,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; metadata: { openapi: { responses: { @@ -8493,75 +8379,46 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/change-email"; }; changePassword: { - ; - }, "strip", zod.ZodTypeAny, { + ; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - user: { - description: string; - $ref: string; - }; - }; - }; - }; - }; - }; - }; + }; + method?: "POST" | undefined; + query?: Record | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise]>(...ctx: C): Promise; - path: "/change-password"; options: { method: "POST"; body: zod.ZodObject<{ @@ -8589,7 +8445,15 @@ declare const auth: { currentPassword: string; revokeOtherSessions?: boolean | undefined; }>; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -8603,15 +8467,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; metadata: { openapi: { description: string; @@ -8635,52 +8499,37 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/change-password"; }; setPassword: { - ; - metadata: { - SERVER_ONLY: true; }; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/set-password"; options: { method: "POST"; body: zod.ZodObject<{ @@ -8693,7 +8542,15 @@ declare const auth: { metadata: { SERVER_ONLY: true; }; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -8707,109 +8564,65 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/set-password"; }; updateUser: { - ; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - metadata: { - $Infer: { - body: (({} | ({} & {}) | ({} & { - isAnonymous?: boolean | null | undefined; - })) & { - handle: string; - }) & { - handle?: string | null | undefined; - } & { - name?: string; - image?: string | null; - }; - }; - openapi: { - description: string; - requestBody: { - content: { - "application/json": { - schema: { - type: "object"; - properties: { - name: { - type: string; - description: string; - }; - image: { - type: string; - description: string; - }; - }; - }; - }; - }; - }; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - user: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; - }; - }>]>(...ctx: C): Promise>; + method?: "POST" | undefined; + query?: Record | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/update-user"; options: { method: "POST"; body: zod.ZodRecord; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -8823,18 +8636,18 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; metadata: { $Infer: { - body: (({} | ({} & {}) | ({} & { + body: Partial>; }; openapi: { description: string; @@ -8885,76 +8698,52 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/update-user"; }; deleteUser: { - & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - body: zod.ZodObject<{ - callbackURL: zod.ZodOptional; - password: zod.ZodOptional; - token: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { + ; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/delete-user"; options: { method: "POST"; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -8968,15 +8757,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; body: zod.ZodObject<{ callbackURL: zod.ZodOptional; password: zod.ZodOptional; @@ -9007,47 +8796,35 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/delete-user"; }; forgetPasswordCallback: { - ; - use: better_auth.Endpoint, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - token: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise(...inputCtx: C): Promise; - path: "/reset-password/:token"; + }] ? Response : C extends [{ + returnHeaders: true; + }] ? { + headers: Headers; + response: never; + } : never>; options: { method: "GET"; query: zod.ZodObject<{ @@ -9057,7 +8834,15 @@ declare const auth: { }, { callbackURL: string; }>; - use: better_auth.Endpoint, better_auth.EndpointOptions>[]; + use: ((inputContext: { + body?: any; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise)[]; metadata: { openapi: { description: string; @@ -9080,71 +8865,40 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/reset-password/:token"; }; listSessions: { - & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - requireHeaders: true; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "array"; - items: { - type: string; - properties: { - token: { - type: string; - }; - userId: { - type: string; - }; - expiresAt: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; - }; - }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise[]; + } : better_auth.Prettify<{ id: string; createdAt: Date; updatedAt: Date; @@ -9154,10 +8908,17 @@ declare const auth: { ipAddress?: string | null | undefined | undefined; userAgent?: string | null | undefined | undefined; }>[]>; - path: "/list-sessions"; options: { method: "GET"; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -9171,15 +8932,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; requireHeaders: true; metadata: { openapi: { @@ -9212,70 +8973,37 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/list-sessions"; }; revokeSession: { - ; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - requireHeaders: true; - metadata: { - openapi: { - description: string; - requestBody: { - content: { - "application/json": { - schema: { - type: "object"; - properties: { - token: { - type: string; - }; - }; - required: string[]; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/revoke-session"; options: { method: "POST"; body: zod.ZodObject<{ @@ -9285,7 +9013,15 @@ declare const auth: { }, { token: string; }>; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -9299,15 +9035,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; requireHeaders: true; metadata: { openapi: { @@ -9329,69 +9065,46 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/revoke-session"; }; revokeSessions: { - & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - requireHeaders: true; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - required: string[]; - }; - }; - }; - }; - }; - }; - }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/revoke-sessions"; options: { method: "POST"; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -9405,15 +9118,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; requireHeaders: true; metadata: { openapi: { @@ -9438,69 +9151,47 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/revoke-sessions"; }; revokeOtherSessions: { - & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; - }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/revoke-other-sessions"; options: { method: "POST"; requireHeaders: true; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -9514,15 +9205,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; metadata: { openapi: { description: string; @@ -9545,94 +9236,62 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/revoke-other-sessions"; }; linkSocialAccount: { - ; - provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "reddit")[]]>; - }, "strip", zod.ZodTypeAny, { - provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "reddit"; + ; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - url: { - type: string; - }; - redirect: { - type: string; - }; - }; - required: string[]; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/link-social"; options: { method: "POST"; requireHeaders: true; body: zod.ZodObject<{ callbackURL: zod.ZodOptional; - provider: zod.ZodEnum<["github", ...("github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "reddit")[]]>; + provider: zod.ZodEnum<["github", ...("apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk")[]]>; }, "strip", zod.ZodTypeAny, { - provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "reddit"; + provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk"; callbackURL?: string | undefined; }, { - provider: "github" | "apple" | "discord" | "facebook" | "microsoft" | "google" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "reddit"; + provider: "apple" | "discord" | "facebook" | "github" | "google" | "microsoft" | "spotify" | "twitch" | "twitter" | "dropbox" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "vk"; callbackURL?: string | undefined; }>; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -9646,15 +9305,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; metadata: { openapi: { description: string; @@ -9681,67 +9340,38 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/link-social"; }; listUserAccounts: { - & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - description: string; - responses: { - "200": { - description: string; - content: { - "application/json": { - schema: { - type: "array"; - items: { - type: string; - properties: { - id: { - type: string; - }; - provider: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; - }; - }; - }> | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/list-accounts"; options: { method: "GET"; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -9766,15 +9403,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; metadata: { openapi: { description: string; @@ -9803,31 +9440,40 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/list-accounts"; }; deleteUserCallback: { - ; - }, "strip", zod.ZodTypeAny, { + ; - use: better_auth.Endpoint, better_auth.EndpointOptions>[]; - }>]>(...ctx: C): Promise | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/delete-user/callback"; options: { method: "GET"; query: zod.ZodObject<{ @@ -9840,50 +9486,46 @@ declare const auth: { token: string; callbackURL?: string | undefined; }>; - use: better_auth.Endpoint, better_auth.EndpointOptions>[]; + use: ((inputContext: { + body?: any; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise)[]; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/delete-user/callback"; }; unlinkAccount: { - ; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/unlink-account"; options: { method: "POST"; body: zod.ZodObject<{ @@ -9893,7 +9535,15 @@ declare const auth: { }, { providerId: string; }>; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -9907,57 +9557,112 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/unlink-account"; }; } & { customGetProviders: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/get-providers"; + }] ? Response : C extends [{ + returnHeaders: true; + }] ? { + headers: Headers; + response: any; + } : any>; options: { method: "GET"; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/get-providers"; }; } & { customCreateSession: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/create-session"; options: { method: "GET"; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/create-session"; }; } & { getAccountInfo: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/get-account-info"; options: { method: "GET"; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/get-account-info"; }; } & { customUpdateUser: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/update-user-ccc"; + }] ? Response : C extends [{ + returnHeaders: true; + }] ? { + headers: Headers; + response: string | null; + } : string | null>; options: { method: "POST"; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/update-user-ccc"; }; } & { enableTwoFactor: { - ; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - totpURI: { - type: string; - description: string; - }; - backupCodes: { - type: string; - items: { - type: string; - }; - description: string; - }; - }; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/two-factor/enable"; options: { method: "POST"; body: zod.ZodObject<{ @@ -10069,7 +9745,15 @@ declare const auth: { }, { password: string; }>; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -10083,15 +9767,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; metadata: { openapi: { summary: string; @@ -10123,72 +9807,37 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/enable"; }; disableTwoFactor: { - ; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/two-factor/disable"; options: { method: "POST"; body: zod.ZodObject<{ @@ -10198,7 +9847,15 @@ declare const auth: { }, { password: string; }>; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -10212,15 +9869,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; metadata: { openapi: { summary: string; @@ -10244,57 +9901,39 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/disable"; }; verifyBackupCode: { - ; - }, "strip", zod.ZodTypeAny, { + ; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; + }; + method?: "POST" | undefined; + query?: Record | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; + user: better_auth.User & Record; + } & { session: { id: string; createdAt: Date; @@ -10306,31 +9945,7 @@ declare const auth: { userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; - }; - } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { + } & { session: Record & { id: string; createdAt: Date; @@ -10343,30 +9958,21 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; - }>]>(...ctx: C): Promise; + user: better_auth.User & Record; + } & { session: { id: string; createdAt: Date; @@ -10391,62 +9997,52 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; - } & { - session: better_auth.Session & Record; - user: better_auth.User & Record; }; }>; - path: "/two-factor/verify-backup-code"; options: { method: "POST"; body: zod.ZodObject<{ code: zod.ZodString; disableSession: zod.ZodOptional; + trustDevice: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { code: string; + trustDevice?: boolean | undefined; disableSession?: boolean | undefined; }, { code: string; + trustDevice?: boolean | undefined; disableSession?: boolean | undefined; }>; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { + use: ((inputContext: { + body: { trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + }; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -10463,26 +10059,17 @@ declare const auth: { user: better_auth_plugins.UserWithTwoFactor; }; } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -10498,69 +10085,48 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; + }>)[]; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/verify-backup-code"; }; generateBackupCodes: { - ; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/two-factor/generate-backup-codes"; options: { method: "POST"; body: zod.ZodObject<{ @@ -10570,7 +10136,15 @@ declare const auth: { }, { password: string; }>; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -10584,39 +10158,48 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/generate-backup-codes"; }; viewBackupCodes: { - ; - metadata: { - SERVER_ONLY: true; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/two-factor/view-backup-codes"; options: { method: "GET"; body: zod.ZodObject<{ @@ -10629,176 +10212,68 @@ declare const auth: { metadata: { SERVER_ONLY: true; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/view-backup-codes"; }; sendTwoFactorOTP: { - ; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { - session: { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: better_auth_plugins.UserWithTwoFactor; - }; - } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { - session: Record & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; - }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/two-factor/send-otp"; options: { method: "POST"; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; + body: zod.ZodOptional; + }, "strip", zod.ZodTypeAny, { + trustDevice?: boolean | undefined; }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + trustDevice?: boolean | undefined; + }>>; + use: ((inputContext: { + body: { + trustDevice?: boolean | undefined; + }; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -10815,26 +10290,17 @@ declare const auth: { user: better_auth_plugins.UserWithTwoFactor; }; } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -10850,25 +10316,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; + }>)[]; metadata: { openapi: { summary: string; @@ -10892,147 +10348,45 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/send-otp"; }; verifyTwoFactorOTP: { - ; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { - session: { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: better_auth_plugins.UserWithTwoFactor; - }; - } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { - session: Record & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; + trustDevice?: boolean | undefined; + }; + method?: "POST" | undefined; + query?: Record | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise]>(...ctx: C): Promise; - path: "/two-factor/verify-otp"; options: { method: "POST"; body: zod.ZodObject<{ code: zod.ZodString; + trustDevice: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { code: string; + trustDevice?: boolean | undefined; }, { code: string; + trustDevice?: boolean | undefined; }>; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { + use: ((inputContext: { + body: { trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + }; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -11101,26 +10448,17 @@ declare const auth: { user: better_auth_plugins.UserWithTwoFactor; }; } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -11136,25 +10474,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; + }>)[]; metadata: { openapi: { summary: string; @@ -11178,68 +10506,46 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/verify-otp"; }; generateTOTP: { - & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - code: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; - }; - }> | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/totp/generate"; options: { method: "POST"; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -11253,15 +10559,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; metadata: { openapi: { summary: string; @@ -11285,75 +10591,48 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/totp/generate"; }; getTOTPURI: { - & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - body: zod.ZodObject<{ - password: zod.ZodString; - }, "strip", zod.ZodTypeAny, { + ; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - totpURI: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/two-factor/get-totp-uri"; options: { method: "POST"; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -11367,15 +10646,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; body: zod.ZodObject<{ password: zod.ZodString; }, "strip", zod.ZodTypeAny, { @@ -11406,147 +10685,45 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/get-totp-uri"; }; verifyTOTP: { - ; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { - session: { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: better_auth_plugins.UserWithTwoFactor; - }; - } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { - session: Record & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; + trustDevice?: boolean | undefined; + }; + method?: "POST" | undefined; + query?: Record | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise]>(...ctx: C): Promise; - path: "/two-factor/verify-totp"; options: { method: "POST"; body: zod.ZodObject<{ code: zod.ZodString; + trustDevice: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { code: string; + trustDevice?: boolean | undefined; }, { code: string; + trustDevice?: boolean | undefined; }>; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { + use: ((inputContext: { + body: { trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + }; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -11615,26 +10785,17 @@ declare const auth: { user: better_auth_plugins.UserWithTwoFactor; }; } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -11650,25 +10811,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; + }>)[]; metadata: { openapi: { summary: string; @@ -11692,42 +10843,42 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/verify-totp"; }; } & { signInAnonymous: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/sign-in/anonymous"; options: { method: "POST"; metadata: { @@ -11766,35 +10916,72 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/sign-in/anonymous"; }; } & { getSession: { - ]>>; - disableRefresh: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - disableCookieCache?: boolean | undefined; - disableRefresh?: boolean | undefined; - }, { + >; - }> | undefined)?]>(...ctx: C): Promise | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/get-session"; options: { method: "GET"; metadata: { @@ -11838,9 +11024,10 @@ declare const auth: { disableCookieCache?: string | boolean | undefined; disableRefresh?: boolean | undefined; }>>; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/get-session"; }; }>; options: { @@ -11867,6 +11054,10 @@ declare const auth: { }; offset?: number; }): Promise; + count(data: { + model: string; + where?: better_auth.Where[]; + }): Promise; update(data: { model: string; where: better_auth.Where[]; @@ -11957,76 +11148,33 @@ declare const auth: { id: "two-factor"; endpoints: { enableTwoFactor: { - ; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - totpURI: { - type: string; - description: string; - }; - backupCodes: { - type: string; - items: { - type: string; - }; - description: string; - }; - }; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/two-factor/enable"; options: { method: "POST"; body: zod.ZodObject<{ @@ -12036,7 +11184,15 @@ declare const auth: { }, { password: string; }>; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -12050,15 +11206,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; metadata: { openapi: { summary: string; @@ -12090,72 +11246,37 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/enable"; }; disableTwoFactor: { - ; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/two-factor/disable"; options: { method: "POST"; body: zod.ZodObject<{ @@ -12165,7 +11286,15 @@ declare const auth: { }, { password: string; }>; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -12179,15 +11308,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; metadata: { openapi: { summary: string; @@ -12211,57 +11340,39 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/disable"; }; verifyBackupCode: { - ; - }, "strip", zod.ZodTypeAny, { + ; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; + }; + method?: "POST" | undefined; + query?: Record | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; + user: better_auth.User & Record; + } & { session: { id: string; createdAt: Date; @@ -12273,31 +11384,7 @@ declare const auth: { userAgent?: string | null | undefined; }; user: better_auth_plugins.UserWithTwoFactor; - }; - } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { + } & { session: Record & { id: string; createdAt: Date; @@ -12310,30 +11397,21 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; - }>]>(...ctx: C): Promise; + user: better_auth.User & Record; + } & { session: { id: string; createdAt: Date; @@ -12358,62 +11436,52 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; - } & { - session: better_auth.Session & Record; - user: better_auth.User & Record; }; }>; - path: "/two-factor/verify-backup-code"; options: { method: "POST"; body: zod.ZodObject<{ code: zod.ZodString; disableSession: zod.ZodOptional; + trustDevice: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { code: string; + trustDevice?: boolean | undefined; disableSession?: boolean | undefined; }, { code: string; + trustDevice?: boolean | undefined; disableSession?: boolean | undefined; }>; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { + use: ((inputContext: { + body: { trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + }; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -12430,26 +11498,17 @@ declare const auth: { user: better_auth_plugins.UserWithTwoFactor; }; } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -12465,69 +11524,48 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; + }>)[]; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/verify-backup-code"; }; generateBackupCodes: { - ; - use: better_auth.Endpoint & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/two-factor/generate-backup-codes"; options: { method: "POST"; body: zod.ZodObject<{ @@ -12537,7 +11575,15 @@ declare const auth: { }, { password: string; }>; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -12551,39 +11597,48 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/generate-backup-codes"; }; viewBackupCodes: { - ; - metadata: { - SERVER_ONLY: true; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/two-factor/view-backup-codes"; options: { method: "GET"; body: zod.ZodObject<{ @@ -12596,176 +11651,68 @@ declare const auth: { metadata: { SERVER_ONLY: true; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/view-backup-codes"; }; sendTwoFactorOTP: { - ; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { - session: { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: better_auth_plugins.UserWithTwoFactor; - }; - } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { - session: Record & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; - }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/two-factor/send-otp"; options: { method: "POST"; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; + body: zod.ZodOptional; + }, "strip", zod.ZodTypeAny, { + trustDevice?: boolean | undefined; }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + trustDevice?: boolean | undefined; + }>>; + use: ((inputContext: { + body: { + trustDevice?: boolean | undefined; + }; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -12782,26 +11729,17 @@ declare const auth: { user: better_auth_plugins.UserWithTwoFactor; }; } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -12817,25 +11755,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; + }>)[]; metadata: { openapi: { summary: string; @@ -12859,147 +11787,45 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/send-otp"; }; verifyTwoFactorOTP: { - ; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { - session: { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: better_auth_plugins.UserWithTwoFactor; - }; - } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { - session: Record & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; + trustDevice?: boolean | undefined; + }; + method?: "POST" | undefined; + query?: Record | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise]>(...ctx: C): Promise; - path: "/two-factor/verify-otp"; options: { method: "POST"; body: zod.ZodObject<{ code: zod.ZodString; + trustDevice: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { code: string; + trustDevice?: boolean | undefined; }, { code: string; + trustDevice?: boolean | undefined; }>; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { + use: ((inputContext: { + body: { trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + }; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -13068,26 +11887,17 @@ declare const auth: { user: better_auth_plugins.UserWithTwoFactor; }; } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -13103,25 +11913,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; + }>)[]; metadata: { openapi: { summary: string; @@ -13145,68 +11945,46 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/verify-otp"; }; generateTOTP: { - & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - code: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; - }; - }> | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/totp/generate"; options: { method: "POST"; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -13220,15 +11998,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; metadata: { openapi: { summary: string; @@ -13252,75 +12030,48 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/totp/generate"; }; getTOTPURI: { - & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, better_auth.EndpointOptions>[]; - body: zod.ZodObject<{ - password: zod.ZodString; - }, "strip", zod.ZodTypeAny, { + ; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - totpURI: { - type: string; - }; - }; - }; - }; - }; - }; - }; - }; }; - }>]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise; - path: "/two-factor/get-totp-uri"; options: { method: "POST"; - use: better_auth.Endpoint | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ session: { session: Record & { id: string; @@ -13334,15 +12085,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, better_auth.EndpointOptions>[]; + }>)[]; body: zod.ZodObject<{ password: zod.ZodString; }, "strip", zod.ZodTypeAny, { @@ -13373,147 +12124,45 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/get-totp-uri"; }; verifyTOTP: { - ; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { - session: { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: better_auth_plugins.UserWithTwoFactor; - }; - } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; - }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; - }>; - invalid: () => Promise; - session: { - session: Record & { - id: string; - createdAt: Date; - updatedAt: Date; - userId: string; - expiresAt: Date; - token: string; - ipAddress?: string | null | undefined; - userAgent?: string | null | undefined; - }; - user: Record & { - id: string; - email: string; - emailVerified: boolean; - name: string; - createdAt: Date; - updatedAt: Date; - image?: string | null | undefined; - }; - }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; - metadata: { - openapi: { - summary: string; - description: string; - responses: { - 200: { - description: string; - content: { - "application/json": { - schema: { - type: "object"; - properties: { - status: { - type: string; - }; - }; - }; - }; - }; - }; - }; + trustDevice?: boolean | undefined; + }; + method?: "POST" | undefined; + query?: Record | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + }]>(...inputCtx: C): Promise]>(...ctx: C): Promise; - path: "/two-factor/verify-totp"; options: { method: "POST"; body: zod.ZodObject<{ code: zod.ZodString; + trustDevice: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { code: string; + trustDevice?: boolean | undefined; }, { code: string; + trustDevice?: boolean | undefined; }>; - use: better_auth.Endpoint; - }, "strip", zod.ZodTypeAny, { + use: ((inputContext: { + body: { trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }, { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + }; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -13582,26 +12224,17 @@ declare const auth: { user: better_auth_plugins.UserWithTwoFactor; }; } | { - valid: () => Promise<{ - response: { - body: any; - status: number; - statusText: string; - headers: Record | undefined; + valid: (ctx: better_auth.GenericEndpointContext) => Promise<{ + token: string; + user: { + id: string; + email: string; + emailVerified: boolean; + name: string; + image: string | null | undefined; + createdAt: Date; + updatedAt: Date; }; - body: { - token: string; - user: { - id: string; - email: string; - emailVerified: boolean; - name: string; - image: string | null | undefined; - createdAt: Date; - updatedAt: Date; - }; - }; - _flag: "json"; }>; invalid: () => Promise; session: { @@ -13617,25 +12250,15 @@ declare const auth: { }; user: Record & { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined; }; }; - }>, { - body: zod.ZodObject<{ - trustDevice: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - trustDevice?: boolean | undefined; - }, { - trustDevice?: boolean | undefined; - }>; - } & { - method: "*"; - }>[]; + }>)[]; metadata: { openapi: { summary: string; @@ -13659,30 +12282,27 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/two-factor/verify-totp"; }; }; options: better_auth_plugins.TwoFactorOptions | undefined; hooks: { after: { - matcher(context: better_auth.HookEndpointContext<{ - returned: better_auth.APIError | Response | Record; - endpoint: better_auth.Endpoint; - }>): boolean; - handler: better_auth.Endpoint | undefined; - }; - body: { - twoFactorRedirect: boolean; - }; - _flag: "json"; - } | undefined>, better_auth.EndpointOptions>; + matcher(context: better_auth.HookEndpointContext): boolean; + handler: (inputContext: { + body?: any; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise<{ + twoFactorRedirect: boolean; + } | undefined>; }[]; }; schema: { @@ -13737,47 +12357,51 @@ declare const auth: { } | undefined>; hooks: { after: { - matcher(context: better_auth.HookEndpointContext<{ - returned: better_auth.APIError | Response | Record; - endpoint: better_auth.Endpoint; - }>): boolean; - handler: (ctx: better_auth.HookEndpointContext<{}>) => Promise; + matcher(context: better_auth.HookEndpointContext): boolean; + handler: (inputContext: { + body?: any; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise; }[]; }; } | { id: "anonymous"; endpoints: { signInAnonymous: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/sign-in/anonymous"; options: { method: "POST"; metadata: { @@ -13816,18 +12439,24 @@ declare const auth: { }; }; }; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/sign-in/anonymous"; }; }; hooks: { after: { - matcher(context: better_auth.HookEndpointContext<{ - returned: better_auth.APIError | Response | Record; - endpoint: better_auth.Endpoint; - }>): boolean; - handler: better_auth.Endpoint, better_auth.EndpointOptions>; + matcher(ctx: better_auth.HookEndpointContext): boolean; + handler: (inputContext: { + body?: any; + query?: Record | undefined; + request?: Request | undefined; + headers?: Headers | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + }) => Promise; }[]; }; schema: { @@ -13849,29 +12478,65 @@ declare const auth: { id: "custom-session"; endpoints: { getSession: { - ]>>; - disableRefresh: zod.ZodOptional; - }, "strip", zod.ZodTypeAny, { - disableCookieCache?: boolean | undefined; - disableRefresh?: boolean | undefined; - }, { + >; - }> | undefined)?]>(...ctx: C): Promise | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/get-session"; options: { method: "GET"; metadata: { @@ -13915,57 +12579,112 @@ declare const auth: { disableCookieCache?: string | boolean | undefined; disableRefresh?: boolean | undefined; }>>; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/get-session"; }; }; } | { id: "customGetProviders"; endpoints: { customGetProviders: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/get-providers"; + }] ? Response : C extends [{ + returnHeaders: true; + }] ? { + headers: Headers; + response: any; + } : any>; options: { method: "GET"; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/get-providers"; }; }; } | { id: "customCreateSession"; endpoints: { customCreateSession: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/create-session"; options: { method: "GET"; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/create-session"; }; }; } | { id: "getAccountInfo"; endpoints: { getAccountInfo: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/get-account-info"; options: { method: "GET"; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/get-account-info"; }; }; } | { id: "customUpdateUser"; endpoints: { customUpdateUser: { - | undefined)?]>(...ctx: C): Promise | undefined; + params?: Record | undefined; + request?: Request | undefined; + headers?: HeadersInit | undefined; + asResponse?: boolean | undefined; + returnHeaders?: boolean | undefined; + use?: better_call.Middleware[] | undefined; + path?: string | undefined; + } | undefined)?]>(...inputCtx: C): Promise; - path: "/update-user-ccc"; + }] ? Response : C extends [{ + returnHeaders: true; + }] ? { + headers: Headers; + response: string | null; + } : string | null>; options: { method: "POST"; + } & { + use: any[]; }; - method: better_auth.Method | better_auth.Method[]; - headers: Headers; + path: "/update-user-ccc"; }; }; })[]; @@ -14017,9 +12750,9 @@ declare const auth: { }; user: { id: string; + name: string; email: string; emailVerified: boolean; - name: string; createdAt: Date; updatedAt: Date; image?: string | null | undefined | undefined; diff --git a/packages/utils/package.json b/packages/utils/package.json index 4fac222d6..533334767 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -30,7 +30,7 @@ "dependencies": { "@follow/shared": "workspace:*", "@follow/types": "workspace:*", - "@mozilla/readability": "0.5.0", + "@mozilla/readability": "0.6.0", "chardet": "2.1.0", "clsx": "2.1.1", "dompurify": "3.2.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 08f92f8f3..4dad35f25 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -517,8 +517,8 @@ importers: specifier: 1.1.2 version: 1.1.2(@types/react@18.3.12)(react@18.3.1) '@sentry/react': - specifier: 9.1.0 - version: 9.1.0(react@18.3.1) + specifier: 9.5.0 + version: 9.5.0(react@18.3.1) '@shikijs/transformers': specifier: 3.2.1 version: 3.2.1 @@ -634,11 +634,11 @@ importers: specifier: 1.4.1 version: 1.4.1 plain-shiki: - specifier: 0.1.1 - version: 0.1.1(shiki@3.2.1) + specifier: 0.2.0 + version: 0.2.0(shiki@3.2.1) re-resizable: - specifier: 6.10.3 - version: 6.10.3(patch_hash=yitcmpfwcomg2fky72uc3lhk2i)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 6.11.2 + version: 6.11.2(patch_hash=yitcmpfwcomg2fky72uc3lhk2i)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react-blurhash: specifier: 0.3.0 version: 0.3.0(blurhash@2.0.5)(react@18.3.1) @@ -737,14 +737,14 @@ importers: specifier: 17.4.4 version: 17.4.4 react-scan: - specifier: 0.1.3 - version: 0.1.3(react-dom@18.3.1(react@18.3.1))(react-router@7.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(rollup@4.35.0) + specifier: 0.2.14 + version: 0.2.14(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react-router@7.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(rollup@4.35.0) apps/mobile: dependencies: '@better-auth/expo': - specifier: 1.1.18 - version: 1.1.18(better-auth@1.1.18) + specifier: 1.2.4 + version: 1.2.4(better-auth@1.2.4(typescript@5.8.2)) '@expo/react-native-action-sheet': specifier: 4.1.1 version: 4.1.1(react@18.3.1) @@ -815,8 +815,8 @@ importers: specifier: 1.5.5 version: 1.5.5 better-auth: - specifier: 1.1.18 - version: 1.1.18 + specifier: 1.2.4 + version: 1.2.4(typescript@5.8.2) cookie-es: specifier: 2.0.0 version: 2.0.0 @@ -1095,8 +1095,8 @@ importers: specifier: 2.6.2 version: 2.6.2 '@sentry/react': - specifier: 9.1.0 - version: 9.1.0(react@18.3.1) + specifier: 9.5.0 + version: 9.5.0(react@18.3.1) '@tanstack/react-query': specifier: 5.67.3 version: 5.67.3(react@18.3.1) @@ -1506,10 +1506,10 @@ importers: version: 1.13.8(hono@4.7.4(patch_hash=qptujxncoai6tukc4qaqsrqk24)) '@t3-oss/env-core': specifier: 0.12.0 - version: 0.12.0(typescript@5.8.2)(zod@3.24.2) + version: 0.12.0(typescript@5.8.2)(valibot@1.0.0-beta.15(typescript@5.8.2))(zod@3.24.2) better-auth: - specifier: 1.1.18 - version: 1.1.18 + specifier: 1.2.4 + version: 1.2.4(typescript@5.8.2) drizzle-orm: specifier: 0.40.0 version: 0.40.0(lfgoa6uvatktntjnogv3tipozy) @@ -1534,8 +1534,8 @@ importers: specifier: workspace:* version: link:../types '@mozilla/readability': - specifier: 0.5.0 - version: 0.5.0(patch_hash=43niildbdafdxi7qfcwhpkkxwa) + specifier: 0.6.0 + version: 0.6.0(patch_hash=43niildbdafdxi7qfcwhpkkxwa) chardet: specifier: 2.1.0 version: 2.1.0 @@ -2338,16 +2338,16 @@ packages: '@bcoe/v8-coverage@0.2.3': resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} - '@better-auth/expo@1.1.18': - resolution: {integrity: sha512-WyHMdFAQ90tgN+qRHGQjD/PlpE515emx0etNzjrRSce8t74AqdIbc8Z9OEarVHHJKZyWOkTS6xkEHGulC8C5YA==} + '@better-auth/expo@1.2.4': + resolution: {integrity: sha512-mPyFeRHsWP0XiZTcUjXn0+5lxta5JlRkLPxYOJGDis2kBtGeJBiA3Mz3b6BNPdSwZurph9jtk1FcmC850WKmYg==} peerDependencies: - better-auth: 1.1.18 + better-auth: 1.2.4 '@better-auth/utils@0.2.3': resolution: {integrity: sha512-Ap1GaSmo6JYhJhxJOpUB0HobkKPTNzfta+bLV89HfpyCAHN7p8ntCrmNFHNAVD0F6v0mywFVEUg1FUhNCc81Rw==} - '@better-fetch/fetch@1.1.12': - resolution: {integrity: sha512-B3bfloI/2UBQWIATRN6qmlORrvx3Mp0kkNjmXLv0b+DtbtR+pP4/I5kQA/rDUv+OReLywCCldf6co4LdDmh8JA==} + '@better-fetch/fetch@1.1.15': + resolution: {integrity: sha512-0Bl8YYj1f8qCTNHeSn5+1DWv2hy7rLBrQ8rS8Y9XYloiwZEfc3k4yspIG0llRxafxqhGCwlGRg+F8q1HZRCMXA==} '@canvas/image-data@1.0.0': resolution: {integrity: sha512-BxOqI5LgsIQP1odU5KMwV9yoijleOPzHL18/YvNqF9KFSGF2K/DLlYAbDQsWqd/1nbaFuSkYD/191dpMtNh4vw==} @@ -2459,7 +2459,7 @@ packages: '@egoist/tipc@0.3.2': resolution: {integrity: sha512-p8g35BhErVkYIgDqkw/HQJSli1TOsZRIUU9U7PYnYfwru6J/Ep1lwFGH2N6+sQMFi1HkqGTTUlJEISJ1DClfQw==} peerDependencies: - electron: 34.2.0 + electron: '>=26.0.0' '@electron-forge/cli@7.7.0': resolution: {integrity: sha512-QfnjghmlHMb7dyArR5cbPA+MP9ff/ulWZi6R/a5MkHlKyhrysRfjzDtZDsmkEv9mGQgRwylssgXrZrKHGlxFkw==} @@ -2590,11 +2590,6 @@ packages: engines: {node: '>=12.0.0'} hasBin: true - '@electron/osx-sign@1.3.1': - resolution: {integrity: sha512-BAfviURMHpmb1Yb50YbCxnOY0wfwaLXH5KJ4+80zS0gUkzDX3ec23naTlEqKsN+PwYn+a1cCzM7BJ4Wcd3sGzw==} - engines: {node: '>=12.0.0'} - hasBin: true - '@electron/osx-sign@1.3.3': resolution: {integrity: sha512-KZ8mhXvWv2rIEgMbWZ4y33bDHyUKMXnx4M0sTyPNK/vcB81ImdeY9Ggdqy0SWbMDgmbqyQ+phgejh6V3R2QuSg==} engines: {node: '>=12.0.0'} @@ -2605,11 +2600,6 @@ packages: engines: {node: '>= 16.13.0'} hasBin: true - '@electron/rebuild@3.6.1': - resolution: {integrity: sha512-f6596ZHpEq/YskUd8emYvOUne89ij8mQgjYFA5ru25QwbrRO+t1SImofdDv7kKOuWCmVOuU5tvfkbgGxIl3E/w==} - engines: {node: '>=12.13.0'} - hasBin: true - '@electron/rebuild@3.7.1': resolution: {integrity: sha512-sKGD+xav4Gh25+LcLY0rjIwcCFTw+f/HU1pB48UVbwxXXRGaXEqIH0AaYKN46dgd/7+6kuiDXzoyAEvx1zCsdw==} engines: {node: '>=12.13.0'} @@ -2619,10 +2609,6 @@ packages: resolution: {integrity: sha512-kbgXxyEauPJiQQUNG2VgUeyfQNFk6hBF11ISN2PNI6agUgPl55pv4eQmaqHzTAzchBvqZ2tQuRVaPStGf0mxGw==} engines: {node: '>=8.6'} - '@electron/universal@2.0.1': - resolution: {integrity: sha512-fKpv9kg4SPmt+hY7SVBnIYULE9QJl8L3sCfcBsnqbJwwBwAeTLokJ9TRt9y7bK0JAzIW2y78TVVjvnQEms/yyA==} - engines: {node: '>=16.4'} - '@electron/universal@2.0.2': resolution: {integrity: sha512-mqY1szx5/d5YLvfCDWWoJdkSIjIz+NdWN4pN0r78lYiE7De+slLpuF3lVxIT+hlJnwk5sH2wFRMl6/oUgUVO3A==} engines: {node: '>=16.4'} @@ -4192,8 +4178,8 @@ packages: '@microflash/remark-callout-directives@4.3.3': resolution: {integrity: sha512-ikYI8kxULvni8vGcC6vtxyy9RZpCVi6mjN0MuHNA6cHkTh6BB6au1Cl6MU5zp0VKEJMclhwXW3xSqYdxt3H1gg==} - '@mozilla/readability@0.5.0': - resolution: {integrity: sha512-Z+CZ3QaosfFaTqvhQsIktyGrjFjSC0Fa4EMph4mqKnWhmyoGICsV/8QK+8HpXut6zV7zwfWwqDmEjtk1Qf6EgQ==} + '@mozilla/readability@0.6.0': + resolution: {integrity: sha512-juG5VWh4qAivzTAeMzvY9xs9HY5rAcr2E4I7tiSSCokRFi7XIZCAu92ZkSTsIj1OPceCifL3cpfteP3pDT9/QQ==} engines: {node: '>=14.0.0'} '@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3': @@ -4555,8 +4541,8 @@ packages: '@petamoriken/float16@3.9.2': resolution: {integrity: sha512-VgffxawQde93xKxT3qap3OH+meZf7VaSB5Sqd4Rqc+FP5alWbpOyan/7tRbOAvynjpG3GpdtAuGU/NdhQpmrog==} - '@pivanov/utils@0.0.1': - resolution: {integrity: sha512-JQ/pXeG9/Yq3UuwH2Xp4F6bSAIDGzbxT0Vrg/82tMi3Yp+Ps9AYzjSDE+zfvBRqc7J11V6MMonUrWj4+2dYgrg==} + '@pivanov/utils@0.0.2': + resolution: {integrity: sha512-q9CN0bFWxWgMY5hVVYyBgez1jGiLBa6I+LkG37ycylPhFvEGOOeaADGtUSu46CaZasPnlY8fCdVJZmrgKb1EPA==} peerDependencies: react: 18.3.1 react-dom: 18.3.1 @@ -5638,18 +5624,34 @@ packages: resolution: {integrity: sha512-S1uT+kkFlstWpwnaBTIJSwwAID8PS3aA0fIidOjNezeoUE5gOvpsjDATo9q+sl6FbGWynxMz6EnYSrq/5tuaBQ==} engines: {node: '>=18'} + '@sentry-internal/browser-utils@9.5.0': + resolution: {integrity: sha512-AE9jgeI5+KyGvLR0vf1I6sesi0NZXZe6pDlZNXyg+pWZB2vkE9dksE8ZsoU+YiD9zjUqazgPcVyb3O0VvmaCGw==} + engines: {node: '>=18'} + '@sentry-internal/feedback@9.1.0': resolution: {integrity: sha512-jTDCqkqH3QDC8m9WO4mB06hqnBRsl3p7ozoh0E774UvNB6blOEZjShhSGMMEy5jbbJajPWsOivCofUtFAwbfGw==} engines: {node: '>=18'} + '@sentry-internal/feedback@9.5.0': + resolution: {integrity: sha512-p+yOTufEYHP1RLwkD+aZwpCNS4/2l6t4uHgphjYrEC2U/U2mtZQh+EvlBAt0wY/eiKC4/acPNrF5yFD/4A7a0A==} + engines: {node: '>=18'} + '@sentry-internal/replay-canvas@9.1.0': resolution: {integrity: sha512-gxredVe+mOgfNqDJ3dTLiRON3FK1rZ8d0LHp7TICK/umLkWFkuso0DbNeyKU+3XCEjCr9VM7ZRqTDMzmY6zyVg==} engines: {node: '>=18'} + '@sentry-internal/replay-canvas@9.5.0': + resolution: {integrity: sha512-W7MS7/9Z8uP2i0pbndxqz2VcGlFPc7Bv6gCoxRdGIWUWSBS9rsRbryO0sM0PwwuHt2mQtWMqwjYykcR441RBRA==} + engines: {node: '>=18'} + '@sentry-internal/replay@9.1.0': resolution: {integrity: sha512-E2xrUoms90qvm0BVOuaZ8QfkMoTUEgoIW/35uOeaqNcL7uOIj8c5cSEQQKit2Dr7CL6W+Ci5c6Khdyd5C0NL5w==} engines: {node: '>=18'} + '@sentry-internal/replay@9.5.0': + resolution: {integrity: sha512-fBBNimElAnu865HT3MJ6xH2P26KvkZvAYt+yRrWr+x5zS5KvjBYUPsSI+F0FTE14XmLW9q7DlNUl5iAZhXSy3g==} + engines: {node: '>=18'} + '@sentry/babel-plugin-component-annotate@3.2.2': resolution: {integrity: sha512-D+SKQ266ra/wo87s9+UI/rKQi3qhGPCR8eSCDe0VJudhjHsqyNU+JJ5lnIGCgmZaWFTXgdBP/gdr1Iz1zqGs4Q==} engines: {node: '>= 14'} @@ -5658,6 +5660,10 @@ packages: resolution: {integrity: sha512-G55e5j77DqRW3LkalJLAjRRfuyKrjHaKTnwIYXa6ycO+Q1+l14pEUxu+eK5Abu2rtSdViwRSb5/G6a/miSUlYA==} engines: {node: '>=18'} + '@sentry/browser@9.5.0': + resolution: {integrity: sha512-HYSPW8GjknuYykJgOialKFyWg7ldmrbD1AKTIhksqdsNXLER07YeVWFAbe+xSYa1ZwwC8/s6vQJP9ZOoH1BaVg==} + engines: {node: '>=18'} + '@sentry/bundler-plugin-core@3.2.2': resolution: {integrity: sha512-YGrtmqQ2jMixccX2slVG/Lw7pCGJL3DGB3clmY9mO8QBEBIN3/gEANiHJVWwRidpUOS/0b7yVVGAdwZ87oPwTg==} engines: {node: '>= 14'} @@ -5712,6 +5718,10 @@ packages: resolution: {integrity: sha512-djWEzSBpMgqdF3GQuxO+kXCUX+Mgq42G4Uah/HSUBvPDHKipMmyWlutGRoFyVPPOnCDgpHu3wCt83wbpEyVmDw==} engines: {node: '>=18'} + '@sentry/core@9.5.0': + resolution: {integrity: sha512-NMqyFdyg26ECAfnibAPKT8vvAt4zXp4R7dYtQnwJKhEJEVkgAshcNYeJ2D95ZLMVOqlqhTtTPnw1vqf+v9ePZg==} + engines: {node: '>=18'} + '@sentry/electron@6.1.0': resolution: {integrity: sha512-3kOD3IldarwTueR32f9nM3wAYyBRJyuyyCp9vKxD1EglvGOXBJp58FNiRh3uacUBDNEanfOdC1QwChGBps5HFg==} @@ -5730,8 +5740,8 @@ packages: '@opentelemetry/sdk-trace-base': ^1.30.1 '@opentelemetry/semantic-conventions': ^1.28.0 - '@sentry/react@9.1.0': - resolution: {integrity: sha512-aP2sXHH+erbomuzU762ktg340IGDh8zD7ueuqwBwGu98fhCpTYsLXiS85I29tUvPLljwNU9puLPmxbgW4iZ2tQ==} + '@sentry/react@9.5.0': + resolution: {integrity: sha512-ixOlKuMxWKSK73u41vY2wQNkQpZJo4fwRkA6r4oy745ldcwhGlOy/TMACdotbHCn4ULC86rVZN5r49mH6SV5+w==} engines: {node: '>=18'} peerDependencies: react: 18.3.1 @@ -5827,7 +5837,7 @@ packages: '@t3-oss/env-core@0.12.0': resolution: {integrity: sha512-lOPj8d9nJJTt81mMuN9GMk8x5veOt7q9m11OSnCBJhwp1QrL/qR+M8Y467ULBSm9SunosryWNbmQQbgoiMgcdw==} peerDependencies: - typescript: 5.7.3 + typescript: '>=5.0.0' valibot: ^1.0.0-beta.7 || ^1.0.0 zod: ^3.24.0 peerDependenciesMeta: @@ -5930,7 +5940,7 @@ packages: resolution: {integrity: sha512-ty2ZxHrRPAtGlu/v3DZheU4ciQxodSIvkzuRYLy7Or16JoDcjUjIMcBBOCADuw1lsj45HERCzUDX7HBMTE5Wjw==} hasBin: true peerDependencies: - typescript: 5.7.3 + typescript: '*' '@tsslint/config@1.5.8': resolution: {integrity: sha512-kJjCgp8+4IQDvUpUNIMA6YUg+D6Cl3FtxKw6ZMol+mFAhEbxcZ1PPtYc/oDTAmejvOG2TWFHmeJRQzSyPnCbWA==} @@ -6100,6 +6110,11 @@ packages: '@types/react-google-recaptcha@2.1.9': resolution: {integrity: sha512-nT31LrBDuoSZJN4QuwtQSF3O89FVHC4jLhM+NtKEmVF5R1e8OY0Jo4//x2Yapn2aNHguwgX5doAq8Zo+Ehd0ug==} + '@types/react-reconciler@0.28.9': + resolution: {integrity: sha512-HHM3nxyUZ3zAylX8ZEyrDNd2XZOnQ0D5XfunJF5FLQnZbHHYq4UWvW1QfelQNXv1ICNkwYhfxjwfnqivYB6bFg==} + peerDependencies: + '@types/react': '*' + '@types/react@18.3.12': resolution: {integrity: sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==} @@ -6161,7 +6176,7 @@ packages: engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - typescript: 5.7.3 + typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/scope-manager@8.26.1': resolution: {integrity: sha512-6EIvbE5cNER8sqBu6V7+KeMZIC1664d2Yjt+B9EWUXrsyWpxx4lEZrmvxgSKRC6gX+efDL/UY9OpPZ267io3mg==} @@ -6189,7 +6204,7 @@ packages: engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - typescript: 5.7.3 + typescript: '>=4.8.4 <5.9.0' '@typescript-eslint/visitor-keys@8.26.1': resolution: {integrity: sha512-AjOC3zfnxd6S4Eiy3jwktJPclqhFHNyd8L6Gycf9WUPoKZpgM5PjkxY1X7uSy61xVpiJDhhk7XT2NVsN3ALTWg==} @@ -6555,9 +6570,6 @@ packages: app-builder-bin@4.0.0: resolution: {integrity: sha512-xwdG0FJPQMe0M0UA4Tz0zEB8rBJTRA5a476ZawAqiBkMv16GRK5xpXThOjMaEOFnZ6zabejjG4J3da0SXG63KA==} - app-builder-bin@5.0.0-alpha.10: - resolution: {integrity: sha512-Ev4jj3D7Bo+O0GPD2NMvJl+PGiBAfS7pUGawntBNpCbxtpncfUixqFj9z9Jme7V7s3LBGqsWZZP54fxBX3JKJw==} - app-builder-lib@24.13.3: resolution: {integrity: sha512-FAzX6IBit2POXYGnTCT8YHFO/lr5AapAII6zzhQO3Rw4cEDOgK+t1xhLc5tNcKlicTHlo9zxIwnYCX9X2DLkig==} engines: {node: '>=14.0.0'} @@ -6565,13 +6577,6 @@ packages: dmg-builder: 24.13.3 electron-builder-squirrel-windows: 24.13.3 - app-builder-lib@25.1.8: - resolution: {integrity: sha512-pCqe7dfsQFBABC1jeKZXQWhGcCPF3rPCXDdfqVKjIeWBcXzyC1iOWZdfFhGl+S9MyE/k//DFmC6FzuGAUudNDg==} - engines: {node: '>=14.0.0'} - peerDependencies: - dmg-builder: 25.1.8 - electron-builder-squirrel-windows: 25.1.8 - appdmg@0.6.6: resolution: {integrity: sha512-GRmFKlCG+PWbcYF4LUNonTYmy0GjguDy6Jh9WP8mpd0T6j80XIJyXBiWlD0U+MLNhqV9Nhx49Gl9GpVToulpLg==} engines: {node: '>=8.5'} @@ -6584,9 +6589,6 @@ packages: application-config-path@0.1.1: resolution: {integrity: sha512-zy9cHePtMP0YhwG+CfHm0bgwdnga2X3gZexpdCwEj//dpb+TKajtiC8REEUJUSq6Ab4f9cgNy2l8ObXzCXFkEw==} - aproba@2.0.0: - resolution: {integrity: sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==} - archiver-utils@2.1.0: resolution: {integrity: sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==} engines: {node: '>= 6'} @@ -6599,11 +6601,6 @@ packages: resolution: {integrity: sha512-+25nxyyznAXF7Nef3y0EbBeqmGZgeN/BxHX29Rs39djAfaFalmQ89SE6CWyDCHzGL0yt/ycBtNOmGTW0FyGWNw==} engines: {node: '>= 10'} - are-we-there-yet@3.0.1: - resolution: {integrity: sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - deprecated: This package is no longer supported. - arg@4.1.0: resolution: {integrity: sha512-ZWc51jO3qegGkVh8Hwpv636EkbesNV5ZNQPCtRa+0qytRYPEs9IYT9qITY9buezqUH5uqyzlWLcufrzU2rffdg==} @@ -6892,11 +6889,11 @@ packages: before-after-hook@2.2.3: resolution: {integrity: sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==} - better-auth@1.1.18: - resolution: {integrity: sha512-cU/u7/qlSiR/OO1O53gh/bHvxyB53DE+5ZOw9DtpDI8IyIQUBqDnQ06MOwNtj8JwjXHcMFNSNd5u/W8DED0bJw==} + better-auth@1.2.4: + resolution: {integrity: sha512-/ZK2jbUjm8JwdeCLFrUWUBmexPyI9PkaLVXWLWtN60sMDHTY8B5G72wcHglo1QMFBaw4G0qFkP5ayl9k6XfDaA==} - better-call@0.3.3: - resolution: {integrity: sha512-N4lDVm0NGmFfDJ0XMQ4O83Zm/3dPlvIQdxvwvgSLSkjFX5PM4GUYSVAuxNzXN27QZMHDkrJTWUqxBrm4tPC3eA==} + better-call@1.0.4: + resolution: {integrity: sha512-NdAihYdkS0IOz1mtz8mw1gWacCxR9r921U8YqB+VB6++rt8edMG13vVL16Y4TBL4XkjMK/DUewEsOOFkw9LJYQ==} better-opn@3.0.2: resolution: {integrity: sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ==} @@ -6913,8 +6910,10 @@ packages: bindings@1.5.0: resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} - bippy@0.2.7: - resolution: {integrity: sha512-LTCos3SmOJHrag0qF91tLUZMMw6wA+i15ESRBp71pvfNlTMYcxYoJHJ/pvFhd+29Wm5vfgVxBHV7kP5OKUUipg==} + bippy@0.3.8: + resolution: {integrity: sha512-0ou8fJWxUXK/+eRjUz5unbtX8Mrn0OYRs6QQwwUJtU6hsFDTSmSeI1fJC/2nrPA4G6GWcxwT+O6TbHyGhl4fEg==} + peerDependencies: + react: 18.3.1 birecord@0.1.1: resolution: {integrity: sha512-VUpsf/qykW0heRlC8LooCq28Kxn3mAqKohhDG/49rrsQ1dT1CXyj/pgXS+5BSRzFTR/3DyIBOqQOrGyZOh71Aw==} @@ -7069,9 +7068,6 @@ packages: builder-util@24.13.1: resolution: {integrity: sha512-NhbCSIntruNDTOVI9fdXz0dihaqX2YuE1D6zZMrwiErzH4ELZHE6mdiB40wEgZNprDia+FghRFgKoAqMZRRjSA==} - builder-util@25.1.7: - resolution: {integrity: sha512-7jPjzBwEGRbwNcep0gGNpLXG9P94VA3CPAZQCzxkFXiV2GMQKlziMbY//rXPI7WKfhsvGgFXjTcXdBEwgXw9ww==} - builtin-modules@4.0.0: resolution: {integrity: sha512-p1n8zyCkt1BVrKNFymOHjcDSAl7oq/gUvfgULv2EblgpPVQlQr9yHnWjg9IJ2MhfwPqiYqMMrr01OY7yQoK2yA==} engines: {node: '>=18.20'} @@ -7430,10 +7426,6 @@ packages: color-string@1.9.1: resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==} - color-support@1.1.3: - resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} - hasBin: true - color@4.2.3: resolution: {integrity: sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==} engines: {node: '>=12.5.0'} @@ -7556,9 +7548,6 @@ packages: config-file-ts@0.2.6: resolution: {integrity: sha512-6boGVaglwblBgJqGyxm4+xCmEGcWgnWHSWHY5jad58awQhB6gftq0G8HbzU39YqCIYHMLAiL1yjwiZ36m/CL8w==} - config-file-ts@0.2.8-rc1: - resolution: {integrity: sha512-GtNECbVI82bT4RiDIzBSVuTKoSHufnU7Ce7/42bkWZJZFLjmDF2WBpVsvRkhKCfKBnTBb3qZrBwPpFBU/Myvhg==} - connect@3.7.0: resolution: {integrity: sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==} engines: {node: '>= 0.10.0'} @@ -7567,9 +7556,6 @@ packages: resolution: {integrity: sha512-EiPU8G6dQG0GFHNR8ljnZFki/8a+cQwEQ+7wpxdChl02Q8HXlwEZWD5lqAF8vC2sEC3Tehr8hy7vErz88LHyUA==} engines: {node: ^14.18.0 || >=16.10.0} - console-control-strings@1.1.0: - resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==} - content-type@1.0.5: resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} engines: {node: '>= 0.6'} @@ -7991,9 +7977,6 @@ packages: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} - delegates@1.0.0: - resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} - depd@2.0.0: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} engines: {node: '>= 0.8'} @@ -8338,9 +8321,6 @@ packages: electron-publish@24.13.1: resolution: {integrity: sha512-2ZgdEqJ8e9D17Hwp5LEq5mLQPjqU3lv/IALvgp+4W8VeNhryfGhYEQC/PgDPMrnWUp+l60Ou5SJLsu+k4mhQ8A==} - electron-publish@25.1.7: - resolution: {integrity: sha512-+jbTkR9m39eDBMP4gfbqglDd6UvBC7RLh5Y0MhFSsc6UkGHj9Vj9TWobxevHYMMqmoujL11ZLjfPpMX+Pt6YEg==} - electron-squirrel-startup@1.0.1: resolution: {integrity: sha512-sTfFIHGku+7PsHLJ7v0dRcZNkALrV+YEozINTW8X1nM//e5O3L+rfYuvSW00lmGHnYmUjARZulD8F2V8ISI9RA==} @@ -9813,11 +9793,6 @@ packages: resolution: {integrity: sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ==} engines: {node: '>= 12'} - gauge@4.0.4: - resolution: {integrity: sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - deprecated: This package is no longer supported. - gel@2.0.1: resolution: {integrity: sha512-gfem3IGvqKqXwEq7XseBogyaRwGsQGuE7Cw/yQsjLGdgiyqX92G1xENPCE0ltunPGcsJIa6XBOTx/PK169mOqw==} engines: {node: '>= 18.0.0'} @@ -10075,9 +10050,6 @@ packages: resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} engines: {node: '>= 0.4'} - has-unicode@2.0.1: - resolution: {integrity: sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==} - hash-base@3.0.5: resolution: {integrity: sha512-vXm0l45VbcHEVlTCzs8M+s0VeYsB2lnlAaThoLKGXr3bE/VWDOelNUnycUPEhKEaXARL2TEFjBOyUiM6+55KBg==} engines: {node: '>= 0.10'} @@ -10234,10 +10206,6 @@ packages: resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} engines: {node: '>= 6'} - http-proxy-agent@7.0.2: - resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} - engines: {node: '>= 14'} - http2-wrapper@1.0.3: resolution: {integrity: sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==} engines: {node: '>=10.19.0'} @@ -12105,11 +12073,6 @@ packages: resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==} hasBin: true - node-gyp@9.4.1: - resolution: {integrity: sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ==} - engines: {node: ^12.13 || ^14.13 || >=16} - hasBin: true - node-int64@0.4.0: resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} @@ -12170,11 +12133,6 @@ packages: resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - npmlog@6.0.2: - resolution: {integrity: sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==} - engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} - deprecated: This package is no longer supported. - nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} @@ -12547,10 +12505,6 @@ packages: resolution: {integrity: sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==} engines: {node: '>=0.12'} - pe-library@0.4.1: - resolution: {integrity: sha512-eRWB5LBz7PpDu4PUlwT0PhnQfTQJlDDdPa35urV4Osrm0t0AqQFGn+UIkU3klZvwJ8KPO3VbBFsXquA6p6kqZw==} - engines: {node: '>=12', npm: '>=6'} - pe-library@1.0.1: resolution: {integrity: sha512-nh39Mo1eGWmZS7y+mK/dQIqg7S1lp38DpRxkyoHf0ZcUs/HDc+yyTjuOtTvSMZHmfSLuSQaX945u05Y2Q6UWZg==} engines: {node: '>=14', npm: '>=7'} @@ -12663,8 +12617,8 @@ packages: resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==} engines: {node: '>=8'} - plain-shiki@0.1.1: - resolution: {integrity: sha512-eHM+HdYYZsl0jUG7rlvImPOgda7Q/P4OPOaj/DcC60yAlhmtIBwn3rqvQfLlF2bNmyuO9W1RrkMmK2AO5Dc38w==} + plain-shiki@0.2.0: + resolution: {integrity: sha512-G6U9nvjc6cs1LYqNItjkX6DUgaeLXcOdgfxpLys9XByYQoWK1IxgudRBZt2WQfWrqtjmoEhB1t/nbeh41clwCg==} peerDependencies: shiki: '>=1.22.0' @@ -13233,8 +13187,8 @@ packages: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true - re-resizable@6.10.3: - resolution: {integrity: sha512-zvWb7X3RJMA4cuSrqoxgs3KR+D+pEXnGrD2FAD6BMYAULnZsSF4b7AOVyG6pC3VVNVOtlagGDCDmZSwWLjjBBw==} + re-resizable@6.11.2: + resolution: {integrity: sha512-2xI2P3OHs5qw7K0Ud1aLILK6MQxW50TcO+DetD9eIV58j84TqYeHoZcL9H4GXFXXIh7afhH8mv5iUCXII7OW7A==} peerDependencies: react: 18.3.1 react-dom: 18.3.1 @@ -13574,8 +13528,8 @@ packages: react-dom: optional: true - react-scan@0.1.3: - resolution: {integrity: sha512-mPhceIDUm6KugQPOF6PcQWBxo49/ZX7TnP5+/f/wbz7/36sM1A3ESAIAOXe+Leha30AJPriG1U4nABnEF4N8vQ==} + react-scan@0.2.14: + resolution: {integrity: sha512-Kw3vD0jC0xX69u5BlNG8FNjX+4h+yS4c9uuHb7Vpvz7+kvnPSU4xyhNhsS0ZfYrztcO29W4GV6FV5HThCfJwXA==} hasBin: true peerDependencies: '@remix-run/react': '>=1.0.0' @@ -13864,10 +13818,6 @@ packages: requires-port@1.0.0: resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} - resedit@1.7.2: - resolution: {integrity: sha512-vHjcY2MlAITJhC0eRD/Vv8Vlgmu9Sd3LX9zZvtGzU5ZImdTN3+d6e/4mnTyV8vEbyf1sgNIrWxhWlrys52OkEA==} - engines: {node: '>=12', npm: '>=6'} - resedit@2.0.3: resolution: {integrity: sha512-oTeemxwoMuxxTYxXUwjkrOPfngTQehlv0/HoYFNkB4uzsP1Un1A9nI8JQKGOFkxpqkC7qkMs0lUsGrvUlbLNUA==} engines: {node: '>=14', npm: '>=7'} @@ -15460,6 +15410,14 @@ packages: resolution: {integrity: sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==} engines: {node: '>=10.12.0'} + valibot@1.0.0-beta.15: + resolution: {integrity: sha512-BKy8XosZkDHWmYC+cJG74LBzP++Gfntwi33pP3D3RKztz2XV9jmFWnkOi21GoqARP8wAWARwhV6eTr1JcWzjGw==} + peerDependencies: + typescript: '>=5' + peerDependenciesMeta: + typescript: + optional: true + validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} @@ -15757,9 +15715,6 @@ packages: engines: {node: '>=8'} hasBin: true - wide-align@1.1.5: - resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} - widest-line@3.1.0: resolution: {integrity: sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==} engines: {node: '>=8'} @@ -16996,17 +16951,17 @@ snapshots: '@bcoe/v8-coverage@0.2.3': {} - '@better-auth/expo@1.1.18(better-auth@1.1.18)': + '@better-auth/expo@1.2.4(better-auth@1.2.4(typescript@5.8.2))': dependencies: - better-auth: 1.1.18 - better-call: 0.3.3 + better-auth: 1.2.4(typescript@5.8.2) + better-call: 1.0.4 zod: 3.24.2 '@better-auth/utils@0.2.3': dependencies: uncrypto: 0.1.3 - '@better-fetch/fetch@1.1.12': {} + '@better-fetch/fetch@1.1.15': {} '@canvas/image-data@1.0.0': {} @@ -17445,17 +17400,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@electron/osx-sign@1.3.1': - dependencies: - compare-version: 0.1.2 - debug: 4.4.0(supports-color@8.1.1) - fs-extra: 10.1.0 - isbinaryfile: 4.0.10 - minimist: 1.2.8 - plist: 3.1.0 - transitivePeerDependencies: - - supports-color - '@electron/osx-sign@1.3.3': dependencies: compare-version: 0.1.2 @@ -17491,26 +17435,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@electron/rebuild@3.6.1': - dependencies: - '@malept/cross-spawn-promise': 2.0.0 - chalk: 4.1.2 - debug: 4.4.0(supports-color@8.1.1) - detect-libc: 2.0.3 - fs-extra: 10.1.0 - got: 11.8.6 - node-abi: 3.74.0 - node-api-version: 0.2.0 - node-gyp: 9.4.1 - ora: 5.4.1 - read-binary-file-arch: 1.0.6 - semver: 7.7.1 - tar: 6.2.1 - yargs: 17.7.2 - transitivePeerDependencies: - - bluebird - - supports-color - '@electron/rebuild@3.7.1': dependencies: '@electron/node-gyp': 10.2.0-electron.2 @@ -17543,18 +17467,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@electron/universal@2.0.1': - dependencies: - '@electron/asar': 3.3.1 - '@malept/cross-spawn-promise': 2.0.0 - debug: 4.4.0(supports-color@8.1.1) - dir-compare: 4.2.0 - fs-extra: 11.3.0 - minimatch: 9.0.5 - plist: 3.1.0 - transitivePeerDependencies: - - supports-color - '@electron/universal@2.0.2': dependencies: '@electron/asar': 3.3.1 @@ -18056,7 +17968,7 @@ snapshots: '@expo/env': 0.4.2 '@expo/image-utils': 0.6.5 '@expo/json-file': 9.0.2 - '@expo/metro-config': 0.19.10 + '@expo/metro-config': 0.19.12 '@expo/osascript': 2.1.6 '@expo/package-manager': 1.7.2 '@expo/plist': 0.2.2 @@ -19798,7 +19710,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@mozilla/readability@0.5.0(patch_hash=43niildbdafdxi7qfcwhpkkxwa)': {} + '@mozilla/readability@0.6.0(patch_hash=43niildbdafdxi7qfcwhpkkxwa)': {} '@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3': optional: true @@ -20340,7 +20252,7 @@ snapshots: dependencies: '@electron-forge/maker-base': 7.7.0 '@electron-forge/shared-types': 7.7.0 - app-builder-lib: 25.1.8(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) + app-builder-lib: 24.13.3(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3) transitivePeerDependencies: - bluebird - dmg-builder @@ -20349,7 +20261,7 @@ snapshots: '@petamoriken/float16@3.9.2': {} - '@pivanov/utils@0.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@pivanov/utils@0.0.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -21580,20 +21492,38 @@ snapshots: dependencies: '@sentry/core': 9.1.0 + '@sentry-internal/browser-utils@9.5.0': + dependencies: + '@sentry/core': 9.5.0 + '@sentry-internal/feedback@9.1.0': dependencies: '@sentry/core': 9.1.0 + '@sentry-internal/feedback@9.5.0': + dependencies: + '@sentry/core': 9.5.0 + '@sentry-internal/replay-canvas@9.1.0': dependencies: '@sentry-internal/replay': 9.1.0 '@sentry/core': 9.1.0 + '@sentry-internal/replay-canvas@9.5.0': + dependencies: + '@sentry-internal/replay': 9.5.0 + '@sentry/core': 9.5.0 + '@sentry-internal/replay@9.1.0': dependencies: '@sentry-internal/browser-utils': 9.1.0 '@sentry/core': 9.1.0 + '@sentry-internal/replay@9.5.0': + dependencies: + '@sentry-internal/browser-utils': 9.5.0 + '@sentry/core': 9.5.0 + '@sentry/babel-plugin-component-annotate@3.2.2': {} '@sentry/browser@9.1.0': @@ -21604,6 +21534,14 @@ snapshots: '@sentry-internal/replay-canvas': 9.1.0 '@sentry/core': 9.1.0 + '@sentry/browser@9.5.0': + dependencies: + '@sentry-internal/browser-utils': 9.5.0 + '@sentry-internal/feedback': 9.5.0 + '@sentry-internal/replay': 9.5.0 + '@sentry-internal/replay-canvas': 9.5.0 + '@sentry/core': 9.5.0 + '@sentry/bundler-plugin-core@3.2.2(encoding@0.1.13)': dependencies: '@babel/core': 7.26.10 @@ -21660,6 +21598,8 @@ snapshots: '@sentry/core@9.1.0': {} + '@sentry/core@9.5.0': {} + '@sentry/electron@6.1.0': dependencies: '@sentry/browser': 9.1.0 @@ -21718,10 +21658,10 @@ snapshots: '@opentelemetry/semantic-conventions': 1.30.0 '@sentry/core': 9.1.0 - '@sentry/react@9.1.0(react@18.3.1)': + '@sentry/react@9.5.0(react@18.3.1)': dependencies: - '@sentry/browser': 9.1.0 - '@sentry/core': 9.1.0 + '@sentry/browser': 9.5.0 + '@sentry/core': 9.5.0 hoist-non-react-statics: 3.3.2 react: 18.3.1 @@ -21845,9 +21785,10 @@ snapshots: dependencies: defer-to-connect: 2.0.1 - '@t3-oss/env-core@0.12.0(typescript@5.8.2)(zod@3.24.2)': + '@t3-oss/env-core@0.12.0(typescript@5.8.2)(valibot@1.0.0-beta.15(typescript@5.8.2))(zod@3.24.2)': optionalDependencies: typescript: 5.8.2 + valibot: 1.0.0-beta.15(typescript@5.8.2) zod: 3.24.2 '@tailwindcss/container-queries@0.1.1(tailwindcss@3.4.17(ts-node@10.9.2(@types/node@22.13.10)(typescript@5.8.2)))': @@ -21956,7 +21897,7 @@ snapshots: dependencies: '@tsslint/types': 1.5.8 error-stack-parser: 2.1.4 - esbuild: 0.24.2 + esbuild: 0.25.1 minimatch: 10.0.1 '@tsslint/eslint@1.5.8(jiti@2.4.2)(typescript@5.8.2)': @@ -22160,6 +22101,10 @@ snapshots: dependencies: '@types/react': 18.3.12 + '@types/react-reconciler@0.28.9(@types/react@18.3.12)': + dependencies: + '@types/react': 18.3.12 + '@types/react@18.3.12': dependencies: '@types/prop-types': 15.7.14 @@ -22753,8 +22698,6 @@ snapshots: app-builder-bin@4.0.0: {} - app-builder-bin@5.0.0-alpha.10: {} - app-builder-lib@24.13.3(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3): dependencies: '@develar/schema-utils': 2.6.5 @@ -22789,46 +22732,6 @@ snapshots: transitivePeerDependencies: - supports-color - app-builder-lib@25.1.8(dmg-builder@24.13.3)(electron-builder-squirrel-windows@24.13.3): - dependencies: - '@develar/schema-utils': 2.6.5 - '@electron/notarize': 2.5.0 - '@electron/osx-sign': 1.3.1 - '@electron/rebuild': 3.6.1 - '@electron/universal': 2.0.1 - '@malept/flatpak-bundler': 0.4.0 - '@types/fs-extra': 9.0.13 - async-exit-hook: 2.0.1 - bluebird-lst: 1.0.9 - builder-util: 25.1.7 - builder-util-runtime: 9.2.10 - chromium-pickle-js: 0.2.0 - config-file-ts: 0.2.8-rc1 - debug: 4.4.0(supports-color@8.1.1) - dmg-builder: 24.13.3(electron-builder-squirrel-windows@24.13.3) - dotenv: 16.4.7 - dotenv-expand: 11.0.7 - ejs: 3.1.10 - electron-builder-squirrel-windows: 24.13.3(dmg-builder@24.13.3) - electron-publish: 25.1.7 - form-data: 4.0.2 - fs-extra: 10.1.0 - hosted-git-info: 4.1.0 - is-ci: 3.0.1 - isbinaryfile: 5.0.4 - js-yaml: 4.1.0 - json5: 2.2.3 - lazy-val: 1.0.5 - minimatch: 10.0.1 - resedit: 1.7.2 - sanitize-filename: 1.6.3 - semver: 7.7.1 - tar: 6.2.1 - temp-file: 3.4.0 - transitivePeerDependencies: - - bluebird - - supports-color - appdmg@0.6.6: dependencies: async: 1.5.2 @@ -22848,8 +22751,6 @@ snapshots: application-config-path@0.1.1: {} - aproba@2.0.0: {} - archiver-utils@2.1.0: dependencies: glob: 7.2.3 @@ -22886,11 +22787,6 @@ snapshots: tar-stream: 2.2.0 zip-stream: 4.1.1 - are-we-there-yet@3.0.1: - dependencies: - delegates: 1.0.0 - readable-stream: 3.6.2 - arg@4.1.0: {} arg@4.1.3: {} @@ -23257,27 +23153,30 @@ snapshots: before-after-hook@2.2.3: {} - better-auth@1.1.18: + better-auth@1.2.4(typescript@5.8.2): dependencies: '@better-auth/utils': 0.2.3 - '@better-fetch/fetch': 1.1.12 + '@better-fetch/fetch': 1.1.15 '@noble/ciphers': 0.6.0 '@noble/hashes': 1.7.1 '@simplewebauthn/browser': 13.1.0 '@simplewebauthn/server': 13.1.1 - better-call: 0.3.3 + better-call: 1.0.4 defu: 6.1.4 jose: 5.10.0 kysely: 0.27.6 nanostores: 0.11.4 + valibot: 1.0.0-beta.15(typescript@5.8.2) zod: 3.24.2 + transitivePeerDependencies: + - typescript - better-call@0.3.3: + better-call@1.0.4: dependencies: - '@better-fetch/fetch': 1.1.12 + '@better-fetch/fetch': 1.1.15 rou3: 0.5.1 + set-cookie-parser: 2.7.1 uncrypto: 0.1.3 - zod: 3.24.2 better-opn@3.0.2: dependencies: @@ -23291,7 +23190,12 @@ snapshots: dependencies: file-uri-to-path: 1.0.0 - bippy@0.2.7: {} + bippy@0.3.8(@types/react@18.3.12)(react@18.3.1): + dependencies: + '@types/react-reconciler': 0.28.9(@types/react@18.3.12) + react: 18.3.1 + transitivePeerDependencies: + - '@types/react' birecord@0.1.1: {} @@ -23494,27 +23398,6 @@ snapshots: transitivePeerDependencies: - supports-color - builder-util@25.1.7: - dependencies: - 7zip-bin: 5.2.0 - '@types/debug': 4.1.12 - app-builder-bin: 5.0.0-alpha.10 - bluebird-lst: 1.0.9 - builder-util-runtime: 9.2.10 - chalk: 4.1.2 - cross-spawn: 7.0.6 - debug: 4.4.0(supports-color@8.1.1) - fs-extra: 10.1.0 - http-proxy-agent: 7.0.2 - https-proxy-agent: 7.0.6 - is-ci: 3.0.1 - js-yaml: 4.1.0 - source-map-support: 0.5.21 - stat-mode: 1.0.0 - temp-file: 3.4.0 - transitivePeerDependencies: - - supports-color - builtin-modules@4.0.0: {} bundle-require@5.1.0(esbuild@0.25.1): @@ -23939,8 +23822,6 @@ snapshots: color-name: 1.1.4 simple-swizzle: 0.2.2 - color-support@1.1.3: {} - color@4.2.3: dependencies: color-convert: 2.0.1 @@ -24055,11 +23936,6 @@ snapshots: glob: 10.4.5 typescript: 5.8.2 - config-file-ts@0.2.8-rc1: - dependencies: - glob: 10.4.5 - typescript: 5.8.2 - connect@3.7.0: dependencies: debug: 2.6.9 @@ -24071,8 +23947,6 @@ snapshots: consola@3.4.0: {} - console-control-strings@1.1.0: {} - content-type@1.0.5: {} conventional-changelog-angular@8.0.0: @@ -24612,8 +24486,6 @@ snapshots: delayed-stream@1.0.0: {} - delegates@1.0.0: {} - depd@2.0.0: {} deprecation@2.3.1: {} @@ -24995,18 +24867,6 @@ snapshots: transitivePeerDependencies: - supports-color - electron-publish@25.1.7: - dependencies: - '@types/fs-extra': 9.0.13 - builder-util: 25.1.7 - builder-util-runtime: 9.2.10 - chalk: 4.1.2 - fs-extra: 10.1.0 - lazy-val: 1.0.5 - mime: 2.6.0 - transitivePeerDependencies: - - supports-color - electron-squirrel-startup@1.0.1: dependencies: debug: 2.6.9 @@ -27051,17 +26911,6 @@ snapshots: transitivePeerDependencies: - supports-color - gauge@4.0.4: - dependencies: - aproba: 2.0.0 - color-support: 1.1.3 - console-control-strings: 1.1.0 - has-unicode: 2.0.1 - signal-exit: 3.0.7 - string-width: 4.2.3 - strip-ansi: 6.0.1 - wide-align: 1.1.5 - gel@2.0.1: dependencies: '@petamoriken/float16': 3.9.2 @@ -27292,7 +27141,7 @@ snapshots: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 - fast-glob: 3.3.3 + fast-glob: 3.3.2 ignore: 5.3.0 merge2: 1.4.1 slash: 3.0.0 @@ -27368,8 +27217,6 @@ snapshots: dependencies: has-symbols: 1.1.0 - has-unicode@2.0.1: {} - hash-base@3.0.5: dependencies: inherits: 2.0.4 @@ -27657,13 +27504,6 @@ snapshots: transitivePeerDependencies: - supports-color - http-proxy-agent@7.0.2: - dependencies: - agent-base: 7.1.3 - debug: 4.4.0(supports-color@8.1.1) - transitivePeerDependencies: - - supports-color - http2-wrapper@1.0.3: dependencies: quick-lru: 5.1.1 @@ -30078,23 +29918,6 @@ snapshots: node-gyp-build@4.8.4: {} - node-gyp@9.4.1: - dependencies: - env-paths: 2.2.1 - exponential-backoff: 3.1.2 - glob: 7.2.3 - graceful-fs: 4.2.11 - make-fetch-happen: 10.2.1 - nopt: 6.0.0 - npmlog: 6.0.2 - rimraf: 3.0.2 - semver: 7.7.1 - tar: 6.2.1 - which: 2.0.2 - transitivePeerDependencies: - - bluebird - - supports-color - node-int64@0.4.0: {} node-machine-id@1.1.12: {} @@ -30163,13 +29986,6 @@ snapshots: dependencies: path-key: 4.0.0 - npmlog@6.0.2: - dependencies: - are-we-there-yet: 3.0.1 - console-control-strings: 1.1.0 - gauge: 4.0.4 - set-blocking: 2.0.0 - nth-check@2.1.1: dependencies: boolbase: 1.0.0 @@ -30571,8 +30387,6 @@ snapshots: safe-buffer: 5.2.1 sha.js: 2.4.11 - pe-library@0.4.1: {} - pe-library@1.0.1: {} peek-readable@4.1.0: {} @@ -30675,7 +30489,7 @@ snapshots: dependencies: find-up: 3.0.0 - plain-shiki@0.1.1(shiki@3.2.1): + plain-shiki@0.2.0(shiki@3.2.1): dependencies: shiki: 3.2.1 @@ -31314,7 +31128,7 @@ snapshots: minimist: 1.2.8 strip-json-comments: 2.0.1 - re-resizable@6.10.3(patch_hash=yitcmpfwcomg2fky72uc3lhk2i)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + re-resizable@6.11.2(patch_hash=yitcmpfwcomg2fky72uc3lhk2i)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -31702,18 +31516,18 @@ snapshots: optionalDependencies: react-dom: 18.3.1(react@18.3.1) - react-scan@0.1.3(react-dom@18.3.1(react@18.3.1))(react-router@7.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(rollup@4.35.0): + react-scan@0.2.14(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react-router@7.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(rollup@4.35.0): dependencies: '@babel/core': 7.26.10 '@babel/generator': 7.26.10 '@babel/types': 7.26.10 '@clack/core': 0.3.5 '@clack/prompts': 0.8.2 - '@pivanov/utils': 0.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@pivanov/utils': 0.0.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@preact/signals': 1.3.2(preact@10.26.4) '@rollup/pluginutils': 5.1.4(rollup@4.35.0) '@types/node': 20.17.24 - bippy: 0.2.7 + bippy: 0.3.8(@types/react@18.3.12)(react@18.3.1) esbuild: 0.24.2 estree-walker: 3.0.3 kleur: 4.1.5 @@ -31727,6 +31541,7 @@ snapshots: react-router: 7.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) unplugin: 2.1.0 transitivePeerDependencies: + - '@types/react' - rollup - supports-color @@ -32089,10 +31904,6 @@ snapshots: requires-port@1.0.0: {} - resedit@1.7.2: - dependencies: - pe-library: 0.4.1 - resedit@2.0.3: dependencies: pe-library: 1.0.1 @@ -33828,6 +33639,10 @@ snapshots: '@types/istanbul-lib-coverage': 2.0.6 convert-source-map: 2.0.0 + valibot@1.0.0-beta.15(typescript@5.8.2): + optionalDependencies: + typescript: 5.8.2 + validate-npm-package-license@3.0.4: dependencies: spdx-correct: 3.2.0 @@ -34172,10 +33987,6 @@ snapshots: siginfo: 2.0.0 stackback: 0.0.2 - wide-align@1.1.5: - dependencies: - string-width: 4.2.3 - widest-line@3.1.0: dependencies: string-width: 4.2.3