Commit Graph

18 Commits

Author SHA1 Message Date
Chris McCormick 87f2c74bb3
Get pingpong working in the browser with dummy REQ (#499) 2025-07-24 11:22:15 -03:00
fiatjaf d706ef961f pool: closed relays must be eliminated. 2025-07-17 23:39:16 -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 eff9ea9579 remove deprecated subscribeManyMap() 2025-05-17 18:52:01 -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 cbe3a9d683 pool subscribe methods accept an `onauth` param. 2025-04-01 19:16:42 -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 05eb62da5b support subscription label, not only an absolute id. 2025-03-02 01:25:39 -03:00
Asai Toshiya a0b950ab12 remove unnecessary id from Omit keys. 2025-01-02 15:57:39 -03:00
fiatjaf 29ecdfc5ec fix slow types so we can publish to jsr.io 2024-10-26 14:23:28 -03:00
Asai Toshiya 7064e0b828 make it possible to track relays on publish. 2024-10-10 14:45:37 -03:00
António Conselheiro 475a22a95f
methods for abstract pool (#419)
* include method to list current pool relays connections and to close all connections

* fix prettier
2024-07-18 13:33:29 -03:00
António Conselheiro 235a1c50cb making AbstractSimplesPool more extendable 2024-07-08 23:49:46 -03:00
fiatjaf 87a91c2daf fix useWebSocketImplementation so it works with pool on nodejs esm. 2024-05-29 13:39:00 -03:00
fiatjaf 0a5eaac088 pool.subscribeManyMap() 2024-04-12 21:50:26 -03:00
Alex Gleason 9c0ade1329 Fix (most) slow types by adding explicit return types 2024-03-07 07:22:44 -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