fiatjaf
|
9ac1b63994
|
a test on pool subscribing to many relays, getting many events then closing on eose.
|
2023-12-22 08:21:58 -03:00 |
|
fiatjaf
|
1890c91ae3
|
comments.
|
2023-12-22 08:02:39 -03:00 |
|
fiatjaf
|
7067b47cd4
|
remove last remains of pool-pure.ts
|
2023-12-22 07:51:17 -03:00 |
|
fiatjaf
|
397931f847
|
mention benchmark results in readme.
|
2023-12-22 06:59:32 -03:00 |
|
fiatjaf
|
5d795c291f
|
fix relay.ts imports after 7f11c0c618.
|
2023-12-22 06:58:01 -03:00 |
|
fiatjaf
|
7adbd30799
|
streamline and improve benchmarks.
|
2023-12-22 06:57:23 -03:00 |
|
fiatjaf
|
83b6dd7ec3
|
remove pool-wasm.ts that I had forgotten.
|
2023-12-21 21:04:27 -03:00 |
|
fiatjaf
|
d61cc6c9bf
|
just benchmark
|
2023-12-21 20:59:45 -03:00 |
|
fiatjaf
|
d7dad8e204
|
reduce spaces on justfile.
|
2023-12-21 20:50:42 -03:00 |
|
fiatjaf
|
daaa2ef0a1
|
bring back relayConnect() as deprecated.
|
2023-12-21 19:59:12 -03:00 |
|
fiatjaf
|
7f11c0c618
|
unsplit, backwards-compatibility, wasm relay and pool must be configured manually from the abstract classes.
|
2023-12-21 19:57:28 -03:00 |
|
fiatjaf
|
a4ae964ee6
|
split relay and pool into pure and wasm modules.
|
2023-12-21 17:27:42 -03:00 |
|
fiatjaf
|
1f7378ca49
|
import from core.ts instead of pure.ts whenever possible.
|
2023-12-21 17:27:32 -03:00 |
|
fiatjaf
|
d155bcdcda
|
tag v2.0.3
v2.0.3
|
2023-12-21 17:27:25 -03:00 |
|
Shusui MOYATANI
|
919d29363e
|
export kinds
|
2023-12-21 16:42:30 -03:00 |
|
Shusui MOYATANI
|
ef12a451be
|
fix ensureRelay
|
2023-12-21 16:42:00 -03:00 |
|
fiatjaf
|
a9acdada19
|
fix nip-42 test await.
v2.0.2
|
2023-12-21 08:56:03 -03:00 |
|
Jon Staab
|
bf3818e434
|
Add nip44 v2
|
2023-12-21 08:55:23 -03:00 |
|
jiftechnify
|
b7389be5c7
|
correctly wait until connection to a relay is established
|
2023-12-20 14:43:33 -03:00 |
|
Asai Toshiya
|
7552a36ff2
|
Update README.md
|
2023-12-20 13:41:52 -03:00 |
|
fiatjaf
|
1b31a27d89
|
ensure types are emitted when publishing.
v2.0.1
|
2023-12-20 10:51:41 -03:00 |
|
fiatjaf
|
0cc3c02d84
|
fix fix yield.
|
2023-12-20 10:49:08 -03:00 |
|
Shusui MOYATANI
|
8625d45152
|
fix yield
|
2023-12-20 09:27:49 -03:00 |
|
fiatjaf
|
8f03116687
|
tweak readme.
|
2023-12-19 14:21:04 -03:00 |
|
fiatjaf
|
e6d1808fda
|
update readme to mention fragment importing and nostr-wasm.
|
2023-12-19 14:14:40 -03:00 |
|
fiatjaf
|
9648de3470
|
update build process and list of exports.
v2.0.0
|
2023-12-19 14:01:28 -03:00 |
|
fiatjaf
|
fe87529646
|
change tests and nips to use the new api.
|
2023-12-19 13:58:37 -03:00 |
|
fiatjaf
|
1908e1ee0d
|
revamp core api + option to use nostr-wasm instead of noble-curves.
|
2023-12-19 12:20:42 -03:00 |
|
fiatjaf
|
2571db9afc
|
fix validateEvent() signature.
|
2023-12-19 10:36:54 -03:00 |
|
fiatjaf
|
f77b9eab10
|
remove auto-publishing to npm.
|
2023-12-19 10:33:06 -03:00 |
|
fiatjaf
|
71b412657f
|
.subscribe() is not async.
|
2023-12-19 10:22:29 -03:00 |
|
fiatjaf
|
8840c4d8e2
|
final adjustments and now even the flaky tests that depend on others's relay should pass most of the time.
|
2023-12-19 10:01:52 -03:00 |
|
fiatjaf
|
804403f574
|
change the way eose and connection timeouts work.
|
2023-12-18 17:11:16 -03:00 |
|
fiatjaf
|
965ebdb6d1
|
higher time limit for tests on github.
|
2023-12-18 13:15:19 -03:00 |
|
fiatjaf
|
c54fd95b3e
|
decrease default eoseTimeout to 3400ms.
|
2023-12-18 10:18:34 -03:00 |
|
fiatjaf
|
7a6c0754ad
|
fix github actions again and put a badge in the readme.
|
2023-12-18 09:53:44 -03:00 |
|
fiatjaf
|
9e4911160a
|
make pool.subscribe_ methods return synchronously.
|
2023-12-18 09:53:06 -03:00 |
|
fiatjaf
|
73c6630cf7
|
fix github actions test.
|
2023-12-17 22:49:58 -03:00 |
|
fiatjaf
|
88703e9ea2
|
update readme with new api.
|
2023-12-17 22:46:35 -03:00 |
|
fiatjaf
|
07d208308f
|
remove broken useless tests.
|
2023-12-17 22:41:22 -03:00 |
|
fiatjaf
|
f56f2ae709
|
pool tests and pool.ts tweaks.
|
2023-12-17 22:19:28 -03:00 |
|
fiatjaf
|
a0cb2eecae
|
get rid of RelayTrackingPool, merge it into SimplePool.
|
2023-12-17 19:15:27 -03:00 |
|
fiatjaf
|
2a7fd83be8
|
rewrite binarySearch so it doesn't have to compare values of the same type.
|
2023-12-17 18:13:09 -03:00 |
|
fiatjaf
|
1ebe098805
|
binarySearch and improve insertEventInto___List() to use that and .splice()
|
2023-12-17 18:06:58 -03:00 |
|
fiatjaf
|
3bfb50e267
|
rewrite pool.ts to be much simpler.
|
2023-12-17 11:19:50 -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
|
7a640092d0
|
rewrite relay.ts to be much simpler.
|
2023-12-16 18:56:18 -03:00 |
|
fiatjaf
|
3d541e537e
|
move to bun and bun:test and remove jest.
|
2023-12-16 14:53:32 -03:00 |
|
fiatjaf
|
1357642575
|
adjust packages exported.
|
2023-12-16 13:08:37 -03:00 |
|
fiatjaf
|
d16f3f77c3
|
prettify and lint.
|
2023-12-16 12:39:24 -03:00 |
|