@homebound/beam 2.240.0 → 2.240.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/inputs/Value.js +2 -3
- package/package.json +1 -1
package/dist/inputs/Value.js
CHANGED
|
@@ -15,8 +15,7 @@ function keyToValue(key) {
|
|
|
15
15
|
return undefined;
|
|
16
16
|
}
|
|
17
17
|
else if (key.startsWith("__VALUE:boolean:")) {
|
|
18
|
-
|
|
19
|
-
return key.split(":")[2].startsWith("true");
|
|
18
|
+
return (key.split(":")[2] === "true");
|
|
20
19
|
}
|
|
21
20
|
else if (key.startsWith("__VALUE:number")) {
|
|
22
21
|
return Number(key.split(":")[2]);
|
|
@@ -40,7 +39,7 @@ function valueToKey(value) {
|
|
|
40
39
|
return `__VALUE:number:${value}`;
|
|
41
40
|
}
|
|
42
41
|
else if (typeof value === "boolean") {
|
|
43
|
-
return `__VALUE:boolean:${value}
|
|
42
|
+
return `__VALUE:boolean:${value}`;
|
|
44
43
|
}
|
|
45
44
|
else if (value === null) {
|
|
46
45
|
return "__VALUE:null";
|