Commit Graph

14 Commits

Author SHA1 Message Date
Chris McCormick 226d7d07e2
Improvements to enablePing() & tests (#506)
https://github.com/nbd-wtf/nostr-tools/pull/506
2025-09-29 10:41:40 -03:00
fiatjaf 0a5eaac088 pool.subscribeManyMap() 2024-04-12 21:50:26 -03:00
fiatjaf 62e5730965
call useWebSocketImplementation() on relay and pool tests. 2024-02-14 13:26:38 -03:00
fiatjaf 2f0ef90bd5
delete some unnecessary code from mock-relay implementation. 2024-01-20 12:48:46 -03:00
Sepehr Safari 2e9798b8ab increase random range for mock relay urls 2024-01-20 11:21:29 +03:30
Sepehr Safari 10b800db3a randomize relay urls in mock relays 2024-01-20 11:14:57 +03:30
Sepehr Safari 829633b0d6 inhance mock relay and refactor to a class 2024-01-20 10:40:15 +03:30
fiatjaf 3b81e5e762
use mock relays on pool tests. 2024-01-19 16:12:02 -03:00
fiatjaf 8b2b050c0d
unify mock-socket interface into a single implementation. 2024-01-19 16:01:06 -03:00
fiatjaf fe87529646
change tests and nips to use the new api. 2023-12-19 13:58:37 -03:00
fiatjaf 6a07e7c1cc
remove the kind type parameter from events and filters. 2023-12-16 10:10:37 -03:00
Alex Gleason 718032022c
just format 2023-08-31 13:42:15 -05:00
Alex Gleason 08885ab8da Refactor imports: use file extension, improve tree shaking, update tests 2023-05-12 17:03:41 -03:00
Alex Gleason 18e8227123 Convert all tests to TypeScript 2023-05-10 21:20:27 -03:00