github nostrver-se/nostr-php 1.4.0

latest releases: 1.5.0, 2.0.0-alpha1, 1.4.2...
2 months ago

What's Changed

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 @kriptonix for working out the initial codebase in #59.

Full Changelog: 1.3.3...1.4.0

Don't miss a new nostr-php release

NewReleases is sending notifications on new releases.