nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / validateParameterizedEvent

Function: validateParameterizedEvent()

validateParameterizedEvent(message, _logger): boolean

Validates a parameterized replaceable event

Parameters

message

NostrWSMessage

Message to validate

_logger

Logger

Logger instance

Returns

boolean

True if valid

Defined in

nips/nip-33.ts:56