What is Nostr?
nostrphp / Nostr-PHP
npub1php…ha0j
2024-08-29 10:18:35

nostrphp on Nostr: Release 1.4.0 https://github.com/nostrver-se/nostr-php/releases/tag/1.4.0 The library ...

Release 1.4.0
https://github.com/nostrver-se/nostr-php/releases/tag/1.4.0

The library now provides separate relay response classes according to NIP-01.

EVENT - sends events requested by the client
OK - indicate an acceptance or denial of an EVENT message
EOSE - end of stored events
CLOSED - subscription is ended on the server side
NOTICE - used to send human-readable messages (like errors) to clients

This replaces the CommandResult class which had the response of a relay. Thanks plebeian (npub1ap9…chga) for working out the initial codebase https://github.com/nostrver-se/nostr-php/pull/59
Author Public Key
npub1phpdev2d38u5hzs4jrsh360mevh0rjctu9669quy97wu23u8sqdqpfha0j