@meshsdk/common 1.6.13 → 1.7.0
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/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1220,7 +1220,7 @@ var MeshValue = class _MeshValue {
|
|
|
1220
1220
|
* @returns boolean
|
|
1221
1221
|
*/
|
|
1222
1222
|
leq = (other) => {
|
|
1223
|
-
return Object.keys(
|
|
1223
|
+
return Object.keys(this.value).every((key) => this.leqUnit(key, other));
|
|
1224
1224
|
};
|
|
1225
1225
|
/**
|
|
1226
1226
|
* Check if the specific unit of value is less than or equal to that unit of another value
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1091,7 +1091,7 @@ var MeshValue = class _MeshValue {
|
|
|
1091
1091
|
* @returns boolean
|
|
1092
1092
|
*/
|
|
1093
1093
|
leq = (other) => {
|
|
1094
|
-
return Object.keys(
|
|
1094
|
+
return Object.keys(this.value).every((key) => this.leqUnit(key, other));
|
|
1095
1095
|
};
|
|
1096
1096
|
/**
|
|
1097
1097
|
* Check if the specific unit of value is less than or equal to that unit of another value
|