Documentation
    Preparing search index...

    Variable sessionRegistryConst

    sessionRegistry: {
        clear(): void;
        clearPendingUpdate(windowId: string): void;
        getAllEntries(): SessionEntry[];
        getEntry(pubkey: string): SessionEntry | undefined;
        getPendingUpdate(windowId: string): PendingUpdate | undefined;
        getPubkey(windowId: string): string | undefined;
        getWindowId(pubkey: string): string | undefined;
        isRegistered(windowId: string): boolean;
        register(windowId: string, entry: SessionEntry): void;
        setPendingUpdate(windowId: string, update: PendingUpdate): void;
        unregister(windowId: string): void;
    } = ...

    Bidirectional registry mapping windowIds to verified napplet pubkeys. Maintained by ShellBridge after successful AUTH handshakes.

    Type Declaration

    import { sessionRegistry } from '@kehto/shell';

    const pubkey = sessionRegistry.getPubkey('win-1');
    const entry = pubkey ? sessionRegistry.getEntry(pubkey) : undefined;