Commit Graph

91 Commits

Author SHA1 Message Date
Vitor Pamplona
fe9792be76 Clarify the unmodifiable nature of the dtag and its uniqueness needs. 2024-01-11 08:57:42 -05:00
Vitor Pamplona
a4d656a5a2 declaring types in the relay protocol messages 2024-01-04 11:26:50 -05:00
Vitor Pamplona
7b6a2063f3 better describes the created at order. 2024-01-04 11:09:51 -05:00
Vitor Pamplona
97fc0fb081 renames property to attribute for consistency 2024-01-04 11:07:46 -05:00
Vitor Pamplona
5d06af8af5
Update 01.md
Improves type definitions in each json
2024-01-04 10:59:22 -05:00
Vitor Pamplona
b36336b937 Typos 2024-01-04 10:15:49 -05:00
Vitor Pamplona
3a06859967 formatting 2024-01-04 08:43:31 -05:00
Vitor Pamplona
479561cb79 Additional adjustments and further breaking down the text into paragraphs. 2024-01-04 08:31:01 -05:00
Vitor Pamplona
9bbf50551e Adds description about the replaceable format. 2024-01-03 14:50:25 -05:00
Vitor Pamplona
2f8da3a5c7 Better defining kind:0 2024-01-03 14:41:11 -05:00
Vitor Pamplona
c4daa69498 Moves the kind 1 definition to NIP-10 2024-01-03 14:37:29 -05:00
Vitor Pamplona
e1b9ffdd09 Improving the d-Tag needs and prefixes in messages. 2024-01-03 14:21:16 -05:00
Vitor Pamplona
f69e5b241c Adds better explanation for limit 2024-01-03 14:02:59 -05:00
Vitor Pamplona
6feac3ef8c Improves singing and verification procedures. 2024-01-03 13:54:10 -05:00
Vitor Pamplona
f2e016fadd adjustments 2024-01-03 13:35:24 -05:00
Vitor Pamplona
2b6edc0f71 adjustments 2024-01-03 13:19:19 -05:00
Vitor Pamplona
c4f3164b4e fixes the definition 2024-01-03 13:17:25 -05:00
Vitor Pamplona
b6ddf591a5 typos 2024-01-03 13:16:50 -05:00
Vitor Pamplona
99201a0089 Removing ] 2024-01-03 12:26:14 -05:00
Vitor Pamplona
8dfb59c70a opening some space. 2024-01-03 12:21:46 -05:00
Vitor Pamplona
3fa03a1aea Formatting change 2024-01-03 12:17:42 -05:00
Vitor Pamplona
f0d0fb4640 consistency 2024-01-03 12:12:53 -05:00
Vitor Pamplona
6231cbc063 improves naming and formats 2024-01-03 12:12:20 -05:00
Vitor Pamplona
2c0b534ee1 Typos 2024-01-03 12:06:12 -05:00
Vitor Pamplona
c4cc963abc header formats 2024-01-03 11:51:02 -05:00
Vitor Pamplona
5e437f0350 Formatting 2024-01-03 11:37:57 -05:00
Vitor Pamplona
8f739d0b16 Improve formatting 2024-01-03 11:31:14 -05:00
Vitor Pamplona
0c37bd1738 Rewriting NIP-01 2024-01-03 11:23:53 -05:00
fiatjaf_
000c51ef44
Merge pull request #635 from nostr-protocol/clarify-json-serialization
Clarify JSON serialization for the `id` field
2023-12-29 18:15:21 -03:00
Josua Schmid
8e5a275f99 NIP-01 Tighten-up subscription_id management rule
Rephrase to "MUST" so that one does not assume a connection could `CLOSE` any `subscription_id`, which it must not.
2023-12-26 20:02:34 -03:00
Josua Schmid
3b065c3c04
Reword REQ for multiple filters 2023-12-26 20:54:06 +01:00
Josua Schmid
d30f03316f
Emphasis on multiple filters in NIP-01
As mentioned further down in NIP-01

> A REQ message may contain multiple filters.

The comma makes it more clear that the message array can container more than 3 items. So it is understood easily to match

```
// correct:
["REQ", <subscription_id>, filters1, filters2, …]
```

instead of 

```
// wrong:
["REQ", <subscription_id>, [filters1, filters2, …]]
```
2023-12-22 14:54:17 +01:00
fiatjaf_
2bd4bf7841
CLOSED messages for relays that want to reject REQs and NIP-42 AUTH integration (#902)
Co-authored-by: monlovesmango <96307647+monlovesmango@users.noreply.github.com>
2023-12-06 12:01:27 -03:00
fiatjaf
0ba4589550
remove websocket status code meaning as it is replaced by the CLOSED message. 2023-12-02 15:05:59 -03:00
Semisol
da19c078ab
Merge branch 'master' into clarify-json-serialization 2023-11-19 01:45:41 +01:00
Semisol
4d709d1804
add form feed and backspace 2023-11-17 18:12:47 +03:00
fiatjaf
37f6cbb775 remove all NIP authors. 2023-11-16 10:24:53 -03:00
fiatjaf
108b7f16f9
clarify that the OK array must have 4 items. 2023-11-06 13:18:11 -03:00
fiatjaf
b14b9d2120
nip-01: clarify that whitespace is allowed inside the strings.
closes https://github.com/nostr-protocol/nips/pull/861
2023-11-02 19:46:37 -03:00
fiatjaf
b33409c099 make it clear that relays can keep multiple replaceable event versions. 2023-09-29 16:49:55 -03:00
Semisol
ea8fa91c80
clarify parameterized replaceable events 2023-09-04 14:25:04 +03:00
Semisol
c7191fc2f5
fix inconsistency 2023-09-02 14:34:39 +03:00
jiftechnify
e50bf508d9
add a-tag format for non-parameterized replaceable events 2023-08-29 23:54:09 +09:00
Yasuhiro Matsumoto
d1d438bf14
fix typo 2023-08-29 00:45:45 +09:00
Viktor Vsk
c5a8b75abd
Consistency and small refinements for NIP-01 (#731) 2023-08-19 23:04:55 -03:00
fiatjaf
37c4375e29 bring back 9cac35db9b
fixes https://github.com/nostr-protocol/nips/issues/732
2023-08-19 23:03:23 -03:00
fiatjaf_
72bb8a128b
merge nips 12, 16, 20 and 33 into nip 01 (#703)
Co-authored-by: Viktor Vsk <me@viktorvsk.com>
2023-08-13 13:47:45 -03:00
Jesper L. Nielsen
9e0be8467d
Update 01.md
Spelling
2023-07-26 15:59:57 +02:00
Asai Toshiya
b503f8a92b Clarify sort order when specified limit 2023-07-21 10:33:05 -03:00
jiftechnify
d1814405be add detailed description of since/until 2023-07-14 12:45:46 -03:00