nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / NostrWSValidationResult

Interface: NostrWSValidationResult

Result of validating a NostrWSMessage

Properties

isValid

isValid: boolean

Whether the message is valid

Defined in

types/messages.ts:141


error?

optional error: string

Error message if validation failed

Defined in

types/messages.ts:146