Derrick Hammer
|
d3259fa3f4
|
fix: always show log data
|
2023-10-12 03:40:39 -04:00 |
Derrick Hammer
|
a4b9b46a3e
|
fix: duplicate kernelLoadedDefer
|
2023-10-12 03:40:02 -04:00 |
Derrick Hammer
|
6ecaf16d4e
|
feat: add createNetworkClient helper
|
2023-10-09 00:15:47 -04:00 |
Derrick Hammer
|
6e1e244f0e
|
fix: remove checking the method for kernel -> sw messages
|
2023-09-16 14:26:05 -04:00 |
Derrick Hammer
|
ca15414444
|
fix: use FROM_SW
|
2023-09-11 09:54:52 -04:00 |
Derrick Hammer
|
c2be4fe886
|
fix: add service worker to check
|
2023-09-11 09:54:51 -04:00 |
Derrick Hammer
|
d7663d0ff5
|
fix: don't nest in a data property with exchangeCommunicationKeys
|
2023-09-11 08:10:41 -04:00 |
Derrick Hammer
|
780f4fddf7
|
fix: newBootloaderQuery now returns an ErrTuple
|
2023-09-11 07:13:27 -04:00 |
Derrick Hammer
|
3ee446a9c5
|
fix: newBootloaderQuery should return a ErrTuple
|
2023-09-11 07:10:42 -04:00 |
Derrick Hammer
|
6fb7486368
|
fix: need to pass nonce with query
|
2023-09-11 07:00:38 -04:00 |
Derrick Hammer
|
b5d3ba46cf
|
fix: replace kernelLoadedResolve with kernelLoadedDefer
|
2023-09-11 06:52:58 -04:00 |
Derrick Hammer
|
25d2f6b1c0
|
fix: use newBootloaderQuery
|
2023-09-11 06:42:32 -04:00 |
Derrick Hammer
|
85615350f0
|
feat: add newBootloaderQuery method
|
2023-09-11 06:41:17 -04:00 |
Derrick Hammer
|
cb5a6175f6
|
fix: export login and serviceWorkerReady
|
2023-09-11 06:14:32 -04:00 |
Derrick Hammer
|
fd6c8d3b1f
|
feat: add login function that calls exchangeCommunicationKeys and setLoginKey
|
2023-09-11 06:08:41 -04:00 |
Derrick Hammer
|
17eb74483c
|
refactor: add getKernelIframe method
|
2023-09-11 05:58:48 -04:00 |
Derrick Hammer
|
15c59603f2
|
feat: add service worker support
|
2023-09-10 19:06:55 -04:00 |
Derrick Hammer
|
c4e211b04c
|
refactor: switch to using defer's
|
2023-09-10 18:46:23 -04:00 |
Derrick Hammer
|
268960b800
|
refactor: remove localhost-only check
|
2023-09-09 07:35:38 -04:00 |
Derrick Hammer
|
631fde4868
|
fix: update imports to be local
|
2023-09-08 08:49:41 -04:00 |
Derrick Hammer
|
469f02b69f
|
fix: use types and util locally
|
2023-09-08 08:43:46 -04:00 |
Derrick Hammer
|
b46bd6048e
|
refactor: move b64ToBuf from libweb
|
2023-09-08 08:42:55 -04:00 |
Derrick Hammer
|
bb1229eeb2
|
fix: use Err from types
|
2023-09-08 08:39:58 -04:00 |
Derrick Hammer
|
4abc3ed9c4
|
fix: export types since we are no longer storing them in libweb
|
2023-09-08 08:29:26 -04:00 |
Derrick Hammer
|
8a4e66782d
|
refactor: export util
|
2023-09-08 05:44:08 -04:00 |
Derrick Hammer
|
353f2457e8
|
refactor: move decodeU64 and encodeU64 from libweb
|
2023-09-08 05:43:56 -04:00 |
Derrick Hammer
|
44349bef9c
|
refactor: moving types and functions from libweb
|
2023-09-07 19:41:11 -04:00 |
Derrick Hammer
|
2adbddc769
|
fix: change callModule wrapper signature and correctly call callModule
|
2023-07-29 19:48:21 -04:00 |
Derrick Hammer
|
73ea9ca5b0
|
fix: make callModule a wrapper function that calls handleError
|
2023-07-29 19:32:45 -04:00 |
Derrick Hammer
|
420a28c224
|
fix: add missing typeof check
|
2023-07-29 16:46:28 -04:00 |
Derrick Hammer
|
7affb28081
|
feat: add name method for api
|
2023-07-28 23:48:24 -04:00 |
Derrick Hammer
|
809e0ecd3b
|
fix: update status signature
|
2023-07-28 23:48:07 -04:00 |
Derrick Hammer
|
09b691ce0f
|
fix: function does not need to be async
|
2023-07-27 10:44:44 -04:00 |
Derrick Hammer
|
a72651e924
|
fix: make getNetworkModuleStatus not be async so we don't need to wait to get the async function if we have a callback
|
2023-07-27 10:17:35 -04:00 |
Derrick Hammer
|
e3e910cfaf
|
refactor: add support for extension pages which need to use the bridge mode communication via runtime.connect
|
2023-07-26 10:33:24 -04:00 |
Derrick Hammer
|
624511a041
|
fix: export getNetworkModuleStatus
|
2023-07-25 11:42:18 -04:00 |
Derrick Hammer
|
55b578aace
|
fix: export NetworkClient
|
2023-07-23 13:36:34 -04:00 |
Derrick Hammer
|
2ac16d2c5c
|
feat: re-export defer from p-defer
|
2023-07-23 13:29:25 -04:00 |
Derrick Hammer
|
711b1341b8
|
feat: create abstract NetworkClient with register, status, and ready methods. status calls getNetworkModuleStatus
|
2023-07-23 13:27:56 -04:00 |
Derrick Hammer
|
19167acec2
|
feat: add getNetworkModuleStatus to fetch a network module status, either one time or continuous
|
2023-07-23 13:27:05 -04:00 |
Derrick Hammer
|
565fb05d85
|
fix: if we are in a webworker, automatically setup the handler so we don't ever forget
|
2023-07-21 13:19:56 -04:00 |
Derrick Hammer
|
ceffa292ca
|
fix: add type check on window
|
2023-07-21 09:28:40 -04:00 |
Derrick Hammer
|
a0d1a0445c
|
refactor: change bootup process for when we are running from the extension background page to query the kernel version to detect that it's ready, and talk directly to the kernel, not via the bridge
|
2023-07-20 12:17:22 -04:00 |
Derrick Hammer
|
191c3b5f90
|
fix: pass event.data.err to logErr
|
2023-07-11 17:05:55 -04:00 |
Derrick Hammer
|
c1f3daae83
|
fix: export concatBytes
|
2023-07-03 02:12:59 -04:00 |
Derrick Hammer
|
079bfc2b19
|
fix: replace skt.us with kernel.lumeweb.com
|
2023-07-02 12:35:05 -04:00 |
Derrick Hammer
|
44e2a0d06d
|
fix: add support for a hosted kernel, but only on localhost (for debugging)
|
2023-07-02 11:22:11 -04:00 |
Derrick Hammer
|
976723202d
|
fix: export bufToHex
|
2023-07-01 23:17:35 -04:00 |
Derrick Hammer
|
f7cc9a755e
|
refactor: move to emittery
|
2023-07-01 15:56:28 -04:00 |
Derrick Hammer
|
94287ce2d9
|
refactor: re-export several crypto, string, and binary utilities
|
2023-07-01 05:08:56 -04:00 |