Change relay field to array

This commit is contained in:
arthurfranca 2023-07-18 18:18:53 -03:00
parent f9d47f83ec
commit f0fa515df8

2
17.md
View File

@ -35,7 +35,7 @@ New fields may be added to this NIP later.
} }
"followers": 500, // sent with kind 0 "followers": 500, // sent with kind 0
"language": "en", // ISO 639-1 code of detected event.content language "language": "en", // ISO 639-1 code of detected event.content language
"relay": "wss://relay.url", // event found originally on this relay "relays": ["wss://relay.url"], // event found originally on these relays
"replies": 10, // direct descendant kind 1 reply count "replies": 10, // direct descendant kind 1 reply count
"reposts": 20, // NIP-18 repost count "reposts": 20, // NIP-18 repost count
"views": 900, // request count from different IPs, device ids or pubkeys "views": 900, // request count from different IPs, device ids or pubkeys