Commit Graph

8 Commits

Author SHA1 Message Date
Alex Gleason
dc49c305bd Move isLocallyFollowed to queries.ts 2023-08-17 19:32:05 -05:00
Alex Gleason
299a1a0db0 Refactor some code that uses getFilters to import the whole module under a namespace 2023-08-17 15:41:27 -05:00
Alex Gleason
4f37a1b9f8 queries: don't unnecessarily sort things 2023-08-17 14:55:00 -05:00
Alex Gleason
7330cd10e2 Refactor getEvent to take an opts object 2023-08-17 14:51:49 -05:00
Alex Gleason
054a399f23 queries: reduce getFollows timeout to 1s 2023-08-17 13:19:36 -05:00
Alex Gleason
c516f007a5 queries: remove unnecessary "as Event" assertions 2023-08-17 13:18:46 -05:00
Alex Gleason
5a27d791e3 queries: make getFeed accept a pubkey instead of event3 2023-08-17 13:15:47 -05:00
Alex Gleason
870a6f5261 Add queries module for getting events for certain application needs 2023-08-17 13:12:38 -05:00