import { createAuthClient } from 'better-auth/react';

export const authClient = createAuthClient({
  baseURL: `${window.location.origin}/api/auth`,
});

export const {
  signIn,
  signOut,
  signUp,
  useSession,
  updateUser,
  requestPasswordReset,
  resetPassword,
  sendVerificationEmail,
} = authClient;
