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 |
fiatjaf
|
c9ff51e278
|
subscribeMap() now sends multiple filters to the same relay in the same REQ.
because the initiative to get rid of multiple filters went down.
|
2025-09-20 16:54:12 -03:00 |
Anderson Juhasc
|
23aebbd341
|
update NIP-27 example in README
|
2025-08-27 10:32:45 -03:00 |
Anderson Juhasc
|
a3fcd79545
|
ensures consistency for .jpg/.JPG, .mp4/.MP4, etc
|
2025-08-27 10:32:45 -03:00 |
tajava2006
|
0e6e7af934
|
chore: Bump version and document NIP-46 usage
|
2025-08-25 11:00:06 -03:00 |
codytseng
|
8866042edf
|
relay: ensure onclose callback is triggered
|
2025-08-24 22:22:38 -03:00 |
hoppe
|
ebe7df7b9e
|
feat(nip46): Add support for client-initiated connections in BunkerSigner (#502)
* add: nostrconnect
* fix: typo
|
2025-08-24 15:53:01 -03:00 |
fiatjaf
|
86235314c4
|
deduplicate relay URLs in pool.subscribe() and pool.subscribeMany()
|
2025-08-06 10:37:36 -03:00 |
Don
|
b39dac3551
|
nip57: include "e" tag.
|
2025-08-04 15:23:29 -03:00 |
fiatjaf
|
929d62bbbb
|
nip57: cleanup useless tests.
|
2025-08-01 20:28:49 -03:00 |
fiatjaf
|
b575e47844
|
nip57: include "k" tag.
|
2025-08-01 19:38:03 -03:00 |
fiatjaf
|
b076c34a2f
|
tag new minor because of the pingpong stuff.
|
2025-08-01 14:12:53 -03:00 |
fiatjaf
|
4bb3eb2d40
|
remove unnecessary normalizeURL() call that can throw sometimes.
|
2025-08-01 14:11:44 -03:00 |
Chris McCormick
|
87f2c74bb3
|
Get pingpong working in the browser with dummy REQ (#499)
|
2025-07-24 11:22:15 -03:00 |
fiatjaf
|
4b6cc19b9c
|
cleanup.
|
2025-07-23 16:22:25 -03:00 |
fiatjaf
|
b2f3a01439
|
nip46: remove deprecated getRelays()
|
2025-07-23 16:22:16 -03:00 |
Chris McCormick
|
6ec19b618c
|
WIP: pingpong with logging.
|
2025-07-23 16:16:12 -03:00 |
Chris McCormick
|
b3cc9f50e5
|
WIP: hack in pingpong #495
TypeScript does not like the duck typing of .on and .ping (only valid on Node ws).
|
2025-07-23 16:16:12 -03:00 |
vornis101
|
de1cf0ed60
|
Fix JSON syntax of jsr.json
|
2025-07-19 08:58:05 -03:00 |
fiatjaf
|
d706ef961f
|
pool: closed relays must be eliminated.
|
2025-07-17 23:39:16 -03:00 |
SondreB
|
2f529b3f8a
|
enhance parseConnectionString to support double slash URL format
|
2025-07-13 11:59:04 -03:00 |
fiatjaf
|
f0357805c3
|
catch errors on function passed to auth() and log them.
|
2025-06-10 10:20:20 -03:00 |
fiatjaf
|
ffa7fb926e
|
remove deprecated unused _onauth hook.
|
2025-06-10 10:16:11 -03:00 |
fiatjaf
|
12acb900ab
|
SubCloser.close() can take a reason string optionally.
|
2025-06-10 10:15:58 -03:00 |
fiatjaf
|
d773012658
|
proper auth support on pool.publish().
|
2025-06-06 22:36:07 -03:00 |
fiatjaf
|
b8f91c37fa
|
and there was an error in jsr.json
|
2025-06-05 14:37:56 -03:00 |
fiatjaf
|
2da3528362
|
forgot to expose blossom, as usual.
|
2025-06-05 01:29:54 -03:00 |
fiatjaf
|
315e9a472c
|
expose signer module.
|
2025-06-04 21:47:17 -03:00 |
fiatjaf
|
a2b1bf0338
|
blossom test.
|
2025-06-04 21:45:43 -03:00 |
fiatjaf
|
861a77e2b3
|
nipB7 (blossom) and a generic signer interface.
|
2025-06-04 21:28:33 -03:00 |
António Conselheiro
|
9132b722f3
|
improve signature for decode function (#489)
|
2025-06-01 11:08:57 -03:00 |
fiatjaf
|
ae2f97655b
|
remove two deprecated things.
|
2025-05-31 20:04:46 -03:00 |
fiatjaf
|
5b78a829c7
|
ignore error when sending on a CLOSE to a closed connection.
|
2025-05-31 12:29:24 -03:00 |
fiatjaf
|
de26ee98c5
|
failed to connect to a websocket should reject the promise.
|
2025-05-31 11:16:22 -03:00 |
fiatjaf
|
1437bbdb0f
|
update removed function in test.
|
2025-05-28 14:52:36 -03:00 |
fiatjaf
|
57354b9fb4
|
expose hexToBytes and bytesToHex helpers.
|
2025-05-28 14:50:25 -03:00 |
fiatjaf
|
924075b803
|
nip57: get sats amount from bolt11 helper.
|
2025-05-20 09:25:31 -03:00 |
Anderson Juhasc
|
666a02027e
|
readme updated
|
2025-05-19 17:13:10 -03:00 |
fiatjaf
|
eff9ea9579
|
remove deprecated subscribeManyMap()
|
2025-05-17 18:52:01 -03:00 |
fiatjaf
|
ca174e6cd8
|
publish to jsr before npm.
|
2025-05-12 05:27:16 -03:00 |
fiatjaf
|
4ba9c8886b
|
forgot to remove nip96 from export lists.
|
2025-05-12 05:24:57 -03:00 |
fiatjaf
|
7dbd86eb5c
|
fix types from latest nip19 type change.
|
2025-05-12 05:23:54 -03:00 |
fiatjaf
|
3e839db6f2
|
tag v2.13.0 (breaking because stuff is removed).
|
2025-05-12 05:20:45 -03:00 |
codytseng
|
cb370fbf4f
|
nip46: fix crash caused by endless resubscribe
|
2025-05-11 15:22:26 -03:00 |
codytseng
|
c015b6e794
|
fix bug where concurrent auth calls returned only one response
|
2025-05-09 08:43:53 -03:00 |
fiatjaf
|
52079f6e75
|
saner nip19 types.
@staab should be happy now.
|
2025-04-26 09:00:28 -03:00 |
fiatjaf
|
ef28b2eb73
|
nip46: toBunkerURL() function.
|
2025-04-21 23:40:15 -03:00 |
fiatjaf
|
2a422774fb
|
fix pool.publish() example in README.
following https://github.com/nbd-wtf/nostr-tools/issues/482
|
2025-04-17 17:17:36 -03:00 |
fiatjaf
|
b80f8a0bcc
|
nip07: return a VerifiedEvent
|
2025-04-11 17:31:57 -03:00 |