20 Commits

Author SHA1 Message Date
fiatjaf
5bfaed2740 docstrings for many functions. 2025-03-04 11:42:44 -03:00
fiatjaf
b437cc6a1f remove useless noswhere.com from list of id-only relays. 2025-02-16 11:53:41 -03:00
fiatjaf
3de002aca1 sdk: only instantiate caches by default when they are necessary. 2025-02-11 14:23:31 -03:00
fiatjaf
febf022124 add some basic sdk tests, fix saving hints (normalize urls), checkduplicates arg order, kvdb stuff and other things. 2025-01-16 17:39:16 -03:00
fiatjaf
46569b6ef4 sdk: actually no, let's store all relay urls together in the same kvdb key. 2025-01-16 11:30:14 -03:00
fiatjaf
4cf9631c28 sdk: use a prefix iterator on kvdb for storing relay urls associated with ids. 2025-01-16 10:25:00 -03:00
fiatjaf
ba38c28b99 sdk: track event relays on kvstore. 2025-01-15 14:29:38 -03:00
fiatjaf
faa4fabffe sdk: setup KVStore. 2025-01-15 14:29:35 -03:00
fiatjaf
b33cfb19fa rename option pool.WithQueryMiddleware() to pool.WithAuthorKindQueryMiddleware(). 2025-01-03 00:12:34 -03:00
fiatjaf
5875b644a2 sdk: fetching sets. 2025-01-02 12:19:06 -03:00
fiatjaf
c2c08ab6bc more list fetchers. 2025-01-01 18:16:36 -03:00
fiatjaf
95ddacb9f3 sdk: track query attempts automatically and other small tweaks to replaceable fetching and stuff. 2024-12-24 00:15:10 -03:00
fiatjaf
1ac5516440 sdk: mutelist cache. 2024-11-27 00:59:34 -03:00
fiatjaf
f0f4eb5276 sdk: default eventstore to NullStore instead of SliceStore. 2024-10-06 15:54:00 -03:00
fiatjaf
36c197af42 sdk: FetchSpecificEvent() 2024-10-06 15:54:00 -03:00
fiatjaf
8327310d52 improve SimplePool authHandler, rename IncomingEvent to RelayEvent so we can use it there. 2024-09-19 12:28:42 -03:00
fiatjaf
072da132f4 move nostr-sdk repository into here because why not? 2024-09-11 10:14:13 -03:00
fiatjaf
1789d43d51
move sdk out to its own module. 2023-10-31 17:49:27 -03:00
fiatjaf
5847335506
sdk: return store event along with ProfileMetadata. 2023-10-31 15:22:55 -03:00
fiatjaf
711b0844b1
expose System properties. 2023-10-31 12:16:08 -03:00