Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/docs/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default function Layout({ children }: { children: ReactNode }) {
<html lang="en" className={inter.className} suppressHydrationWarning>
<head>
<link rel="icon" href="/favicon/favicon.ico" sizes="any" />

</head>
<body className="flex flex-col min-h-screen overflow-hidden bg-background text-foreground antialiased">
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem>
Expand Down
9 changes: 6 additions & 3 deletions bun.lock
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
"vitest": "^2.1.8",
},
"peerDependencies": {
"better-auth": "^1.2.3",
"convex": "^1.17.4",
"typescript": "^5.7.2",
},
Expand Down Expand Up @@ -177,7 +176,7 @@
},
"packages/libraries/tests": {
"name": "@better-auth-kit/tests",
"version": "0.1.6",
"version": "0.2.0",
"dependencies": {
"better-auth": "^1.2.4",
"react": "^19.0.0",
Expand Down Expand Up @@ -230,7 +229,7 @@
},
"packages/plugins/legal-consent": {
"name": "@better-auth-kit/legal-consent",
"version": "1.1.0",
"version": "1.1.1",
"devDependencies": {
"@better-auth-kit/internal-build": "workspace:*",
"@better-auth-kit/tests": "workspace:*",
Expand Down Expand Up @@ -2314,6 +2313,8 @@

"@better-auth-kit/tests/vitest": ["vitest@3.1.3", "", { "dependencies": { "@vitest/expect": "3.1.3", "@vitest/mocker": "3.1.3", "@vitest/pretty-format": "^3.1.3", "@vitest/runner": "3.1.3", "@vitest/snapshot": "3.1.3", "@vitest/spy": "3.1.3", "@vitest/utils": "3.1.3", "chai": "^5.2.0", "debug": "^4.4.0", "expect-type": "^1.2.1", "magic-string": "^0.30.17", "pathe": "^2.0.3", "std-env": "^3.9.0", "tinybench": "^2.9.0", "tinyexec": "^0.3.2", "tinyglobby": "^0.2.13", "tinypool": "^1.0.2", "tinyrainbow": "^2.0.0", "vite": "^5.0.0 || ^6.0.0", "vite-node": "3.1.3", "why-is-node-running": "^2.3.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@types/debug": "^4.1.12", "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "@vitest/browser": "3.1.3", "@vitest/ui": "3.1.3", "happy-dom": "*", "jsdom": "*" }, "optionalPeers": ["@edge-runtime/vm", "@types/debug", "@types/node", "@vitest/browser", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "vitest.mjs" } }, "sha512-188iM4hAHQ0km23TN/adso1q5hhwKqUpv+Sd6p5sOuh6FhQnRNW3IsiIpvxqahtBabsJ2SLZgmGSpcYK4wQYJw=="],

"@better-auth-kit/waitlist/zod": ["zod@3.24.4", "", {}, "sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg=="],

"@changesets/apply-release-plan/fs-extra": ["fs-extra@7.0.1", "", { "dependencies": { "graceful-fs": "^4.1.2", "jsonfile": "^4.0.0", "universalify": "^0.1.0" } }, "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw=="],

"@changesets/apply-release-plan/prettier": ["prettier@2.8.8", "", { "bin": { "prettier": "bin-prettier.js" } }, "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q=="],
Expand Down Expand Up @@ -2438,6 +2439,8 @@

"docs/better-sqlite3": ["better-sqlite3@11.10.0", "", { "dependencies": { "bindings": "^1.5.0", "prebuild-install": "^7.1.1" } }, "sha512-EwhOpyXiOEL/lKzHz9AW1msWFNzGc/z+LzeB3/jnFJpxu+th2yqvzsSWas1v9jgs9+xiXJcD5A8CJxAG2TaghQ=="],

"docs/zod": ["zod@3.24.4", "", {}, "sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg=="],

"enquirer/strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],

"execa/signal-exit": ["signal-exit@3.0.7", "", {}, "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="],
Expand Down
18 changes: 9 additions & 9 deletions packages/adapters/convex/convex/_generated/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/

import type {
ApiFromModules,
FilterApi,
FunctionReference,
ApiFromModules,
FilterApi,
FunctionReference,
} from "convex/server";
import type * as betterAuth from "../betterAuth.js";
import type * as tests from "../tests.js";
Expand All @@ -25,14 +25,14 @@ import type * as tests from "../tests.js";
* ```
*/
declare const fullApi: ApiFromModules<{
betterAuth: typeof betterAuth;
tests: typeof tests;
betterAuth: typeof betterAuth;
tests: typeof tests;
}>;
export declare const api: FilterApi<
typeof fullApi,
FunctionReference<any, "public">
typeof fullApi,
FunctionReference<any, "public">
>;
export declare const internal: FilterApi<
typeof fullApi,
FunctionReference<any, "internal">
typeof fullApi,
FunctionReference<any, "internal">
>;
16 changes: 8 additions & 8 deletions packages/adapters/convex/convex/_generated/dataModel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
*/

import type {
DataModelFromSchemaDefinition,
DocumentByName,
TableNamesInDataModel,
SystemTableNames,
DataModelFromSchemaDefinition,
DocumentByName,
TableNamesInDataModel,
SystemTableNames,
} from "convex/server";
import type { GenericId } from "convex/values";
import type schema from "../schema.js";
import schema from "../schema.js";

/**
* The names of all of your Convex tables.
Expand All @@ -28,8 +28,8 @@ export type TableNames = TableNamesInDataModel<DataModel>;
* @typeParam TableName - A string literal type of the table name (like "users").
*/
export type Doc<TableName extends TableNames> = DocumentByName<
DataModel,
TableName
DataModel,
TableName
>;

/**
Expand All @@ -46,7 +46,7 @@ export type Doc<TableName extends TableNames> = DocumentByName<
* @typeParam TableName - A string literal type of the table name (like "users").
*/
export type Id<TableName extends TableNames | SystemTableNames> =
GenericId<TableName>;
GenericId<TableName>;

/**
* A type describing your Convex data model.
Expand Down
20 changes: 10 additions & 10 deletions packages/adapters/convex/convex/_generated/server.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
* @module
*/

import type {
ActionBuilder,
HttpActionBuilder,
MutationBuilder,
QueryBuilder,
GenericActionCtx,
GenericMutationCtx,
GenericQueryCtx,
GenericDatabaseReader,
GenericDatabaseWriter,
import {
ActionBuilder,
HttpActionBuilder,
MutationBuilder,
QueryBuilder,
GenericActionCtx,
GenericMutationCtx,
GenericQueryCtx,
GenericDatabaseReader,
GenericDatabaseWriter,
} from "convex/server";
import type { DataModel } from "./dataModel.js";

Expand Down
14 changes: 7 additions & 7 deletions packages/adapters/convex/convex/_generated/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
*/

import {
actionGeneric,
httpActionGeneric,
queryGeneric,
mutationGeneric,
internalActionGeneric,
internalMutationGeneric,
internalQueryGeneric,
actionGeneric,
httpActionGeneric,
queryGeneric,
mutationGeneric,
internalActionGeneric,
internalMutationGeneric,
internalQueryGeneric,
} from "convex/server";

/**
Expand Down
1 change: 0 additions & 1 deletion packages/adapters/convex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"@better-auth-kit/internal-build": "workspace:*"
},
"peerDependencies": {
"better-auth": "^1.2.3",
"convex": "^1.17.4",
"typescript": "^5.7.2"
},
Expand Down
Loading
Loading