@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.
@@ -1165,7 +1165,9 @@ var currencyPriceFormatter = function currencyPriceFormatter(_ref) {
1165
1165
  maximumFractionDigits: maximumFractionDigits,
1166
1166
  minimumFractionDigits: minimumFractionDigits,
1167
1167
  style: 'currency',
1168
- currency: currencyString
1168
+ currency: currencyString,
1169
+ // @ts-ignore
1170
+ trailingZeroDisplay: 'stripIfInteger'
1169
1171
  }, currencySymbol ? {
1170
1172
  currencyDisplay: 'code'
1171
1173
  } : {})).format(amount || 0);
@@ -1235,7 +1237,8 @@ function getPaidPriceText(_ref) {
1235
1237
  price: currencyPriceFormatter({
1236
1238
  amount: priceNumber,
1237
1239
  currency: currency,
1238
- locale: locale
1240
+ locale: locale,
1241
+ minimumFractionDigits: 2
1239
1242
  }),
1240
1243
  unit: unit,
1241
1244
  tiers: tiers,
@@ -3421,7 +3424,7 @@ function mapPaywallData(paywall, showOnlyEligiblePlans) {
3421
3424
  };
3422
3425
  }
3423
3426
 
3424
- var version = "5.28.0";
3427
+ var version = "5.28.1";
3425
3428
  var name = "@stigg/react-sdk";
3426
3429
 
3427
3430
  var StiggContext = /*#__PURE__*/React__default.createContext(null);