Alex Gleason
08885ab8da
Refactor imports: use file extension, improve tree shaking, update tests
2023-05-12 17:03:41 -03:00
Alex Gleason
ab6abe6815
Improve types of filter.ts
2023-05-06 21:00:25 -03:00
Alex Gleason
dd8f555094
Make Filter a generic type accepting Kind
2023-05-02 22:35:04 -03:00
OFF0
3bdb68020d
nip01: add support for filter prefix in authors and ids
...
so clients can filter events by prefix in authors and ids as
described in nip-01, i.e. to subscribe to mined events starting
with zeroes or to add some privacy for clients that may not want
to disclose the exact filter.
see also https://github.com/scsibug/nostr-rs-relay/issues/104
2023-04-07 08:29:00 -03:00
Susumu OTA
b0a58e2ca4
fix: Event type has id and sig field.
2023-04-06 06:15:07 -03:00
BilligsterUser
b3d95cecdd
add search field to filter (NIP-50)
2023-03-05 08:08:36 -03:00
rkfg
c5b64404f6
Add limit to filter
2022-12-23 11:29:38 -03:00
fiatjaf
1162935f58
add a bunch of tests.
2022-12-19 20:02:01 -03:00
fiatjaf
de8bdd8370
fix typescript types everywhere, delete pool.js and refactor relay.js to use event listeners everywhere.
2022-12-18 17:02:19 -03:00