- Add optional keep subscription flag for request events method
- Add
d
field toRequestFilter
- make
requestEvents
returnStream<RelayMessage>
instead ofStream<EventMessage>
- expose
ClosedMessage
- stop sending
CloseMessage
as a response toClosedMessage
- close
relay.subscriptionsCountStreamController
on relay close
- Add
relay.subscriptionsCountStream
getter
- Add
EventSigner.privateKey
getter
- Breaking:
EventMessage.sig
is not optional - Add
EventMessage.fromPayloadJson
factory constructor
- Breaking:
EventSigner.sign
now returnsFutureOr<String>
instead ofString
- Add
q
field toRequestFilter
- Add
k
field toRequestFilter
- Breaking:
requestEvents
now returnsStream<EventMessage>
instead ofFuture<List<EventMessage>>
- Update dependencies
- Make
SignatureVerifier.verify
method async - Transform socket messages async way (asyncMap)
- Introduced the
NostrDart.configure
method, allowing users to pass a customSignatureVerifier
. - Added a
search
field to theRequestFilter
for enhanced filtering capabilities. - Implemented the
relay.sendEvents
method, enabling the bulk sending of multiple events.
- Initial version.