@hazae41/bobine 0.0.22 → 0.0.23

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.
@@ -273,6 +273,12 @@ function run(module, method, params, mode, maxsparks) {
273
273
  neq: (left, right) => {
274
274
  return left !== right;
275
275
  },
276
+ min: (left, right) => {
277
+ return left < right ? left : right;
278
+ },
279
+ max: (left, right) => {
280
+ return left > right ? left : right;
281
+ },
276
282
  from_base16: (text) => {
277
283
  return BigInt("0x" + text);
278
284
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@hazae41/bobine",
4
- "version": "0.0.22",
4
+ "version": "0.0.23",
5
5
  "description": "A blockchain in your garage",
6
6
  "repository": "github:hazae41/bobine",
7
7
  "author": "hazae41",