nostr-websocket-utils v0.3.0
nostr-websocket-utils / NostrWSValidationResult
Result of validating a NostrWSMessage
isValid: boolean
boolean
Whether the message is valid
types/messages.ts:141
optional error: string
optional
string
Error message if validation failed
types/messages.ts:146