import { DefaultError, MutationOptions } from "@tanstack/react-query" import { useAuthenticateWithWallet } from "./useAuthenticateWithWallet" import type { Session } from "../api" function useSignUpWithWallet( mutationOptions: Omit< MutationOptions, "mutationFn" | "mutationKey" > = {}, ) { const { authenticateWithWallet, authenticateWithWalletAsync, ...rest } = useAuthenticateWithWallet(true, mutationOptions) return { signUpWithWallet: authenticateWithWallet, signUpWithWalletAsync: authenticateWithWalletAsync, ...rest, } } export { useSignUpWithWallet }