Commit Graph

530 Commits

Author SHA1 Message Date
Jon Staab d5324627df Move fallback polices to router 2024-03-01 14:37:59 -08:00
Jon Staab 5aeafd6932 Tweak connection stuff 2024-03-01 13:48:49 -08:00
Jon Staab e7b604711a rework router 2024-03-01 10:05:07 -08:00
Jon Staab e995141201 Get routing working 2024-02-29 17:19:04 -08:00
Jon Staab 94e19a5760 re work tags again 2024-02-27 08:37:24 -08:00
Jon Staab a78e72310d Add new router helper for relay hints 2024-02-26 15:04:31 -08:00
Jon Staab aa963af77e More re-work of Tags 2024-02-26 15:04:31 -08:00
Jon Staab 4fb072ec0a Add new tags utility 2024-02-26 15:04:31 -08:00
Jon Staab ee375813e4 Add connect directory, update readme 2024-02-26 15:04:31 -08:00
Jon Staab c7e3acb657 Handle targets that have no connections when closing on eose 2024-02-26 12:39:01 -08:00
Jon Staab d02794998e Change how events are re-sent when auth is done 2024-02-23 10:57:39 -08:00
Jon Staab 516299e4c4 Resend messages rejected because of auth challenge 2024-02-14 09:43:41 -08:00
Jon Staab 4a0ae3770e Catch failure to verify events 2024-02-12 10:13:59 -08:00
Jon Staab 7cb792ba17 Upgrade nostr-tools, add groups/circles to Tags 2024-01-09 11:01:15 -08:00
Jon Staab 0af0375f62 Handle failure to derive event hash 2024-01-05 20:49:30 -08:00
Jon Staab 2a402f1190 Fix verify signature 2023-12-15 14:59:30 -08:00
Jon Staab 03c2c369f5 Swap out yarn for pnpm 2023-12-13 14:39:24 -08:00
Jon Staab 66c6abd1a8 remove vite config 2023-12-13 14:18:59 -08:00
Jon Staab d01b05e2a2 Speed up lru cache splice 2023-12-11 12:26:03 -08:00
Jon Staab 1e2d806d25 Fix LRUCache eviction 2023-12-11 12:05:02 -08:00
Jon Staab bdaf42f213 Allow opting out of signature validation 2023-12-05 12:34:34 -08:00
Jon Staab 51bd938913 remove normalize, use getAncestors instead 2023-12-04 15:22:28 -08:00
Jon Staab 2b901f1ba2 Make executor.publish's signature more permissive 2023-12-01 10:04:07 -08:00
Jon Staab 8d6839f9e4 Add flatMap to Fluent 2023-11-30 16:15:01 -08:00
Jon Staab 2e925b9821 Fix dropped tags 2023-11-30 10:58:14 -08:00
Jon Staab fddd09af09 Replace Tags.getCommunity with Tags.communities 2023-11-22 11:20:58 -08:00
Jon Staab cf5bd3312c Fix tags dropping non-reply/root 2023-11-22 08:02:50 -08:00
Jon Staab c9d3cd910b Fix Tags.normalize 2023-11-16 04:55:30 -08:00
Jon Staab de186dfd7b Fix mis-identification of legacy tags for mentions 2023-11-13 13:30:43 -08:00
Jon Staab e38ee0a4e0 Replace valueEquals with nthEq 2023-11-13 11:58:29 -08:00
Jon Staab b23d69ff16 Add stricter check for legacy tags 2023-11-10 22:58:03 -08:00
Jon Staab 63e14542ff Fix tag normalization 2023-11-10 22:46:20 -08:00
Jon Staab d2ae601ac0 Fix premature closure of connections, add Tags util 2023-11-09 15:28:10 -08:00
Jon Staab 05307a7780 Remove executor load/count, add closeOnEose to subscription 2023-10-26 11:55:04 -07:00
Jon Staab 495f19b56d Add now for real 2023-10-26 10:53:58 -07:00
Jon Staab 6cf0ff3c3c Add createEvent and now 2023-10-26 10:50:15 -07:00
Jonathan Staab 77dc2144d3 Add Subscription 2023-10-25 11:21:32 -07:00
Jonathan Staab 7f1ac721dc Warn on non-array messages from sockets 2023-10-02 13:22:35 -07:00
Jonathan Staab 11499ec04f Return unsubscribe from load 2023-09-20 17:49:23 -07:00
Jonathan Staab 7be9591557 Add version badge 2023-09-20 14:12:06 -07:00
Jonathan Staab 7ee07e6f5e Use files instead of npmignore 2023-09-20 14:01:41 -07:00
Jonathan Staab f89c63d67c Switch to gts/tsc-multi 2023-09-20 13:52:45 -07:00
Jonathan Staab c8c53559db Fix some memory leaks, add executor.load and some utils 2023-09-20 12:13:08 -07:00
Jonathan Staab 4ce450f55c Tweak some typescript things 2023-09-20 10:28:57 -07:00
Jonathan Staab 25adcc71ef Tweak some typescript things 2023-09-20 10:28:15 -07:00
Jonathan Staab 7c9039704c Add types file 2023-09-20 09:38:00 -07:00
Jonathan Staab 1d39da19f1 Only reset auth status on successful auth 2023-09-18 11:40:45 -07:00
Jonathan Staab 47ddbf6498 Add custom emitter and wrapper target 2023-09-14 13:07:10 -07:00
Jonathan Staab 3b9b6f9dc0 Shorten reconnect timeout 2023-08-16 13:51:08 -07:00
Jonathan Staab a909ab6d28 Handle notices, don't send reqs that have already been closed 2023-08-15 14:21:25 -07:00