@radish-la/world-auth
Version:
Extending World Auth SDK for React
13 lines (10 loc) • 362 B
TypeScript
import { W as WalletSession } from './types.d-BUdjzSVV.js';
import '@worldcoin/minikit-js';
/**
* Validates a session by verifying the SIWE message and nonce.
* @param session - The session object containing the payload and nonce.
*/
declare const validateSession: (session: WalletSession) => Promise<{
isValid: boolean;
}>;
export { validateSession };