Comparing version 0.0.5 to 0.0.6
@@ -21,3 +21,3 @@ const defaultActionBuilderState = { | ||
const params = this.state.params; | ||
const currentMaxOrder = Object.values(params).reduce((prev, cur) => Math.max(prev, cur.order), this.options.matchedParamOrderOffset); | ||
const currentMaxOrder = Object.values(params).reduce((prev, cur) => Math.max(prev, cur.order), this.options.matchedParamOrderOffset - 1); | ||
return currentMaxOrder + 1; | ||
@@ -24,0 +24,0 @@ } |
{ | ||
"name": "bot-action", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8949