diff options
| author | Vitor Pamplona <vitor@vitorpamplona.com> | 2024-01-05 10:43:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-05 10:43:45 -0500 |
| commit | 3e05545952742e3fc28b7af7fc84682587df0be1 (patch) | |
| tree | 6a69d96df9b23433fcd042ffdc0324e750d5d3e4 | |
| parent | 27fef638e2460139cc9078427a0aec0ce4470517 (diff) | |
| parent | 8bfcbebae4d423cbf7b1b0c24ff4d1ad3964dca1 (diff) | |
Merge pull request #967 from GoodDaisy/master
Fix typos in 01.md and 50.md
| -rw-r--r-- | 01.md | 2 | ||||
| -rw-r--r-- | 50.md | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -116,7 +116,7 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th | |||
| 116 | * `["REQ", <subscription_id>, <filters1>, <filters2>, ...]`, used to request events and subscribe to new updates. | 116 | * `["REQ", <subscription_id>, <filters1>, <filters2>, ...]`, used to request events and subscribe to new updates. |
| 117 | * `["CLOSE", <subscription_id>]`, used to stop previous subscriptions. | 117 | * `["CLOSE", <subscription_id>]`, used to stop previous subscriptions. |
| 118 | 118 | ||
| 119 | `<subscription_id>` is an arbitrary, non-empty string of max length 64 chars. It represents a subscription per connection. Relays MUST manage `<subscription_id>`s independently for each WebSocket connection. `<subscription_id>`s are not guarantueed to be globally unique. | 119 | `<subscription_id>` is an arbitrary, non-empty string of max length 64 chars. It represents a subscription per connection. Relays MUST manage `<subscription_id>`s independently for each WebSocket connection. `<subscription_id>`s are not guaranteed to be globally unique. |
| 120 | 120 | ||
| 121 | `<filtersX>` is a JSON object that determines what events will be sent in that subscription, it can have the following attributes: | 121 | `<filtersX>` is a JSON object that determines what events will be sent in that subscription, it can have the following attributes: |
| 122 | 122 | ||
| @@ -41,7 +41,7 @@ implementation details between relays. | |||
| 41 | Clients MAY verify that events returned by a relay match the specified query in a way that suits the | 41 | Clients MAY verify that events returned by a relay match the specified query in a way that suits the |
| 42 | client's use case, and MAY stop querying relays that have low precision. | 42 | client's use case, and MAY stop querying relays that have low precision. |
| 43 | 43 | ||
| 44 | Relays SHOULD exclude spam from search results by default if they supports some form of spam filtering. | 44 | Relays SHOULD exclude spam from search results by default if they support some form of spam filtering. |
| 45 | 45 | ||
| 46 | ## Extensions | 46 | ## Extensions |
| 47 | 47 | ||