nostr-websocket-utils / MESSAGE_TYPES
constMESSAGE_TYPES:object
Message types as defined in NIP-01 and other NIPs
readonlyEVENT:"EVENT"='EVENT'
readonlyREQ:"REQ"='REQ'
readonlyCLOSE:"CLOSE"='CLOSE'
readonlyNOTICE:"NOTICE"='NOTICE'
readonlyEOSE:"EOSE"='EOSE'
readonlyOK:"OK"='OK'
readonlyAUTH:"AUTH"='AUTH'
readonlyCOUNT:"COUNT"='COUNT'
readonlyPING:"PING"='PING'
readonlyPONG:"PONG"='PONG'
readonlyERROR:"error"='error'