Documentation
    Preparing search index...

    Interface SessionEntry

    Registry entry mapping a napplet's windowId to its runtime metadata. Created after a successful identity establishment (AUTH handshake or NIP-5D origin registration).

    interface SessionEntry {
        aggregateHash: string;
        dTag: string;
        instanceId: string;
        origin: string;
        provenance: "nip-5d" | "legacy-auth";
        pubkey: string;
        registeredAt: number;
        type: string;
        windowId: string;
    }
    Index

    Properties

    aggregateHash: string
    dTag: string
    instanceId: string

    Persistent GUID for this iframe instance, assigned by the runtime. Survives page reloads.

    origin: string
    provenance: "nip-5d" | "legacy-auth"

    How session identity was established (RENAME-01, v1.8 Phase 42). 'nip-5d' = identity registered at iframe creation via originRegistry (canonical NIP-5D path). 'legacy-auth' = legacy AUTH handshake (pubkey is the derived keypair pubkey). Renamed from identitySource: 'auth' | 'source' in v1.8; see .changeset/v1-8-rename-01-session-provenance.md.

    pubkey: string

    NIP-5D: AUTH keypair no longer exists. Empty string for NIP-5D sessions. Kept for backward compatibility during legacy support period.

    registeredAt: number
    type: string
    windowId: string