Remove all state entries for a napplet identity. Clears both new-format and legacy-format keys for completeness. Used during napplet cleanup when a window is closed.
The napplet's pubkey (needed for legacy key cleanup)
The napplet's dTag
The napplet's build hash
State storage backend
import { cleanupNappState } from '@kehto/runtime';cleanupNappState(pubkey, dTag, aggregateHash, statePersistence); Copy
import { cleanupNappState } from '@kehto/runtime';cleanupNappState(pubkey, dTag, aggregateHash, statePersistence);
Remove all state entries for a napplet identity. Clears both new-format and legacy-format keys for completeness. Used during napplet cleanup when a window is closed.