17 Commits

Author SHA1 Message Date
fiatjaf
5bfaed2740 docstrings for many functions. 2025-03-04 11:42:44 -03:00
fiatjaf
8d805b39bf sdk: fix missing preemptive fallback to blank pubkey on FetchProfileMetadata(). 2025-01-23 14:41:18 -03:00
fiatjaf
85c268b8e2 sdk: fix for when we have no record of ever trying to fetch replaceables. 2025-01-21 17:42:07 -03:00
fiatjaf
f992c6e7ea sdk: pubkey feeds, live and past pages. 2025-01-20 13:04:44 -03:00
fiatjaf
40538486d5 sdk/hints: use a single "hint" type instead of nprofile/nevent/tag/nip05. 2025-01-18 18:19:54 -03:00
fiatjaf
6cffcc3b47 sdk: make it so replaceable stuff is automatically reloaded from time to time. 2025-01-17 18:21:19 -03:00
fiatjaf
3fd33ce281 fix locking on generic list and set fetching, decrease dataloader batch size, test. 2025-01-17 17:39:24 -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
c2c08ab6bc more list fetchers. 2025-01-01 18:16:36 -03:00
fiatjaf
72d9aac9b1 replace all ocurrences of encoding/json with json-iterator so we get rid of HTML escaping and hopefully get faster too. 2024-12-03 00:49:27 -03:00
fiatjaf
2519cab5ae sdk: validate nip05. 2024-11-27 10:23:28 -03:00
fiatjaf
ade77ad6c9 sdk: label some default queries. 2024-09-26 21:08:40 -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
374dbbe1a0
sdk: fetch and cache profiles. 2023-10-31 11:00:46 -03:00
fiatjaf
c506cc0f8b
sdk taking shape. 2023-10-30 19:23:58 -03:00