@signalplus/params-about 1.0.26-alpha20 → 1.0.26-alpha21

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.
Files changed (2) hide show
  1. package/lib/es/index.js +6 -1
  2. package/package.json +1 -1
package/lib/es/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Bundle of @signalplus/params-about
3
3
  * Generated: 2025-11-07
4
- * Version: 1.0.26-alpha20
4
+ * Version: 1.0.26-alpha21
5
5
  * License: MIT
6
6
  * Author: 2631541504@qq.com
7
7
  */
@@ -3460,6 +3460,11 @@ var ParamTypeConfig = (_ParamTypeConfig = {}, _defineProperty(_ParamTypeConfig,
3460
3460
  return "The ".concat(i + 1).concat(i === 0 ? 'st' : i === 1 ? 'nd' : i === 2 ? 'rd' : 'th', " item: delta range's max only support 0 ~ 1");
3461
3461
  }
3462
3462
 
3463
+ if (Number(vegaRule.deltaRange.max) <= Number(vegaRule.deltaRange.min)) {
3464
+ // return zeroErrText(i, "delta range's max", 'max', true);
3465
+ return "The ".concat(i + 1).concat(i === 0 ? 'st' : i === 1 ? 'nd' : i === 2 ? 'rd' : 'th', " item: delta range's max should be > min");
3466
+ }
3467
+
3463
3468
  if (isEmpty(vegaRule.bidEdgeSpan.from)) {
3464
3469
  return emptyErrText(i, "bid edge range's from");
3465
3470
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalplus/params-about",
3
- "version": "1.0.26-alpha20",
3
+ "version": "1.0.26-alpha21",
4
4
  "description": "A description for the module",
5
5
  "main": "./lib/umd/index.js",
6
6
  "module": "./lib/es/index.js",