Commit Graph

37 Commits

Author SHA1 Message Date
Derrick Hammer b6142a654d
fix: use globalThis 2023-09-11 05:42:29 -04:00
Derrick Hammer 6449579e0a
refactor: maybeInitDefaultPortals no longer uses ErrTuples 2023-09-08 13:16:01 -04:00
Derrick Hammer b7bfbcc3cf
refactor: use CID class 2023-09-08 13:15:33 -04:00
Derrick Hammer 75c6c30284
refactor: downloadSmallObject no longer uses ErrTuples 2023-09-08 13:15:15 -04:00
Derrick Hammer 3c8eb1b081
refactor: import objAsString from libkernel 2023-09-08 13:13:41 -04:00
Derrick Hammer a73561d369
refactor: use CID class 2023-09-08 13:13:18 -04:00
Derrick Hammer c7cec41a71
dep: update peerDiscoveryRegistry module cid 2023-09-04 05:41:10 -04:00
Derrick Hammer c68986789d
dep: update swarm module cid 2023-09-04 05:41:02 -04:00
Derrick Hammer 1e3002abbf
dep: update s5 module cid 2023-09-04 04:43:30 -04:00
Derrick Hammer af263bbc39
refactor: add support for internal messages 2023-09-04 04:11:28 -04:00
Derrick Hammer 867544e1c9
refactor: rewrite resolveModuleRegistryEntry to use decodeRegistryCid, decodeRegistryValue, and encodeCid 2023-09-04 04:09:46 -04:00
Derrick Hammer 0efd953824
dep: update ircPeerDiscovery hash 2023-09-03 02:17:07 -04:00
Derrick Hammer 2ca758f28c
dep: update module hashes 2023-09-03 01:01:18 -04:00
Derrick Hammer 6b83e4c5b4
dep: update resolver CID's 2023-09-03 01:01:11 -04:00
Derrick Hammer 6b0d43fe9b
fix: finalModule needs to be moduleDomain 2023-09-02 14:46:22 -04:00
Derrick Hammer e6318cdc38
fix: have resolveModuleRegistryEntry decode the cid and pass the pubkey 2023-09-02 14:46:06 -04:00
Derrick Hammer 7d44208132
fix: missing return 2023-09-02 13:08:36 -04:00
Derrick Hammer 1c4da69806
dep: update module hashes 2023-09-02 13:08:24 -04:00
Derrick Hammer 4a73a2779d
fix: use message.data not message.data.data 2023-09-02 13:08:06 -04:00
Derrick Hammer 27ba637ac2
fix: need to call swarm not peerDiscoveryRegistry 2023-09-02 13:07:43 -04:00
Derrick Hammer 2061716c7f
dep: add registry module defaults 2023-09-02 09:50:48 -04:00
Derrick Hammer a3cc54d19a
dep: swarm cid is wrong 2023-09-02 09:49:59 -04:00
Derrick Hammer d79fb134ea
dep: update CORE_MODULES CID's 2023-09-02 09:42:09 -04:00
Derrick Hammer 985d1c2e8a
refactor: change module cid detection so that we support resolver cids instead of the raw pubkey 2023-09-02 08:06:21 -04:00
Derrick Hammer 787c7c6637
fix: fix import 2023-09-01 19:04:07 -04:00
Derrick Hammer ba4c6dcb95
feat: add initial support to query the network for a registry entry for a module 2023-09-01 18:59:06 -04:00
Derrick Hammer 5cc457d78b
feat: add initial fallback registry support 2023-09-01 15:38:24 -04:00
Derrick Hammer 1b654c9a60
refactor: switch to using downloadSmallObject 2023-08-10 03:12:10 -04:00
Derrick Hammer 3f5adbfb11
fix: HACK, alias rootPrivateKey to rootKey temporarily 2023-07-20 12:35:01 -04:00
Derrick Hammer 63fc62401b
refactor: split handleIncomingMessage to its own file, set activePortalMasterKey, call maybeInitDefaultPortals 2023-07-18 17:06:28 -04:00
Derrick Hammer 4408dae8eb
fix: update object data 2023-07-18 10:44:39 -04:00
Derrick Hammer 27830c1397
fix: pass root key to module 2023-07-04 02:09:30 -04:00
Derrick Hammer 7093494227
fix: always launch worker inside of createModule 2023-07-04 02:06:41 -04:00
Derrick Hammer 2671fa35a7
refactor: switch to using verifyCid to check if module is valid 2023-07-04 02:06:09 -04:00
Derrick Hammer 7d6a7bda47
refactor: update to new libraries/tooling 2023-07-02 12:04:47 -04:00
Derrick Hammer b287cc3aff
refactor: set active portals based on bootloaderPortals 2023-06-23 19:35:26 -04:00
Derrick Hammer 03f4083674
feat: initial version 2023-06-23 05:04:11 -04:00