Commit Graph

15 Commits

Author SHA1 Message Date
86ec7f41d7 delete legacy code from nostr pkg 2023-05-30 14:50:30 +01:00
c36544f9a3 tests 2023-05-24 10:03:08 +01:00
d754551ebb cleanup 2023-04-17 22:11:20 +02:00
3ffe4d5b19 tests 2023-04-17 22:11:20 +02:00
2544d79975 get tests passing in the browser 2023-04-08 21:01:14 +02:00
4c6b7edecf test 2023-04-04 22:07:13 +02:00
09950fd547 nip-05 2023-04-04 22:01:26 +02:00
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
a7707af756 add direct message event and refactor 2023-03-17 15:30:20 +01:00
191ec8d7f0 allow the client to react to ok 2023-03-08 21:32:42 +01:00
3c78f740e0 implement nip20 ok at the connection level 2023-03-08 21:32:42 +01:00
6daa75b21c fix the test 2023-03-02 22:02:43 +01:00
6d1e664929 rename 2023-02-28 21:22:15 +01:00
53327c641c use filters array 2023-02-28 14:41:36 +01:00
408be48082 nostr package part 3 2023-02-26 23:57:43 +01:00