Commit Graph

448 Commits

Author SHA1 Message Date
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
Jon Staab 3e289e9eac Simplify comment tags 2025-03-03 12:53:52 -08:00
Jon Staab 100f80d4b8 Fix some ts errors 2025-02-28 16:30:04 -08:00
Jon Staab c713d1c8f6 Get tests passing reliably 2025-02-28 15:30:57 -08:00
Ticruz 23f7244039 more tests 2025-02-28 15:06:05 -08:00
Ticruz 8c638a7d8f More tests 2025-02-28 14:18:02 -08:00
Ticruz 1bb83e556b fix vitepress prod build 2025-02-26 11:37:42 +01:00
Ticruz 8a2b62f693 Add tests 2025-02-25 14:34:49 -08:00
Jon Staab 43255bcb74 Return timezone string, not match 2025-02-25 09:27:20 -08:00