better-auth
Version:
The most comprehensive authentication framework for TypeScript.
1 lines • 745 B
Source Map (JSON)
{"version":3,"file":"minimal.mjs","names":[],"sources":["../../src/auth/minimal.ts"],"sourcesContent":["import type { BetterAuthOptions } from \"@better-auth/core\";\nimport { initMinimal } from \"../context/init-minimal\";\nimport type { Auth } from \"../types\";\nimport { createBetterAuth } from \"./base\";\n\nexport type { BetterAuthOptions };\n\n/**\n * Better Auth initializer for minimal mode (without Kysely)\n */\nexport const betterAuth = <Options extends BetterAuthOptions>(\n\toptions: Options &\n\t\t// fixme(alex): do we need Record<never, never> here?\n\t\tRecord<never, never>,\n): Auth<Options> => {\n\treturn createBetterAuth(options, initMinimal);\n};\n"],"mappings":";;;;;;;AAUA,MAAa,cACZ,YAGmB;AACnB,QAAO,iBAAiB,SAAS,YAAY"}