nostr_dart 0.4.1 nostr_dart: ^0.4.1 copied to clipboard
A Nostr protocol client API for building censorship-resistant social network applications in Dart/Flutter.
0.1.0 #
- Initial version.
0.1.1 #
- Fixed package import documentation.
0.2.0 #
- Added support for NIP-02: Contact List and Petnames.
0.3.0 #
- Reworked
Contact
&Nostr
class constructors to make instantiating these classes more terse. - Added a method to publish arbitrary events [Nostr.sendEvent].
0.4.0 #
- Refactored relay management and subscription requests into a RelayPool class. This changes the interfaces for adding/removing relays and subscribing/unsubscribing to events.
Nostr.pool.add
only sends existing subscriptions to a newly added relay if itsautoSubscribe
parameter istrue
.Nostr.pool.add
allows read/write attributes to be configured for relays with itsaccess
parameter.- Received events are now accessed via a listener callback provided to
Nostr.pool.subscribe
. This allows different subscriptions to route events to different event listeners. Nostr.sendTextNote
,Nostr.sendMetaData
,Nostr.recommendServer
,Nostr.sendContactList
,Nostr.pool.subscribe
, are no longer asynchronous operations.nostr_dart
now maintains an asynchronous job queue for each connected relay to sequence relay communications.
0.4.1 #
- Fixed incorrectly formatted subscription requests.