Commit Graph

49 Commits

Author SHA1 Message Date
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
37c4375e29 bring back 9cac35db9b
fixes https://github.com/nostr-protocol/nips/issues/732
2023-08-19 23:03:23 -03:00
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
Yoji Shidara
0b08cf545b Explicitly state that the subscription_id is treated per connection 2023-07-13 07:08:26 -03:00
jiftechnify
52edccbbe3 standardize the terminology 2023-07-09 07:17:08 -03:00
jiftechnify
3a32c0fd78 clarify case-sensitiveness of tag names 2023-07-09 07:17:08 -03:00
tcheeric
e0fc913719 For clarification, the time unit for all date attributes in the filters (since, until) are in seconds 2023-07-02 08:41:03 -03:00
36e9fd59e9 add note about websocket status code 4000.
nip-01 may need some love.
2023-06-17 15:50:16 -03:00
Memory-of-Snow
2b34e9f417 Add a ',' between the 'id' and 'pubkey' elements in the JSON event in 01.md. 2023-06-12 08:16:59 -03:00
Asai Toshiya
2e842b496a Add description for clients to kind 1 2023-06-10 07:18:28 -03:00
d435ffc39c clarify kind:1 plaintextness. 2023-06-09 14:13:42 -03:00
Asai Toshiya
3a38583c06 Fix link to NIP-10 2023-05-31 08:43:26 -03:00
Robert C. Martin
60aa6ae168
A few changes to some nips. (#510) 2023-05-09 12:17:15 -03:00
89a7aa0ea0 nip01: remove misleading markdown example. 2023-05-08 11:05:58 -03:00
Josua Schmid
ee018ef8a4 Rephrase Markdown special rule 2023-05-08 11:04:34 -03:00
michaelhall923
c5f43a8f90 Update 01.md
Info on "e" and "p" tags is kind of hard to find so I added a link to it in the place that I intuitively looked for it.
2023-04-21 10:17:36 -03:00
Yoji Shidara
4b44453626 Fix a typo; now types are EVENT, EOSE and NOTICE 2023-04-11 13:50:10 +09:00
fb5b7c739f merge NIP-15 into NIP-01. 2023-04-09 08:50:24 -03:00
dbbf7902d9 remove tiny duplicate text
fixed "the the serialized event data" => "the serialized event data"
2023-03-16 20:54:00 -03:00
Semisol
b24eb78e04 Revert 'add NOTICE optional subscription_id'
Reverts 88009bea85
2023-03-16 17:21:57 -03:00
pablof7z
88009bea85 add NOTICE optional subscription_id 2023-03-16 13:46:08 -03:00
Josua Schmid
c74f11b7a9 Update NIP-01 to clarify pubkey reference
We mean to reference any public key. "the key" was a bit unspecific.
2023-03-03 18:59:37 -03:00
Mike O'Bank
5a80a906d4 Improve <subscription_id> specification
- "random" is not an accurate description
- I've noticed long (sha256 hashes in hex) being rejected by some relays. So there seems a need to specify a max length.
- "non empty", cause an empty string could be interpreted as `null` 

To be decided:
- Max length number
- Are `subscription_id`s case sensitive?
- Will `subscription_id`s be white space trimmed?
2023-02-25 15:55:28 -03:00
379252f992 explicitly prohibit markdown on kind:1. 2023-02-25 13:54:27 -03:00
Jimmy Song
a9dd1ce771 Added clarification for signature to be in hex 2023-02-08 16:39:31 -03:00
Ben Franks
8362ff8f79 Update NIP-01 to clarify since and until filters
The since and until filters does not clarify integer format and some relays fail to recognize filters with a float based timestamp.
2023-01-25 14:21:52 -03:00
69685588f0
specify lowercase on nip01 event hex fields. 2023-01-21 07:36:44 -03:00
sgmoore
cee42f806e Minor grammar fixes
Minor grammar fix at line 13, 83, 85. and 111.
2022-12-26 17:19:38 -03:00
Hampus Sjöberg
e79c84aecc LUD-01: fix typo for the desc of event kind 2 2022-12-24 20:38:34 -03:00
Jon Staab
5ef3b9c998 Remove username pattern requirements
Most implementation ignore this line. Enforcing that usernames not include spaces, special chracters, unicode, emojis, etc has no benefit and is unnecessarily user hostile.
2022-12-15 14:00:09 -03:00
Jonathan Staab
67c021ae97 Clarify use of kind 1 and kind 1000-10000 2022-12-08 14:33:43 -03:00
5d292e0cbe
nip-01: improve connection/subscriptions recommendation and remove the ill-advised 3 subscriptions limit. 2022-12-02 19:54:00 -03:00
Mike Dilger
c274c65856 Reword NIP-01 to clarify no line breaks. Existing language of "indentation" implies line breaks. 2022-11-15 17:36:13 -03:00
w3irdrobot
79bb56c2f4 Fix regex for SetMetadata in NIP1
It appears the regex given in NIP1 for setting the username in the setmetadata event was slightly off. I think the fix here is what was intended. Though I think what was meant here was pretty obvious, to make it easier on future developers, I updated the regex to something that should work with just copying and pasting.
2022-11-04 16:33:57 -03:00
DZ
6d86133118 Update 01.md
fix indentation
2022-10-26 09:54:23 -07:00
DZ
c8a95a0968 Update 01.md
fix typo
2022-10-07 17:17:34 -03:00
emeceve
5980907797 Fix some typos and adds json type to code blocks 2022-06-21 08:07:05 -03:00
4d19ef128e update nip-02 to disallow null, only allow strings in tags.
fixes https://github.com/nostr-protocol/nips/pull/15
fixes https://github.com/fiatjaf/nostr-army-knife/issues/2
fixes https://github.com/fiatjaf/relayer/issues/3
2022-06-09 15:40:13 -03:00
Robert C. Martin
f367d820d4 update to nip01 to specify syntax for usernames. 2022-06-05 23:02:59 -03:00
a4aea5337f sneak filter.limit in nip-01. 2022-05-08 21:34:27 -03:00
fiatjaf
f25c7e672c migrate nips from main nostr repo. 2022-05-01 07:48:57 -03:00