Chris McCormick
|
bc1294e4e6
|
Reconnect with exponential backoff flag: `enableReconnect` (#507)
https://github.com/nbd-wtf/nostr-tools/pull/507
|
2025-09-30 10:01:07 -03:00 |
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 |
Asai Toshiya
|
d062ab8afd
|
make publish() timeout.
|
2024-10-30 11:55:04 -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
|
dbad25b2fa
|
use new MockRelay class in relay.test.ts
|
2024-01-20 10:41:05 +03:30 |
fiatjaf
|
8b2b050c0d
|
unify mock-socket interface into a single implementation.
|
2024-01-19 16:01:06 -03:00 |
Sepehr Safari
|
d4090dae2b
|
refactor relay test cases with mock websocket
|
2024-01-19 15:32:36 -03:00 |
fiatjaf
|
1de54838d3
|
changed the relay in the test, must also change the event queried for.
|
2023-12-22 11:46:02 -03:00 |
fiatjaf
|
703c29a311
|
fix things so relays tests work.
|
2023-12-22 11:38:35 -03:00 |
fiatjaf
|
7067b47cd4
|
remove last remains of pool-pure.ts
|
2023-12-22 07:51:17 -03:00 |
fiatjaf
|
5d795c291f
|
fix relay.ts imports after 7f11c0c618 .
|
2023-12-22 06:58:01 -03:00 |
fiatjaf
|
a4ae964ee6
|
split relay and pool into pure and wasm modules.
|
2023-12-21 17:27:42 -03:00 |
jiftechnify
|
b7389be5c7
|
correctly wait until connection to a relay is established
|
2023-12-20 14:43:33 -03:00 |
fiatjaf
|
fe87529646
|
change tests and nips to use the new api.
|
2023-12-19 13:58:37 -03:00 |
fiatjaf
|
71b412657f
|
.subscribe() is not async.
|
2023-12-19 10:22:29 -03:00 |
fiatjaf
|
420a6910e9
|
fix Queue, tweaks on relay.ts and make relay.test.ts pass.
|
2023-12-17 00:27:03 -03:00 |
fiatjaf
|
3d541e537e
|
move to bun and bun:test and remove jest.
|
2023-12-16 14:53:32 -03:00 |
Alex Gleason
|
c18f050468
|
relay: `sub.events` async iterator
|
2023-09-09 19:05:21 -03:00 |
Alex Gleason
|
48767d382d
|
relay.test: increase querying timeout to 10s
|
2023-08-31 13:45:39 -05: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 |