mirror of
https://github.com/jakejarvis/stanza.git
synced 2026-10-16 06:15:43 -04:00
- split better-auth drizzle adapters into separate postgres/sqlite variants with a dedicated sqlite schema template - simplify auth-client templates to use `createAuthClient()` without an explicit baseURL - export `Node` type and `SyntaxKind` enum from the codemods package - add codemod for the auth-clerk module
7 lines
285 B
TypeScript
7 lines
285 B
TypeScript
import { createAuthClient } from "better-auth/react";
|
|
|
|
// Defaults to the current origin. For cross-origin auth (e.g. a separate
|
|
// API host), pass `baseURL: "https://your-domain.com"` here.
|
|
// https://better-auth.com/docs/concepts/client
|
|
export const authClient = createAuthClient();
|