Commit Graph

56 Commits

Author SHA1 Message Date
ennmichael d754551ebb
cleanup 2023-04-17 22:11:20 +02:00
ennmichael 3ffe4d5b19
tests 2023-04-17 22:11:20 +02:00
ennmichael 31b0538337
nip-07 support 2023-04-17 22:11:20 +02:00
Kieran daee91ee8c
Merge pull request #490 from v0l/nostr-package-browser-tests
`nostr` package: get tests passing in the browser
2023-04-17 14:34:32 +01:00
Kieran c59dda1e49
NIP-94 file headers (#488)
* feat: NIP-94 file headers

* Merge NIP-81 tags

* disable embedding nip94 for now

* merge error

* disable broken test

* bugfixes

* bug: validation failure
2023-04-17 11:57:13 +01:00
Kieran f0c5c33c48
feat: subscriptions 2023-04-13 19:43:43 +01:00
Kieran bbc7e443df
feat: render polls 2023-04-10 19:27:42 +01:00
ennmichael 5f29ae0140
fixing tests 2023-04-08 22:29:00 +02:00
ennmichael 2544d79975
get tests passing in the browser 2023-04-08 21:01:14 +02:00
Kieran 8ef20c27b3
feat: per event zap targets 2023-04-05 11:32:44 +01:00
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 09950fd547
nip-05 2023-04-04 22:01:26 +02:00
Kieran 3212155a43
feat: nip5 manager 2023-03-30 19:21:33 +01:00
Kieran e9fd08d808
relay req info 2023-03-29 10:34:39 +01:00
Kieran 2ccf593476
bug: load more fix 2023-03-28 16:41:57 +01:00
Kieran 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
Kieran 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
Kieran 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
Kieran 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
Kieran 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
w3irdrobot 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
Kieran 3f406ec19e
feat: improve profile loading 2023-02-20 23:14:15 +00:00