nostr-websocket-utils v0.3.0
nostr-websocket-utils / validateEventTreatment
validateEventTreatment(message, logger): boolean
message
logger
boolean
Validates event treatment rules
NostrWSMessage
Message to validate
Logger
Logger instance
True if event follows treatment rules
nips/nip-16.ts:73