Commit Graph

197 Commits

Author SHA1 Message Date
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
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
Derrick Hammer 7dc8067e95
fix: update encodeCid overloads and return types 2023-09-03 16:13:03 -04:00
semantic-release-bot ca002262c6 chore(release): 0.2.0-develop.41 [skip ci]
# [0.2.0-develop.41](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.40...v0.2.0-develop.41) (2023-09-03)
2023-09-03 17:11:05 +00:00
Derrick Hammer c1913e7ba5
Merge remote-tracking branch 'origin/develop' into develop 2023-09-03 13:10:13 -04:00
Derrick Hammer 2ee2978f20
dep: update libportal 2023-09-03 13:10:09 -04:00
semantic-release-bot bb3eb60761 chore(release): 0.2.0-develop.40 [skip ci]
# [0.2.0-develop.40](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.39...v0.2.0-develop.40) (2023-09-03)
2023-09-03 16:59:04 +00:00
Derrick Hammer d00db820cd
Merge remote-tracking branch 'origin/develop' into develop 2023-09-03 12:57:53 -04:00
Derrick Hammer f1c4f761d8
dep: update libportal 2023-09-03 12:57:49 -04:00
semantic-release-bot 8e0adbfb0f chore(release): 0.2.0-develop.39 [skip ci]
# [0.2.0-develop.39](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.38...v0.2.0-develop.39) (2023-09-03)
2023-09-03 02:59:40 +00:00
Derrick Hammer 700289b71f
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 22:58:29 -04:00
Derrick Hammer 698df86f80
dep: update libportal 2023-09-02 22:58:23 -04:00
semantic-release-bot b64ce75a70 chore(release): 0.2.0-develop.38 [skip ci]
# [0.2.0-develop.38](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.37...v0.2.0-develop.38) (2023-09-02)
2023-09-02 11:50:28 +00:00