nostr-websocket-utils / NIP05VerificationCache
NIP-05 verification cache interface
get(
identifier,pubkey):undefined|NIP05VerificationResult
Gets cached verification result
string
Internet identifier
string
Public key
undefined | NIP05VerificationResult
Cached result
set(
identifier,pubkey,result,ttl):void
Sets verification result in cache
string
Internet identifier
string
Public key
Verification result
number
Time to live in seconds
void
cleanup():
void
Clears expired entries
void