Commit Graph

47 Commits

Author SHA1 Message Date
ennmichael
4c6b7edecf
test 2023-04-04 22:07:13 +02:00
ennmichael
cd0aeb46f7
add event deletion 2023-04-04 22:07:13 +02:00
ennmichael
2cb9f5a12b
formatting 2023-04-04 22:01:26 +02:00
ennmichael
09950fd547
nip-05 2023-04-04 22:01:26 +02:00
3212155a43
feat: nip5 manager 2023-03-30 19:21:33 +01:00
e9fd08d808
relay req info 2023-03-29 10:34:39 +01:00
2ccf593476
bug: load more fix 2023-03-28 16:41:57 +01:00
465c59ea20
refactor: RequestBuilder 2023-03-28 15:34:01 +01:00
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
9b6e5090dc
feat: nip19/21 links 2023-03-25 22:55:34 +00: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
Alejandro
cd4dcbd0a2
feat: read nip-58 badges (#394) 2023-03-09 11:13:10 +01:00
ennmichael
191ec8d7f0
allow the client to react to ok 2023-03-08 21:32:42 +01:00
ennmichael
3c78f740e0
implement nip20 ok at the connection level 2023-03-08 21:32:42 +01:00
ennmichael
459f3b98de
prefer string literals to enums when possible 2023-03-08 21:32:42 +01:00
ennmichael
6ca4ab71b2
Merge pull request #384 from v0l/nostr-package-event-emitter-api
`nostr` package: use `EventEmitter`
2023-03-08 21:29:39 +01:00
Sam Samskies
c4d8d871a1
do not render reposts of badge award events in timelines (#406)
* do not render reposts of badge award events

* fix var name

* only render reposts of kind 1 events
2023-03-08 09:30:19 -08:00
7d4313570e
bug: track started sooner 2023-03-03 14:47:14 +00:00
ennmichael
a34e6960d2
tiny cleanup 2023-03-02 22:02:43 +01:00
ennmichael
6daa75b21c
fix the test 2023-03-02 22:02:43 +01:00
ennmichael
c20dea1dba
add newEvent and removeEvent 2023-03-02 22:02:43 +01:00
ennmichael
a32d806532
use EventEmitter 2023-03-02 22:02:43 +01:00
ennmichael
6ef866feb3
handle all errors in error callbacks 2023-03-02 22:02:43 +01:00
1b363ec15f
progress 2023-02-28 22:21:50 +00:00
ennmichael
e5e18ca28c
naming oversight 2023-02-28 22:47:53 +01:00
ennmichael
a513408866
more robust message parsing 2023-02-28 21:58:59 +01:00
ennmichael
6565aa6fa0
allow publishing without a private key 2023-02-28 21:46:31 +01:00
ennmichael
02a7418d47
doc comments 2023-02-28 21:23:24 +01:00
ennmichael
6d1e664929
rename 2023-02-28 21:22:15 +01:00
ennmichael
c1665825da
simplify 2023-02-28 21:18:47 +01:00
ennmichael
53327c641c use filters array 2023-02-28 14:41:36 +01:00
ennmichael
5d66ad9165
changes after self-review 2023-02-27 14:35:36 +01:00
ennmichael
303fa2ff4b
add unixTimestamp() 2023-02-27 14:11:10 +01:00
ennmichael
289dbcd523
finishing touches 2023-02-27 00:25:11 +01:00
ennmichael
fe45cb4beb
refactoring from previous pr 2023-02-27 00:00:08 +01:00
ennmichael
408be48082
nostr package part 3 2023-02-26 23:57:43 +01:00
ennmichael
2c1c07a552
fix build error 2023-02-26 23:45:03 +01:00
ennmichael
9da110165b
nostr package part 2 2023-02-26 23:45:03 +01:00
47c12fed50
Update thread detection to not include mentions
Noticed 're:' was being added to notes in the UI when it only mentioned
a note. This didn't constitute a thread and shouldn't attempt to add who
it is replying to in the UI since there wasn't a reply to display. This
simply makes sure that a thread is detected when there is an 'e' tag and
the marker for the tag is not a mention.
2023-02-24 12:49:33 -05:00
3f406ec19e
feat: improve profile loading 2023-02-20 23:14:15 +00:00
b23b1764e5
chore: misc 2023-02-20 14:24:19 +00:00
3b68153105
bug: redirect tlv entry 2023-02-16 16:32:56 +00:00
ennmichael
0193436d96
nostr package part 1 2023-02-16 12:39:39 +01:00
Alejandro Gomez
fb30b35189
fix: formatting 2023-02-15 14:23:06 +00:00
ennmichael
ba01423110
rebase 2023-02-14 14:35:12 +01:00
ennmichael
2a211b78a1
workspace with decoupled nostr package 2023-02-14 14:27:40 +01:00