Commit graph

66 commits

Author SHA1 Message Date
Alex Gleason
2e8b26cf4f
Remove legacy stream.ts module 2023-08-27 10:07:13 -05:00
Alex Gleason
9cd1ca1861
streaming: don't forget to close the subscription when the socket closes 2023-08-26 15:57:51 -05:00
Alex Gleason
9da03aa053
streaming: socket.addEventListener('open', ...) --> socket.onopen, etc 2023-08-25 17:17:26 -05:00
Alex Gleason
a93d77c851
streaming: add stream param to streaming events 2023-08-25 16:17:45 -05:00
Alex Gleason
b60e84d29b
relay: only send if socket is open 2023-08-25 15:09:16 -05:00
Alex Gleason
f7cd67c572
Make MastoAPI streaming work for public feeds 2023-08-25 14:59:37 -05:00
Alex Gleason
d7d5057617
Support nip98 auth 2023-07-08 18:41:11 -05:00
Alex Gleason
161c77b85d
Streaming: parse stream channel param 2023-05-20 23:47:51 -05:00
Alex Gleason
ec5e0ed330
Streaming: refactor, add unsubscribeAll method 2023-05-20 20:23:01 -05:00
Alex Gleason
3ffad1df29
Build a websocket topics framework 2023-05-20 19:39:05 -05:00
Alex Gleason
f3e42cc6a7
Add a UUID to auth tokens for private websocket event signing 2023-05-20 14:34:13 -05:00
Alex Gleason
9500ceee7c
Upgrade nostr-tools, fix BECH_32_REGEX imports 2023-05-20 12:28:12 -05:00
Alex Gleason
c14ebe6631
sign: only add stream if nostr=true on the user stream (still subject to change) 2023-05-13 21:05:55 -05:00
Alex Gleason
ce02f7d56c
Update streaming comments 2023-05-13 20:16:44 -05:00
Alex Gleason
9ff5e7c738
Websocket signing kind of works!! 2023-05-13 19:48:08 -05:00
Alex Gleason
8ba456a100
streaming: establish WebSocket connection 2023-05-13 17:41:21 -05:00