Commit Graph

23 Commits

Author SHA1 Message Date
Jonathan Staab ef18009d33 Send sockets to listeners rather than urls 2023-07-27 08:40:39 -07:00
Jonathan Staab e9d7ad166e Tweak socket work cadence 2023-07-20 10:18:23 -07:00
Jonathan Staab 5cbb229708 Fix const bug 2023-07-20 10:05:09 -07:00
Jonathan Staab d6defe2844 Send close only if not already closed 2023-07-20 10:03:43 -07:00
Jonathan Staab 0b8eef041d Bump version 2023-07-12 17:10:40 -07:00
Jonathan Staab 4d6ea603ff Refactor everything to use EventEmitter 2023-07-12 17:06:16 -07:00
Jonathan Staab 46470aabe4 Switch to yarn 2023-07-07 16:34:51 -07:00
Jonathan Staab b74f2e8e3d Add sockets property to all targets 2023-04-25 15:08:48 -05:00
Jonathan Staab 7cfd022f16 Remove event id check in handleAuth since request/response might span multiple executors 2023-04-20 11:52:37 -05:00
Jonathan Staab fe23f28606 Remove nostr-tools dependency 2023-04-04 09:35:31 -05:00
Jonathan Staab 30b6dcd687 Fix subscription id length, allow custom verb in publish in order to support AUTH 2023-04-03 10:08:15 -05:00
Jonathan Staab 11986c79c7 Fix event callback 2023-03-29 14:01:10 -05:00
Jonathan Staab 6c4c08c1eb Add error property to socket 2023-03-29 11:08:22 -05:00
Jonathan Staab ddcc926fa6 Catch rejections in socket 2023-03-29 10:37:39 -05:00
Jonathan Staab dc6defdf61 Update repo url 2023-03-29 10:22:09 -05:00
Jonathan Staab da3b176b49 Fix Plex data transformation, handle socket errors 2023-03-29 10:06:12 -05:00
Jonathan Staab 557ab542b7 Add event bus to pool for socket open/close 2023-03-28 15:07:24 -05:00
Jonathan Staab 5131a89c29 Add npmignore 2023-03-28 14:29:18 -05:00
Jonathan Staab 5a1a72491e Fix some bugs with message delivery 2023-03-28 14:23:31 -05:00
Jonathan Staab 853b42c1c9 Add Executor and RelaySet 2023-03-27 13:39:48 -05:00
Jonathan Staab a6d6c0432d Get ts/es etc figured out 2023-03-25 11:57:46 -05:00
Jonathan Staab daca5adf11 Add Relay, Pool 2023-03-25 11:15:03 -05:00
Jonathan Staab 39d001280c First commit 2023-03-25 10:08:17 -05:00