Commit Graph

722 Commits

Author SHA1 Message Date
Jon Staab 05a9d6461b Accept multiple filters to request 2025-04-01 13:15:50 -07:00
Jon Staab fd0cdf2c19 Bring back some net context 2025-04-01 11:12:34 -07:00
Jon Staab 2dadcce48f Add check for deleted events in request 2025-04-01 10:56:17 -07:00
Jon Staab 5ad6347123 Clean up nostr-tools dependencies 2025-04-01 10:50:43 -07:00
Jon Staab 04816f8377 Get rid of Worker, use TaskQueue instead 2025-03-31 15:55:10 -07:00
Jon Staab db588495e3 Batch load requests 2025-03-31 15:52:43 -07:00
Jon Staab d0eca0d1b8 Remove some poorly written tests 2025-03-31 14:44:57 -07:00
Jon Staab 8bc336ae5d Fix some tests 2025-03-31 14:06:52 -07:00
Jon Staab 1524d128e3 Fix ts errors 2025-03-31 12:49:28 -07:00
Jon Staab cfd2e3aac7 Add relay package 2025-03-31 10:17:31 -07:00
Jon Staab 5245993d4e Fix nip46 2025-03-31 09:45:44 -07:00
Jon Staab 5b55b5f5d0 Rename request/publish functions 2025-03-31 09:44:36 -07:00
Jon Staab 4237b145ae Use default pool, make adapter context optional 2025-03-31 09:35:48 -07:00
Jon Staab 51dd44161a Remove DVM tests 2025-03-31 09:21:41 -07:00
Jon Staab 7389b3a6c3 Move net2 to net, update dvm 2025-03-31 09:13:10 -07:00
Jon Staab 3081d1e6b4 Add policy tests 2025-03-27 18:05:12 -07:00
Jon Staab f75783ea0a Re-work test mocks for net2 2025-03-27 17:46:37 -07:00
Jon Staab d6a66a473c Add some policy tests 2025-03-27 14:59:31 -07:00
Jon Staab a91b22518e Add publish tests 2025-03-27 14:23:09 -07:00
Jon Staab ca9eadf8ff Add tests for request 2025-03-27 13:43:25 -07:00
Jon Staab 4723c3f86a Add tracker test 2025-03-27 12:46:23 -07:00
Jon Staab e175de4655 Add auth and pool tests 2025-03-27 12:44:06 -07:00
Jon Staab 089818068b Add adapter tests 2025-03-27 12:22:21 -07:00
Jon Staab e8cfffe4ac Add tests for net2 socket 2025-03-27 11:07:25 -07:00
Jon Staab 756490222a Add multireq/unireq 2025-03-27 11:07:25 -07:00
Jon Staab d1f2b6bd4f Distinguish between unicast and multicast 2025-03-27 11:07:25 -07:00
Jon Staab 98c6c33b1b Remove shortcut handlers 2025-03-27 11:07:25 -07:00
Jon Staab 88b44776d8 Add diff utils, change how adapter is created, scope down subscribe/publish to a single relay for fastest possible completion 2025-03-27 11:07:25 -07:00
Jon Staab d7b74d2c7e Minor net2 cleanup 2025-03-27 11:07:25 -07:00
Jon Staab b985003333 Clean up policy a tad 2025-03-27 11:07:25 -07:00
Jon Staab f215354891 Add more policy 2025-03-27 11:07:25 -07:00
Jon Staab 44123426f2 flesh out publish 2025-03-27 11:07:25 -07:00
Jon Staab 3df585698c Flesh out subscribe 2025-03-27 11:07:25 -07:00
Jon Staab 180d70752d Add timeout policy 2025-03-27 11:07:25 -07:00
Jon Staab 62f0caff1d Add policy for deferring messages when auth has failed 2025-03-27 11:07:25 -07:00
Jon Staab be3ce11110 add more client message types 2025-03-27 11:07:25 -07:00
Jon Staab 6f0b6acddb Add negentropy/diff 2025-03-27 11:07:25 -07:00
Jon Staab 158f6d50f9 Add subscribe and publish utils 2025-03-27 11:07:25 -07:00
Jon Staab 1e681b16e2 Use typesafe event emitters 2025-03-27 11:07:25 -07:00
Jon Staab b2126aeb5f Fewer helper functions 2025-03-27 11:07:25 -07:00
Jon Staab 34e22eaa27 Add adapter to net2 2025-03-27 11:07:25 -07:00
Jon Staab 6e15f1f6c1 Remove ISocket 2025-03-27 11:07:25 -07:00
Jon Staab f00ffc5c9c Add pool, flesh out auth 2025-03-27 11:07:25 -07:00
Jon Staab 7d0d303dae Add task queue, work on socket 2025-03-27 11:07:25 -07:00
Jon Staab 7706034b99 Work on new net 2025-03-27 11:07:25 -07:00
Jon Staab d8bbb5dd6a Fix content tests 2025-03-27 11:07:17 -07:00
Jon Staab 4e49410b8b Fix sending nip46 signer pubkey on connect 2025-03-24 12:36:01 -07:00
Jon Staab 0a40a71cc0 Allow customizing createElement 2025-03-19 13:55:10 -07:00
Jon Staab 15adc51264 Bump packages 2025-03-04 11:26:58 -08:00
Jon Staab 234ed304c7 Make lnurl parsing more robust 2025-03-04 08:19:49 -08:00