Compare commits

...

3 Commits

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

View File

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

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/libweb",
"version": "0.2.0-develop.48",
"version": "0.2.0-develop.49",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libweb",
"version": "0.2.0-develop.48",
"version": "0.2.0-develop.49",
"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.48",
"version": "0.2.0-develop.49",
"main": "lib/index.js",
"type": "module",
"repository": {

View File

@ -39,7 +39,7 @@ export function encodeCid(
if (typeof hash !== "string" && !(hash instanceof Uint8Array)) {
size = hash.size;
type = type ?? hash.type;
hashType = hashType ?? hash.type;
hashType = hashType ?? hash.hashType;
hash = hash.hash;
}
try {