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 |
|
fiatjaf
|
0108e3b605
|
remove nip-44 stuff.
|
2023-12-16 12:39:07 -03:00 |
|
fiatjaf
|
2ac69278ce
|
simplify nip-42.
|
2023-12-16 11:21:49 -03:00 |
|
fiatjaf
|
bf31f2eba3
|
fix nip-47 by removing some useless time checks.
|
2023-12-16 11:08:51 -03:00 |
|
fiatjaf
|
39cfc5c09e
|
cleanup nip-11.
|
2023-12-16 11:00:46 -03:00 |
|
futpib
|
3d767beeb9
|
NIP-06: Support multiple account private keys derived from seed words (#219)
Co-authored-by: fiatjaf_ <fiatjaf@gmail.com>
|
2023-12-16 10:15:37 -03:00 |
|
Alex Gleason
|
36e0de2a68
|
Add NIP-30 module for custom emojis
|
2023-12-16 10:13:40 -03:00 |
|
Giacomo Gagliano
|
9cd4f16e45
|
nip11 - Types, requestRelayInfos() and tests
|
2023-12-16 10:13:21 -03:00 |
|
fiatjaf
|
6a07e7c1cc
|
remove the kind type parameter from events and filters.
|
2023-12-16 10:10:37 -03:00 |
|
fiatjaf
|
1939c46eaa
|
turn kinds enum into simple constants in kinds.ts, bring more kind numbers from the nips readme.
|
2023-12-16 09:27:59 -03:00 |
|
fiatjaf
|
93538d2373
|
update dependencies.
|
2023-12-16 08:51:43 -03:00 |
|