Commit Graph

208 Commits

Author SHA1 Message Date
Derrick Hammer 9bc7fda440
fix: remove export 2023-09-08 07:06:11 -04:00
Derrick Hammer 841e453a8c
fix: use toRegistryEntry of CID 2023-09-08 06:59:05 -04:00
Derrick Hammer e30747945c
refactor: remove function version of cid api 2023-09-08 06:58:44 -04:00
Derrick Hammer d349e454e5
Merge remote-tracking branch 'origin/develop' into develop 2023-09-08 06:33:17 -04:00
Derrick Hammer 2894e63aa4
feat: implement appdb, known as hidden db in s5 2023-09-08 06:33:00 -04:00
Derrick Hammer cc247a350e
dep: update libportal 2023-09-08 06:22:27 -04:00
Derrick Hammer aef5a40a43
refactor: remove exports 2023-09-08 05:43:00 -04:00
Derrick Hammer 40eedf2817
refactor: remove encoding functions 2023-09-08 05:42:50 -04:00
Derrick Hammer 282c431021
feat: add deriveBlakeChildKeyInt 2023-09-08 05:38:22 -04:00
Derrick Hammer 68cb638086
dep: update libportal 2023-09-08 05:37:56 -04:00
Derrick Hammer 6ef11e9a27
refactor: move away from the tuple pattern 2023-09-08 05:37:09 -04:00
Derrick Hammer 3f1dc5304c
refactor: move errTracker to libkernel 2023-09-07 19:39:35 -04:00
Derrick Hammer db50583dc2
refactor: remove err 2023-09-07 19:39:14 -04:00
Derrick Hammer 2c6b8438e1
fix: move NO_PORTALS_ERROR to types and re-import 2023-09-07 19:38:56 -04:00
Derrick Hammer 623bbf3235
refactor: remove exports 2023-09-07 19:33:52 -04:00
Derrick Hammer 84a34496cd
refactor: move types to libkernel 2023-09-07 19:33:07 -04:00
Derrick Hammer c882bb341b
dep: update libportal, add @noble/ciphers 2023-09-07 19:32:06 -04:00
Derrick Hammer aca55ba230
refactor: move to libkernel 2023-09-07 19:31:03 -04:00
Derrick Hammer d83d4892cc
refactor: custom json stringify not needed 2023-09-07 19:30:51 -04:00
Derrick Hammer 885aaadd4f
refactor: custom json parse not needed 2023-09-07 19:30:34 -04:00
Derrick Hammer a8f2eb666b
refactor: move away from the tuple pattern 2023-09-07 19:29:49 -04:00
Derrick Hammer 2300b07419
refactor: move away from the tuple pattern 2023-09-07 19:15:33 -04:00
Derrick Hammer 6a285b54f1
dep: update libportal 2023-09-04 09:32:19 -04:00
semantic-release-bot c2b0bced6d chore(release): 0.2.0-develop.50 [skip ci]
# [0.2.0-develop.50](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.49...v0.2.0-develop.50) (2023-09-04)
2023-09-04 11:41:59 +00:00
Derrick Hammer 6da5ae59e3
Merge remote-tracking branch 'origin/develop' into develop 2023-09-04 07:40:50 -04:00
Derrick Hammer 21bbb9f67c
dep: update libportal 2023-09-04 07:40:42 -04:00
semantic-release-bot 823ecaf600 chore(release): 0.2.0-develop.49 [skip ci]
# [0.2.0-develop.49](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.48...v0.2.0-develop.49) (2023-09-04)

### Bug Fixes

* use hashType not type ([108ab86](108ab86fcc))
2023-09-04 07:52:49 +00:00
Derrick Hammer 49592463f6
Merge remote-tracking branch 'origin/develop' into develop 2023-09-04 03:51:43 -04:00
Derrick Hammer 108ab86fcc
fix: use hashType not type 2023-09-04 03:51:39 -04:00
semantic-release-bot a04d117ff5 chore(release): 0.2.0-develop.48 [skip ci]
# [0.2.0-develop.48](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.47...v0.2.0-develop.48) (2023-09-04)

### Bug Fixes

