Commit graph

56 commits

Author SHA1 Message Date
Percs
6ac29e9e56 bump version 2024-09-03 20:34:26 -05:00
Toshit Chawda
172c5a3ee6
properly handle subarray messages 2024-09-03 17:36:51 -07:00
Toshit Chawda
f90d159fac
make baremuxconnection worker optional 2024-09-01 17:40:09 -07:00
Percs
ae92c58f21 bump ver 2024-08-31 09:47:01 -05:00
Toshit Chawda
f351f2e9a6
allow passing promise<messageport> 2024-08-30 17:57:25 -07:00
velzie
a9e23bdb5b
delete agpl 2024-08-15 14:17:38 -04:00
Percs
c6e247cc95
Update README.md 2024-07-27 04:42:10 -05:00
Percs
5e3abbdbbe
Update README.md 2024-07-27 04:32:38 -05:00
Percs
ffb7a6ef48
Update Upgrading.md 2024-07-27 04:30:54 -05:00
Percs
a5f551c08d bump version 2024-07-24 03:50:50 -05:00
Toshit Chawda
3a43dfcc15
remote transport 2024-07-23 18:56:29 -07:00
Percs
9facd9d4f7 bump version 2024-07-20 19:15:12 -05:00
Toshit Chawda
d750186782
allow transferables while setting client 2024-07-16 18:24:14 -07:00
Percs
646a521e49 bump version 2024-07-13 01:54:10 -05:00
Toshit Chawda
63211161f1
support safari with a workaround, clean up code a bit 2024-07-12 21:13:24 -07:00
tgt
e82c0f0d08
fix wrong type (#4) 2024-07-12 20:06:32 -05: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
Percs
1ca0514fc2
Update Upgrading.md 2024-07-12 01:19:06 -05:00
Percs
816ddb8aea
Update README.md 2024-07-11 12:43:31 -05:00
Percs
c9c0ef84ee
add upgrading docs 2024-07-11 12:39:24 -05:00
Percs
6399fdc3d5 bump ver 2024-07-11 00:22:06 -05:00
Percs
6a54532e1d change file names and extensions 2024-07-10 22:34:00 -05:00
Toshit Chawda
36bef24bdc
rename serviceworker event worker to newWorker 2024-07-10 13:23:49 -07:00
Toshit Chawda
61dfcf6514
make it return inner port without awaiting 2024-07-09 11:53:07 -07:00
Percs
7bd51538c8 add a synchronous example 2024-07-09 13:45:18 -05:00
Toshit Chawda
8015428b45
add webworker workaround to readme 2024-07-09 11:29:51 -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
ading2210
91f27d4c06
Create LICENSE 2024-07-08 20:54:18 -07:00
Toshit Chawda
229695d13c
use snapshot SharedWorker 2024-07-08 19:16:04 -07:00
Percs
01d44130cc update rollup script 2024-07-08 15:54:27 -05: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
Percs
fb81b33714 update package name 2024-07-08 13:20:38 -05: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
d3e26603d1
Revert "capitalize SetTransport"
This reverts commit 34ac32b3ca.
2024-07-07 16:38:51 -07:00
Percs
34ac32b3ca capitalize SetTransport 2024-07-07 18:37:08 -05:00
Toshit Chawda
3fd8d4e293
refactor out sharedworker construction, add logging 2024-07-07 16:36:55 -07:00
Percs
9d7e6f3c9c update readme 2024-07-07 17:56:17 -05:00
Percs
228ddac643 update readme 2024-07-07 17:48:31 -05:00
Percs
d9b3ffe51d update rollup config and package json 2024-07-07 17:41:07 -05:00
Toshit Chawda
2e0dc263ac
export all types in one file 2024-07-07 15:34:40 -07:00
Toshit Chawda
bc9606e1b8
make the readme less confusing 2024-07-07 15:27:38 -07:00
Percs
722827d6d7 add back node imports 2024-07-07 17:21:37 -05:00
Toshit Chawda
b4c7ac361b
slightly edit types 2024-07-07 15:16:58 -07:00
Toshit Chawda
fb8fe1d306
rename setTransport to setManualTransport 2024-07-07 15:13:00 -07:00
Percs
cad770e2d1 update paths in package.json 2024-07-07 17:01:22 -05:00