Skip to content

1.4.0

Compare
Choose a tag to compare
@Sebastix Sebastix released this 29 Aug 10:08
· 56 commits to main since this release

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