Compare commits
3 Commits
v0.2.0-dev
...
v0.2.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | b5635a29b0 | |
Derrick Hammer | cfe5f1328c | |
Derrick Hammer | bd108376ba |
|
@ -1,3 +1,10 @@
|
|||
# [0.2.0-develop.20](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.19...v0.2.0-develop.20) (2023-09-02)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* check for only undefined or null on the size ([bd10837](https://git.lumeweb.com/LumeWeb/libportal/commit/bd108376ba33bb3c6b5c25606c5ed032e292e911))
|
||||
|
||||
# [0.2.0-develop.19](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.18...v0.2.0-develop.19) (2023-09-02)
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@lumeweb/libportal",
|
||||
"version": "0.2.0-develop.19",
|
||||
"version": "0.2.0-develop.20",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumeweb/libportal",
|
||||
"version": "0.2.0-develop.19",
|
||||
"version": "0.2.0-develop.20",
|
||||
"dependencies": {
|
||||
"@lumeweb/libs5": "^0.1.0-develop.43",
|
||||
"@lumeweb/node-library-preset": "git+https://git.lumeweb.com/LumeWeb/node-library-preset.git",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lumeweb/libportal",
|
||||
"version": "0.2.0-develop.19",
|
||||
"version": "0.2.0-develop.20",
|
||||
"main": "lib/index.js",
|
||||
"module": "lib/index.mjs",
|
||||
"types": "lib/index.d.ts",
|
||||
|
|
|
@ -35,7 +35,7 @@ export function encodeCid(
|
|||
throw new Error();
|
||||
}
|
||||
|
||||
if (!size) {
|
||||
if (size === undefined || size === null) {
|
||||
throw new Error("size required");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue