Merge pull request #432 from darashi/nip-01-fix-typo

Fix a typo; now types are EVENT, EOSE and NOTICE
This commit is contained in:
Jon Staab 2023-04-11 04:25:03 -05:00 committed by GitHub
commit 4d8d66d651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
01.md
View File

@ -86,7 +86,7 @@ The `limit` property of a filter is only valid for the initial query and can be
### From relay to client: sending events and notices ### From relay to client: sending events and notices
Relays can send 2 types of messages, which must also be JSON arrays, according to the following patterns: Relays can send 3 types of messages, which must also be JSON arrays, according to the following patterns:
* `["EVENT", <subscription_id>, <event JSON as defined above>]`, used to send events requested by clients. * `["EVENT", <subscription_id>, <event JSON as defined above>]`, used to send events requested by clients.
* `["EOSE", <subscription_id>]`, used to indicate the _end of stored events_ and the beginning of events newly received in real-time. * `["EOSE", <subscription_id>]`, used to indicate the _end of stored events_ and the beginning of events newly received in real-time.