UNPKG

better-auth

Version:

The most comprehensive authentication framework for TypeScript.

1 lines 527 B
{"version":3,"file":"client.mjs","names":[],"sources":["../../../src/plugins/custom-session/client.ts"],"sourcesContent":["import type { Auth } from \"better-auth\";\nimport { InferServerPlugin } from \"../../client/plugins\";\nimport type { BetterAuthOptions } from \"../../types\";\n\nexport const customSessionClient = <\n\tA extends\n\t\t| Auth\n\t\t| {\n\t\t\t\toptions: BetterAuthOptions;\n\t\t },\n>() => {\n\treturn InferServerPlugin<A, \"custom-session\">();\n};\n"],"mappings":";;;;AAIA,MAAa,4BAMN;AACN,QAAO,mBAAwC"}