Commit Graph

17 Commits

Author SHA1 Message Date
fiatjaf
8458e26291 nip10: fix parsing when the reply is an "a". fix and test nip10. 2025-11-23 06:57:54 -03:00
fiatjaf
55a43e46b7 use xhex everywhere. 2025-11-23 06:57:54 -03:00
fiatjaf
cd82cd7ce7 event typechecker. 2025-08-21 16:17:53 -03:00
fiatjaf
62e962454e pointer easyjson un/marshalers. 2025-04-21 10:03:47 -03:00
fiatjaf
15c6093c9b define a nostr.Kind type for event kinds, make adjustments everywhere and fix some horrible bugs with mmm, lmdb and badger querying and deleting. 2025-04-20 11:15:41 -03:00
fiatjaf
b4268d649c a bunch of [32]byte conversions. still more needed. 2025-04-14 17:47:53 -03:00
fiatjaf
e18528c043 move ExternalPointer to nip73 and write nip27.Parse() that gets all the parts of the text including URLs, Nostr URIs and just raw text. 2025-03-24 15:50:10 -03:00
fiatjaf
7e04bbb4b8 breaking pointer mess
- ExternalPointer (?)
- nip27, nip22 and nip10 functions to return pointers
- get rid of sdk/thread helpers that were just a thin layer over nip10 and nip22
2025-03-10 02:38:06 -03:00
fiatjaf
5bfaed2740 docstrings for many functions. 2025-03-04 11:42:44 -03:00
fiatjaf
1685a3ae09 Pointer.AsFilter() 2025-02-16 11:53:26 -03:00
fiatjaf
6f5737a763 pointers from tags helpers. 2025-02-13 23:05:39 -03:00
fiatjaf
550cf835be pointer.MatchesEvent() 2025-01-23 16:53:15 -03:00
fiatjaf
159e5d21e6 some mildly useful helpers for pointers in general. 2025-01-01 17:59:02 -03:00
fiatjaf
6fc1627fcc json tags on pointers. 2023-05-04 08:24:26 -03:00
fiatjaf
332ae1ff7f support author on nevent. 2023-03-17 09:09:36 -03:00
fiatjaf
916a6a6abb support for naddr on nip19. 2023-02-27 16:15:04 -03:00
fiatjaf
a3e3b25dd9 support relays in nip05. 2023-02-05 16:25:00 -03:00