diff options
| author | Jon Staab <jstaab@protonmail.com> | 2023-04-11 04:25:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-11 04:25:03 -0500 |
| commit | 4d8d66d6513a4270dd5d775c139b8e94885426ca (patch) | |
| tree | 2499c6a1f6083e34fa315f6588c0124b2cecc868 | |
| parent | 9d1d701285b7f6051160e8cd6890f8fe5239be70 (diff) | |
| parent | 4b44453626dccd928952392fa8c6e7807b39a8ba (diff) | |
Merge pull request #432 from darashi/nip-01-fix-typo
Fix a typo; now types are EVENT, EOSE and NOTICE
| -rw-r--r-- | 01.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -86,7 +86,7 @@ The `limit` property of a filter is only valid for the initial query and can be | |||
| 86 | 86 | ||
| 87 | ### From relay to client: sending events and notices | 87 | ### From relay to client: sending events and notices |
| 88 | 88 | ||
| 89 | Relays can send 2 types of messages, which must also be JSON arrays, according to the following patterns: | 89 | Relays can send 3 types of messages, which must also be JSON arrays, according to the following patterns: |
| 90 | 90 | ||
| 91 | * `["EVENT", <subscription_id>, <event JSON as defined above>]`, used to send events requested by clients. | 91 | * `["EVENT", <subscription_id>, <event JSON as defined above>]`, used to send events requested by clients. |
| 92 | * `["EOSE", <subscription_id>]`, used to indicate the _end of stored events_ and the beginning of events newly received in real-time. | 92 | * `["EOSE", <subscription_id>]`, used to indicate the _end of stored events_ and the beginning of events newly received in real-time. |