UNPKG

ribbit-wallet-connect

Version:

Next-generation multi-chain wallet and payments app that makes crypto simple, secure, and usable in daily life.

12 lines (11 loc) 423 B
import { SessionData, DappMetadata } from './types'; export declare class SessionManager { private sessions; private currentSessionId; createSession(dapp: DappMetadata): SessionData; getSession(sessionId: string): SessionData | undefined; getCurrentSession(): SessionData | null; validateSession(sessionId: string): boolean; disconnect(sessionId: string): void; private generateSessionId; }