fix(plugins): export siwe plugin (#3503)

* fix(plugins): export siwe plugin

* fix(plugins): export siweClient from client plugins

* fix(plugins): siwe plugin client types
This commit is contained in:
chunterb
2025-08-02 09:47:08 -07:00
committed by GitHub
parent 2d8d05330d
commit 85415ac768
2 changed files with 3 additions and 4 deletions
@@ -18,4 +18,5 @@ export * from "../../plugins/sso/client";
export * from "../../plugins/oidc-provider/client";
export * from "../../plugins/api-key/client";
export * from "../../plugins/one-time-token/client";
export * from "../../plugins/siwe/client";
export type * from "@simplewebauthn/server";
@@ -1,11 +1,9 @@
import type { BetterAuthClientPlugin } from "better-auth";
import type { siwe } from ".";
type SiwePlugin = typeof siwe;
import type { BetterAuthClientPlugin } from "../../types";
export const siweClient = () => {
return {
id: "siwe",
$InferServerPlugin: {} as ReturnType<SiwePlugin>,
$InferServerPlugin: {} as ReturnType<typeof siwe>,
} satisfies BetterAuthClientPlugin;
};