@ikas/bp-storefront 1.4.0-beta.129 → 1.4.0-beta.130

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.
@@ -728,6 +728,10 @@ export declare function getProductVariantCampaignOffersDiscountPercentage(varian
728
728
  * The discount `amount` is interpreted by `campaign.type`: `"RATIO"` treats it as a percentage,
729
729
  * `"FIXED_AMOUNT"` as an absolute money amount subtracted from the tier total.
730
730
  *
731
+ * `lineItemQuantityRange.min`/`max` are normalized numbers where `0` means "unbounded". In particular
732
+ * `max === 0` marks an open-ended top tier (e.g. "6+" with no upper limit) — render it as "min+" rather
733
+ * than "min–max", and never treat `max` as a real quantity when it is `0`.
734
+ *
731
735
  * Returns an empty array when the variant has no tiered-discount campaign, when a
732
736
  * `PRODUCT_AND_VARIANT` filter excludes this variant, or when no tier defines a quantity range.
733
737
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/bp-storefront",
3
- "version": "1.4.0-beta.129",
3
+ "version": "1.4.0-beta.130",
4
4
  "description": "A framework for the ikas blueprint storefronts.",
5
5
  "author": "ikas",
6
6
  "license": "ISC",