@stigg/react-sdk 5.28.0 → 5.28.1

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.
@@ -1202,7 +1202,9 @@ var currencyPriceFormatter = function currencyPriceFormatter(_ref) {
1202
1202
  maximumFractionDigits: maximumFractionDigits,
1203
1203
  minimumFractionDigits: minimumFractionDigits,
1204
1204
  style: 'currency',
1205
- currency: currencyString
1205
+ currency: currencyString,
1206
+ // @ts-ignore
1207
+ trailingZeroDisplay: 'stripIfInteger'
1206
1208
  }, currencySymbol ? {
1207
1209
  currencyDisplay: 'code'
1208
1210
  } : {})).format(amount || 0);
@@ -1272,7 +1274,8 @@ function getPaidPriceText(_ref) {
1272
1274
  price: currencyPriceFormatter({
1273
1275
  amount: priceNumber,
1274
1276
  currency: currency,
1275
- locale: locale
1277
+ locale: locale,
1278
+ minimumFractionDigits: 2
1276
1279
  }),
1277
1280
  unit: unit,
1278
1281
  tiers: tiers,
@@ -3558,7 +3561,7 @@ function mapPaywallData(paywall, showOnlyEligiblePlans) {
3558
3561
  };
3559
3562
  }
3560
3563
 
3561
- var version = "5.28.0";
3564
+ var version = "5.28.1";
3562
3565
  var name = "@stigg/react-sdk";
3563
3566
 
3564
3567
  var StiggContext = /*#__PURE__*/React__default.createContext(null);