Commit Graph

28 Commits

Author SHA1 Message Date
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
Derrick Hammer e6a13a16cc
fix: export handlePresentKey 2023-07-01 03:03:44 -04:00
Derrick Hammer 2d7d057b05
fix: need typeof 2023-06-29 02:40:48 -04:00
Derrick Hammer 480fdf23e8
fix: add factory back in 2023-06-28 00:32:59 -04:00
Derrick Hammer 021fcf424e
refactor: change how module calling works 2023-06-28 00:26:22 -04:00
Derrick Hammer caae937352
feat: initial version 2023-06-27 22:47:11 -04:00