Commit Graph
773 Commits
Author SHA1 Message Date
fiatjaf 719462f041 something 2025-07-19 10:41:48 -03:00
vornis101andfiatjaf_ de1cf0ed60 Fix JSON syntax of jsr.json 2025-07-19 08:58:05 -03:00
fiatjaf d706ef961f pool: closed relays must be eliminated. v2.15.1 2025-07-17 23:39:16 -03:00
SondreBandfiatjaf_ 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. v2.15.0 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(). v2.14.3 2025-06-06 22:36:07 -03:00
fiatjaf b8f91c37fa and there was an error in jsr.json v2.14.2 2025-06-05 14:37:56 -03:00
fiatjaf 2da3528362 forgot to expose blossom, as usual. v2.14.1 2025-06-05 01:29:54 -03:00
fiatjaf 315e9a472c expose signer module. v2.14.0 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 ConselheiroandGitHub 9132b722f3 improve signature for decode function (#489) v2.13.3 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. v2.13.2 2025-05-31 11:16:22 -03:00
fiatjaf 1437bbdb0f update removed function in test. v2.13.1 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 Juhascandfiatjaf_ 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. v2.13.0 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
codytsengandfiatjaf_ cb370fbf4f nip46: fix crash caused by endless resubscribe 2025-05-11 15:22:26 -03:00
codytsengandfiatjaf_ 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
fiatjaf dd603e47d8 some small bugs codebuff found. 2025-04-03 23:31:34 -03:00
fiatjaf ba26b92973 get rid of nip96 and unnecessary dependencies. 2025-04-02 11:51:02 -03:00
fiatjaf aec8ff5946 fix for updated typescript. v2.12.0 2025-04-02 11:44:41 -03:00
fiatjaf e498c9144d nip46: auto-reconnect. 2025-04-02 10:58:26 -03:00
fiatjaf 42d47abba1 update readme and add more examples. 2025-04-02 10:53:33 -03:00
fiatjaf 303c35120c pool: deprecate subscribeManyMap and introduce subscribe/subscribeEose methods that take a single filter. 2025-04-02 10:37:10 -03:00
fiatjaf 4a738c93d0 nip46: stop supporting nip04-encrypted messages. 2025-04-02 10:25:19 -03:00
fiatjaf 2a11c9ec91 nip04: functions shouldn't be async. 2025-04-02 10:19:27 -03:00
fiatjaf cbe3a9d683 pool subscribe methods accept an onauth param. v2.11.1 2025-04-01 19:16:42 -03:00
fiatjaf 2944a932b8 nip46: mark connection as closed when relays disconnect. 2025-03-29 18:03:39 -03:00
codytsengandfiatjaf_ 6b39de04d7 Fix auth() not returning on consecutive calls 2025-03-17 13:31:24 -03:00
fiatjaf 9a612e59a2 update nip11 test. v2.11.0 2025-03-14 09:30:35 -03:00
fiatjaf 266dbdf766 nip27: rewrite to support urls and references in a simpler API for rich UIs. 2025-03-14 09:26:40 -03:00
fiatjaf 19ae9837a7 nip19: decodeNostrURI() function that doesn't throw. 2025-03-14 09:26:40 -03:00
António ConselheiroandGitHub 4188f2c596 Generic repost 2025-03-10 01:58:00 -03:00
fiatjaf 97bded8f5b prevent a relay from eoseing then closing and causing pool handlers to fire twice. 2025-03-02 01:25:39 -03:00
fiatjaf 174d36a440 nip07: remove getRelays() 2025-03-02 01:25:39 -03:00
fiatjaf 0177b130c3 nip55: remove getRelays() 2025-03-02 01:25:39 -03:00