Clear all registrations and pending updates.
Clear a pending update for a window.
Get all registered napplet entries.
Get the full entry for a napplet by windowId directly. NIP-5D: Required for sessions where pubkey is '' (identity established via originRegistry). Unlike getEntry(pubkey), this works when pubkey is empty.
Get the instance GUID for a window.
Get the pubkey associated with a windowId.
Get the windowId for a napplet pubkey.
Resolve an unambiguous live napplet dTag to its internal window ID.
A duplicate dTag fails closed rather than selecting an arbitrary session.
Window IDs and pubkeys remain internal transport identities and never
resolve through this lookup.
This is a host-side principal lookup only. It is not NAP-INC addressing:
INC targets are endpoint identifiers (Runtime.getIncEndpointId).
Runtime-attested napplet dTag
The sole owning window ID, or undefined when missing or ambiguous
Check if a windowId has a registered napplet.
Establish a fresh host-attested lifecycle, mapping windowId to pubkey and vice versa.
Set a pending update for a window (napplet reconnected with different hash).
Remove a window and its owned mappings, including empty-pubkey sessions.
Bidirectional registry mapping windowIds to verified napplet pubkeys. Maintained by the runtime after successful AUTH handshakes.
Example