Toshit Chawda
|
63211161f1
|
support safari with a workaround, clean up code a bit
|
2024-07-12 21:13:24 -07:00 |
|
Toshit Chawda
|
9f71bc0bfb
|
throw an error instead of returning
|
2024-07-12 16:20:44 -07:00 |
|
Toshit Chawda
|
66f0cc1ed0
|
test all ports when trying to get one in sw
|
2024-07-12 16:18:45 -07:00 |
|
Toshit Chawda
|
36bef24bdc
|
rename serviceworker event worker to newWorker
|
2024-07-10 13:23:49 -07:00 |
|
Toshit Chawda
|
cb443135d9
|
remove broadcastchannel for workerPath, let the client pass in a messageport, use snapshot for more stuff
|
2024-07-09 10:28:44 -07:00 |
|
Toshit Chawda
|
2169a423b6
|
make logs a bit more descriptive
|
2024-07-08 13:01:13 -07:00 |
|
Toshit Chawda
|
6e86375a69
|
add a ping message to make sure worker port is alive
|
2024-07-08 12:59:37 -07:00 |
|
Toshit Chawda
|
fde90f3ec1
|
tell the sw to refresh its port when a new shared worker gets made
|
2024-07-08 12:02:35 -07:00 |
|
Toshit Chawda
|
dc9f4a7e39
|
add getTransport, add retrying to the sw messageport promise
|
2024-07-07 19:38:15 -07:00 |
|
Toshit Chawda
|
c540450b66
|
create new worker when passing it to sw
|
2024-07-07 16:59:51 -07:00 |
|
Toshit Chawda
|
c5aeec4ee8
|
only register sw handler if navigator.serviceWorker exists
|
2024-07-07 16:43:57 -07:00 |
|
Toshit Chawda
|
3fd8d4e293
|
refactor out sharedworker construction, add logging
|
2024-07-07 16:36:55 -07:00 |
|
Toshit Chawda
|
508b265df2
|
fix some stuff
|
2024-07-07 14:30:49 -07:00 |
|
Toshit Chawda
|
e2b85c3d99
|
websocket support
|
2024-07-07 14:10:19 -07:00 |
|
Toshit Chawda
|
5355f49957
|
fetch working
|
2024-07-07 01:11:13 -07:00 |
|