import { apiKeyClient } from "@better-auth/api-key/client"; import type { BetterAuthClientPlugin } from "better-auth"; import { jwtClient } from "better-auth/client/plugins"; import { createAuthClient } from "better-auth/vue"; export const authClient = createAuthClient({ // TODO: remove 'as BetterAuthClientPlugin' workaround plugins: [apiKeyClient(), jwtClient() as BetterAuthClientPlugin], });