nostrphp on Nostr: Release 1.4.0 The library now provides separate relay response classes according to ...
Published at
2024-08-29 10:18:35Event JSON
{
"id": "562185195565a568617883a08adc6a0982fa06c793ca50d725b03684ecc9b576",
"pubkey": "0dc2dcb14d89f94b8a1590e178e9fbcb2ef1cb0be175a283842f9dc54787801a",
"created_at": 1724926715,
"kind": 1,
"tags": [
[
"p",
"e84a98625f2a858ff71bef5f39e7831d2503d09be677acb9e95f0e9d644b605b",
"",
"mention"
]
],
"content": "Release 1.4.0\nhttps://github.com/nostrver-se/nostr-php/releases/tag/1.4.0\n\nThe library now provides separate relay response classes according to NIP-01.\n\nEVENT - sends events requested by the client\nOK - indicate an acceptance or denial of an EVENT message\nEOSE - end of stored events\nCLOSED - subscription is ended on the server side\nNOTICE - used to send human-readable messages (like errors) to clients\n\nThis replaces the CommandResult class which had the response of a relay. Thanks nostr:npub1ap9fscjl92zclacmaa0nneurr5js85ymuem6ew0ftu8f6eztvpds8qchga for working out the initial codebase https://github.com/nostrver-se/nostr-php/pull/59",
"sig": "70a80fa7e8aa45ddfceea8b4b1c58d074788a3c1b3719e3c778f79eaff99e1cc6c00bef1884173948be7c795827e725826dbde6b76d47e069b14ca82da2a9d3b"
}