nostr-websocket-utils v0.3.0
nostr-websocket-utils / validateEncryptedDM
validateEncryptedDM(message, logger): boolean
message
logger
boolean
Validates an encrypted DM event format
NostrWSMessage
Message to validate
Logger
Logger instance
True if message follows NIP-04 format
nips/nip-04.ts:92