@stackedapp/utils 1.17.1 → 1.17.2

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.
@@ -1155,7 +1155,7 @@ const meetsCompletionConditions = ({ completionConditions, completionTrackers, p
1155
1155
  // Evaluate contractInteractions completion trackers
1156
1156
  if (conditions?.contractInteractions) {
1157
1157
  for (const [conditionId, condition] of Object.entries(conditions.contractInteractions)) {
1158
- const baseAmount = condition.amount || 0;
1158
+ const baseAmount = condition.minAmount || 0;
1159
1159
  const trackerGoal = baseAmount * claimMultiplier;
1160
1160
  const trackerAmount = completionTrackers?.contractInteractions?.[conditionId] || 0;
1161
1161
  const isDisqualify = trackerAmount < trackerGoal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackedapp/utils",
3
- "version": "1.17.1",
3
+ "version": "1.17.2",
4
4
  "description": "Public utilities for Stacked platform SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",