diff --git a/.changeset/spicy-dodos-attend.md b/.changeset/spicy-dodos-attend.md new file mode 100644 index 000000000..8fd3a8c1e --- /dev/null +++ b/.changeset/spicy-dodos-attend.md @@ -0,0 +1,5 @@ +--- +"@crossmint/client-sdk-react-ui": minor +--- + +Breaking Change: Renamed showWalletModals to showPasskeyHelpers diff --git a/packages/client/ui/react-ui/src/providers/CrossmintAuthProvider.tsx b/packages/client/ui/react-ui/src/providers/CrossmintAuthProvider.tsx index 560a8437a..ba1a89119 100644 --- a/packages/client/ui/react-ui/src/providers/CrossmintAuthProvider.tsx +++ b/packages/client/ui/react-ui/src/providers/CrossmintAuthProvider.tsx @@ -20,7 +20,7 @@ export type CrossmintAuthWalletConfig = { defaultChain: EVMSmartWalletChain; createOnLogin: "all-users" | "off"; type: "evm-smart-wallet"; - showWalletModals?: boolean; + showPasskeyHelpers?: boolean; }; export type LoginMethod = "email" | "google" | "farcaster"; @@ -153,7 +153,7 @@ export function CrossmintAuthProvider({ > { - if (showWalletModals && (config.signer as PasskeySigner).type === "PASSKEY") { + if (showPasskeyHelpers && (config.signer as PasskeySigner).type === "PASSKEY") { return { ...config, signer: {