Commit graph

220 commits

Author SHA1 Message Date
David Reed
dbc01b3d56
remove unused bowser 2022-11-23 12:23:42 -05:00
David Reed
07fa54b096
string 2022-11-20 21:46:58 -05:00
David Reed
bea03730b8
remove return from setters 2022-11-20 21:43:22 -05:00
David Reed
f8c67ff3e9
1.0.4-beta.3 2022-11-20 01:48:59 -05:00
David Reed
1b35d03f6c
catch uvHook failure, use window.websocket 2022-11-20 01:48:43 -05:00
David Reed
4c6c652fe2
cleanup injection, pass important properties to iframe 2022-11-20 01:38:57 -05:00
David Reed
ff527d9732
fix undefined 2022-11-20 01:28:51 -05:00
David Reed
f08364edcd
remove case for status 500 2022-11-19 20:06:02 -05:00
David Reed
1a1bf9b500
npm events, expose EventEmitter via bundle 2022-11-19 19:57:18 -05:00
David Reed
7ef4fb9732
log error, add fetch to try catch 2022-11-19 19:51:15 -05:00
David Reed
2a6289e80c
1.0.4-beta.2 2022-11-19 19:20:37 -05:00
David Reed
edb339b137
remove requestCtx.forward 2022-11-19 19:11:41 -05:00
David Reed
17c5b6b7b7
produce sourcemap 2022-11-19 19:07:22 -05:00
David Reed
f48e34b5b5
1.0.4-beta.1 2022-11-19 19:06:06 -05:00
David Reed
30f17a2b5c
set user-agent in fetch
Firefox doesn't pass user-agent in the serviceworker request headers. We need to manaully provide this.
2022-11-19 19:05:55 -05:00
David Reed
12e9d3c0f8
bareClient 2022-11-19 19:02:37 -05:00
David Reed
1700d17e09
use correct address API 2022-11-19 19:02:17 -05:00
David Reed
d8f4fecca7
1.0.4-beta 2022-11-19 18:35:04 -05:00
David Reed
32cab57fc3
add NPM badge 2022-11-19 18:35:03 -05:00
David Reed
a782296b85
1.0.3-beta 2022-11-19 18:31:50 -05:00
David Reed
ad0de820ef
protect WebSocket methods 2022-11-19 18:18:49 -05:00
David Reed
ff8708438e
fixes, install beta client 2022-11-19 17:44:47 -05:00
David Reed
32439bff19
cleanup websocket code
There should be less obvious leaks
WebSocket methods aren't hidden
2022-11-19 17:35:09 -05:00
David Reed
ca284dad3b
directly pass protocol 2022-11-18 21:28:46 -05:00
David Reed
57a26473aa
simply ignore the protocol 2022-11-18 21:19:35 -05:00
David Reed
b57a6009a6
setup package.json 2022-11-18 21:18:13 -05:00
David Reed
b7249e5819
WebSocket support
What I did:
- juggle the bare client data between the page and SW
- mock the WebSocket class to perform async ops
There are still bugs:
- new WebSocket().constructor is the mock class
- eventTarget() feels very stomp-like
2022-11-18 21:11:51 -05:00
David Reed
c37ab05535
Upgrade bare-client
For the WebSocket fixes.
2022-11-18 21:08:30 -05:00
David Reed
5fc685aade
remove unused async 2022-11-18 20:32:00 -05:00
David Reed
bd51158873
cleanup iterator 2022-11-18 20:29:10 -05:00
David Reed
5e71b8138b
separate consts 2022-11-18 20:28:50 -05:00
David Reed
015045f2c5
some JSDoc, install @tomphttp/bare-client 2022-11-18 20:25:49 -05:00
David Reed
8f999e7236
prettier 2022-11-18 20:00:58 -05:00
David Reed
d230e0e551
Update org 2022-11-14 23:21:21 -05:00
David Reed
cd2f1c3c8f Bump patch 2022-10-15 22:56:14 -04:00
David Reed
0c4fb3e9f3 Export .uvPath instead of default 2022-10-15 22:55:48 -04:00
David Reed
7f4be85a51 publish to @titaniumnetwork-dev/ultraviolet 2022-10-06 18:17:46 -04:00
David Reed
45624af199 use export = syntax 2022-10-01 18:39:52 -04:00
David Reed
a94b2e902e make lib commonjs 2022-10-01 18:37:11 -04:00
David Reed
787f1b3796 .cjs 2022-10-01 18:37:00 -04:00
David Reed
2da39c96f1 bump 2022-10-01 18:26:29 -04:00
David Reed
da3743f3cf correct license field 2022-10-01 18:25:14 -04:00
David Reed
5dd0a60cc7 convert lib to CommonJS with default export 2022-10-01 18:25:01 -04:00
David Reed
0765bcc2f3 bold 2022-09-30 21:38:32 -04:00
David Reed
0cd779ffa2 add stock sw.js 2022-09-30 21:38:25 -04:00
David Reed
79505c3a8c in 2022-09-30 21:34:33 -04:00
David Reed
898a6d21e1 link to docs 2022-09-30 21:31:30 -04:00
David Reed
e7f7d8854d Remove src from files 2022-09-28 21:27:28 -04:00
David Reed
a8c23591af doc 2022-09-15 18:26:55 -04:00
David Reed
6a4215b1cb document 2022-09-15 18:24:03 -04:00