* pass along cid.type, dont force CID_TYPES.RESOLVER ([705590c](705590c7c5))
2023-09-04 07:31:23 +00:00
Derrick Hammer d096b7d62f
Merge remote-tracking branch 'origin/develop' into develop 2023-09-04 03:30:25 -04:00
Derrick Hammer 705590c7c5
fix: pass along cid.type, dont force CID_TYPES.RESOLVER 2023-09-04 03:30:19 -04:00
semantic-release-bot 343bc2eae0 chore(release): 0.2.0-develop.47 [skip ci]
# [0.2.0-develop.47](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.46...v0.2.0-develop.47) (2023-09-04)

### Bug Fixes

* encodeRegistryValue needs to use type and hashType ([880a70f](880a70f153))
2023-09-04 07:20:38 +00:00
Derrick Hammer 9820f7ac0f
Merge remote-tracking branch 'origin/develop' into develop 2023-09-04 03:19:16 -04:00
Derrick Hammer 880a70f153
fix: encodeRegistryValue needs to use type and hashType 2023-09-04 03:16:33 -04:00
semantic-release-bot af58582550 chore(release): 0.2.0-develop.46 [skip ci]
# [0.2.0-develop.46](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.45...v0.2.0-develop.46) (2023-09-04)

### Bug Fixes

* if has is a CID, override arguments with the CID properties unless we have an argument set already ([2c56658](2c56658a6c))
2023-09-04 01:31:16 +00:00
Derrick Hammer 1db8cb7427
Merge remote-tracking branch 'origin/develop' into develop 2023-09-03 21:29:58 -04:00
Derrick Hammer 2c56658a6c
fix: if has is a CID, override arguments with the CID properties unless we have an argument set already 2023-09-03 21:29:51 -04:00
semantic-release-bot 45738130e0 chore(release): 0.2.0-develop.45 [skip ci]
# [0.2.0-develop.45](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.44...v0.2.0-develop.45) (2023-09-04)

### Bug Fixes

* return ret not cid ([34e418b](34e418b47e))
2023-09-04 01:12:32 +00:00
Derrick Hammer f74ee39b9a
Merge remote-tracking branch 'origin/develop' into develop 2023-09-03 21:11:27 -04:00
Derrick Hammer 34e418b47e
fix: return ret not cid 2023-09-03 21:11:21 -04:00
semantic-release-bot cfe89058c3 chore(release): 0.2.0-develop.44 [skip ci]
# [0.2.0-develop.44](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.43...v0.2.0-develop.44) (2023-09-04)
2023-09-04 00:41:10 +00:00
Derrick Hammer c657964cba
Merge remote-tracking branch 'origin/develop' into develop 2023-09-03 20:40:07 -04:00
Derrick Hammer 8451974d6e
refactor: if we have a Uint8Array and matching hash type, strip it 2023-09-03 20:39:56 -04:00
semantic-release-bot d3b8e086ce chore(release): 0.2.0-develop.43 [skip ci]
# [0.2.0-develop.43](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.42...v0.2.0-develop.43) (2023-09-04)

### Bug Fixes

* if we have a Uint8Array but invalid CID_HASH_TYPES, return error ([07a451c](07a451ce5e))
2023-09-04 00:37:19 +00:00
Derrick Hammer f85a2443d3
Merge remote-tracking branch 'origin/develop' into develop 2023-09-03 20:36:18 -04:00
Derrick Hammer 07a451ce5e
fix: if we have a Uint8Array but invalid CID_HASH_TYPES, return error 2023-09-03 20:36:13 -04:00
semantic-release-bot d7a670c5ea chore(release): 0.2.0-develop.42 [skip ci]
# [0.2.0-develop.42](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.41...v0.2.0-develop.42) (2023-09-04)

### Bug Fixes

* update encodeCid overloads and return types ([7dc8067](7dc8067e95))

### Features

* add encodeRegistryCid, encodeRegistryValue, decodeRegistryValue, decodeRegistryCid ([7ce52cb](7ce52cbff7))
2023-09-04 00:22:53 +00:00
Derrick Hammer 043f1657ab
Merge remote-tracking branch 'origin/develop' into develop 2023-09-03 20:21:41 -04:00
Derrick Hammer 7ce52cbff7
feat: add encodeRegistryCid, encodeRegistryValue, decodeRegistryValue, decodeRegistryCid 2023-09-03 20:21:35 -04:00