@signalplus/params-about 1.0.26-alpha6 → 1.0.26-alpha7

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 +8 -4
  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
- * Generated: 2025-10-31
4
- * Version: 1.0.26-alpha6
3
+ * Generated: 2025-11-03
4
+ * Version: 1.0.26-alpha7
5
5
  * License: MIT
6
6
  * Author: 2631541504@qq.com
7
7
  */
@@ -3250,8 +3250,12 @@ var ParamTypeConfig = (_ParamTypeConfig = {}, _defineProperty(_ParamTypeConfig,
3250
3250
  return emptyErrText(i, 'expiry');
3251
3251
  }
3252
3252
 
3253
- if (isEmpty(val.vegaTarget) || !Number(val.vegaTarget)) {
3254
- return emptyErrText(i, 'vegaTarget') + ' or 0';
3253
+ if (isEmpty(val.vegaTarget)) {
3254
+ return emptyErrText(i, 'vegaTarget');
3255
+ }
3256
+
3257
+ if (Number(val.vegaTarget) === 0) {
3258
+ return "The ".concat(i + 1).concat(i === 0 ? 'st' : i === 1 ? 'nd' : i === 2 ? 'rd' : 'th', " item: vega target can not be 0");
3255
3259
  }
3256
3260
 
3257
3261
  var $$val = val.vegaRules || [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalplus/params-about",
3
- "version": "1.0.26-alpha6",
3
+ "version": "1.0.26-alpha7",
4
4
  "description": "A description for the module",
5
5
  "main": "./lib/umd/index.js",
6
6
  "module": "./lib/es/index.js",