nostr-websocket-utils / EventDeletionManager
Event deletion manager interface
processDeletion(
message
):Promise
<string
[]>
Processes a deletion event
Deletion message
Promise
<string
[]>
Deleted event IDs
isDeleted(
eventId
):boolean
Checks if an event has been deleted
string
Event ID to check
boolean
True if event is deleted
getDeletionReason(
eventId
):undefined
|string
Gets deletion reason for an event
string
Event ID
undefined
| string
Deletion reason if available
getDeletedEvents():
Map
<string
,string
>
Gets all deleted events
Map
<string
, string
>
Map of event IDs to deletion reasons