Commit Graph

8 Commits

Author SHA1 Message Date
sistemd
05605bdf28
nostr package: vastly simplify the API (#412)
* vastly simplify the api

* add missing await

* add eose to emitter

* add eose to conn

* add eose to the client

* eose test

* improve test suite, add dm tests

* demonstrate that nostr-rs-relay auth options don't work

* readme files

* cleanup

* fetch relay info

* test readyState

* export fetchRelayInfo

* cleanup

* better async/await linting

* use strictEqual in tests

* additional eslint rules

* allow arbitrary extensions

* saner error handling

* update README

* implement nip-02

---------

Co-authored-by: Kieran <kieran@harkin.me>
2023-03-27 10:09:48 +01:00
ennmichael
a7707af756
add direct message event and refactor 2023-03-17 15:30:20 +01:00
424c7c79d7
chore: avoid SubtleCrypto 2023-03-16 17:10:17 +00:00
ennmichael
a32d806532
use EventEmitter 2023-03-02 22:02:43 +01:00
ennmichael
408be48082
nostr package part 3 2023-02-26 23:57:43 +01:00
ennmichael
9da110165b
nostr package part 2 2023-02-26 23:45:03 +01:00
ennmichael
0193436d96
nostr package part 1 2023-02-16 12:39:39 +01:00
ennmichael
2a211b78a1
workspace with decoupled nostr package 2023-02-14 14:27:40 +01:00