@rebuy/rebuy 2.32.0-rc.3 → 2.32.0

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.
@@ -2916,7 +2916,7 @@ var DEFAULT_REACHED2 = "Congratulations! You've unlocked your reward!";
2916
2916
  var IN_SCOPE_TIER_TYPES = /* @__PURE__ */ new Set(["decorative", "discount", "product", "shipping"]);
2917
2917
  var inScope = (tier) => IN_SCOPE_TIER_TYPES.has(tier.type ?? "");
2918
2918
  var tierTypeOf = (tier) => tier.type === "shipping" || tier.type === "discount" || tier.type === "decorative" ? tier.type : "product";
2919
- var thresholdOf = (tier) => tier.unlockConditionType === "item_quantity" ? Math.round(tier.minimum ?? 0) : Math.round((tier.minimum ?? 0) * 100);
2919
+ var thresholdOf = (tier) => tier.unlockConditionType === "item_quantity" ? Math.ceil(tier.minimum ?? 0) : Math.round((tier.minimum ?? 0) * 100);
2920
2920
  var tierThresholds = (tier) => {
2921
2921
  const presentment = tier.presentmentCurrencies;
2922
2922
  if (!presentment?.enabled) return {};