Compare commits

..

3 Commits

Author SHA1 Message Date
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
4 changed files with 11 additions and 10 deletions

View File

@ -1,3 +1,10 @@
# [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](https://git.lumeweb.com/LumeWeb/libweb/commit/705590c7c57b18155752acac4bd8cba79bada742))
# [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)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/libweb",
"version": "0.2.0-develop.47",
"version": "0.2.0-develop.48",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libweb",
"version": "0.2.0-develop.47",
"version": "0.2.0-develop.48",
"dependencies": {
"@lumeweb/community-portals": "^0.1.0-develop.6",
"@lumeweb/libportal": "0.2.0-develop.23",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/libweb",
"version": "0.2.0-develop.47",
"version": "0.2.0-develop.48",
"main": "lib/index.js",
"type": "module",
"repository": {

View File

@ -110,13 +110,7 @@ export function encodeRegistryValue(
}
}
const [ret, err] = encodeCid(
cid.hash,
cid.size,
CID_TYPES.RESOLVER,
hashType,
true,
);
const [ret, err] = encodeCid(cid.hash, cid.size, cid.type, hashType, true);
if (err) {
return [new Uint8Array(), err];