Commit Graph
41 Commits
Author SHA1 Message Date
Jesper L. NielsenandGitHub 9e0be8467d Update 01.md
Spelling
2023-07-26 15:59:57 +02:00
Asai Toshiyaandfiatjaf_ b503f8a92b Clarify sort order when specified limit 2023-07-21 10:33:05 -03:00
jiftechnifyandfiatjaf_ d1814405be add detailed description of since/until 2023-07-14 12:45:46 -03:00
Yoji Shidaraandfiatjaf_ 0b08cf545b Explicitly state that the subscription_id is treated per connection 2023-07-13 07:08:26 -03:00
jiftechnifyandfiatjaf_ 52edccbbe3 standardize the terminology 2023-07-09 07:17:08 -03:00
jiftechnifyandfiatjaf_ 3a32c0fd78 clarify case-sensitiveness of tag names 2023-07-09 07:17:08 -03:00
tcheericandfiatjaf_ 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
fiatjaf 36e9fd59e9 add note about websocket status code 4000.
nip-01 may need some love.
2023-06-17 15:50:16 -03:00
Memory-of-Snowandfiatjaf_ 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 Toshiyaandfiatjaf_ 2e842b496a Add description for clients to kind 1 2023-06-10 07:18:28 -03:00
fiatjaf d435ffc39c clarify kind:1 plaintextness. 2023-06-09 14:13:42 -03:00
Asai Toshiyaandfiatjaf_ 3a38583c06 Fix link to NIP-10 2023-05-31 08:43:26 -03:00
Robert C. MartinandGitHub 60aa6ae168 A few changes to some nips. (#510) 2023-05-09 12:17:15 -03:00
fiatjaf 89a7aa0ea0 nip01: remove misleading markdown example. 2023-05-08 11:05:58 -03:00
Josua Schmidandfiatjaf_ ee018ef8a4 Rephrase Markdown special rule 2023-05-08 11:04:34 -03:00
michaelhall923andfiatjaf_ 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
fiatjaf fb5b7c739f merge NIP-15 into NIP-01. 2023-04-09 08:50:24 -03:00
Sepehr Safariandfiatjaf_ dbbf7902d9 remove tiny duplicate text
fixed "the the serialized event data" => "the serialized event data"
2023-03-16 20:54:00 -03:00
Semisolandfiatjaf_ b24eb78e04 Revert 'add NOTICE optional subscription_id'
Reverts 88009bea85
2023-03-16 17:21:57 -03:00
pablof7zandfiatjaf_ 88009bea85 add NOTICE optional subscription_id 2023-03-16 13:46:08 -03:00
Josua Schmidandfiatjaf_ 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'Bankandfiatjaf_ 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
fiatjaf 379252f992 explicitly prohibit markdown on kind:1. 2023-02-25 13:54:27 -03:00
Jimmy Songandfiatjaf a9dd1ce771 Added clarification for signature to be in hex 2023-02-08 16:39:31 -03:00
Ben Franksandfiatjaf 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
fiatjaf 69685588f0 specify lowercase on nip01 event hex fields. 2023-01-21 07:36:44 -03:00
sgmooreandfiatjaf cee42f806e Minor grammar fixes
Minor grammar fix at line 13, 83, 85. and 111.
2022-12-26 17:19:38 -03:00
Hampus Sjöbergandfiatjaf e79c84aecc LUD-01: fix typo for the desc of event kind 2 2022-12-24 20:38:34 -03:00
Jon Staabandfiatjaf 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 Staabandfiatjaf 67c021ae97 Clarify use of kind 1 and kind 1000-10000 2022-12-08 14:33:43 -03:00
fiatjaf 5d292e0cbe nip-01: improve connection/subscriptions recommendation and remove the ill-advised 3 subscriptions limit. 2022-12-02 19:54:00 -03:00
Mike Dilgerandfiatjaf c274c65856 Reword NIP-01 to clarify no line breaks. Existing language of "indentation" implies line breaks. 2022-11-15 17:36:13 -03:00
w3irdrobotandfiatjaf 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
DZandWilliam Casarin 6d86133118 Update 01.md
fix indentation
2022-10-26 09:54:23 -07:00
DZandfiatjaf c8a95a0968 Update 01.md
fix typo
2022-10-07 17:17:34 -03:00
emeceveandfiatjaf 5980907797 Fix some typos and adds json type to code blocks 2022-06-21 08:07:05 -03:00
fiatjaf 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. Martinandfiatjaf f367d820d4 update to nip01 to specify syntax for usernames. 2022-06-05 23:02:59 -03:00
fiatjaf 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