@managesome/eposmatic-toolkit 0.2.493 → 0.2.494

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.
@@ -1501,7 +1501,7 @@ function getRewardPreviewHashKey(rewardPreview) {
1501
1501
  // The same rule applies to getUnlockedOffersApplicableTimesHashKey and getRewardPreviewHashKey.
1502
1502
  function getOffersWithStatsHashKey({ offersWithStats, totalClaimableOffers, isEdit, itemsCount, itemsPrice, }) {
1503
1503
  const editSegment = isEdit ? 'edit:' : '';
1504
- const cartSegment = `c:${itemsCount ?? 0}:${itemsPrice ?? 0}`;
1504
+ const cartSegment = `c:${itemsCount ?? 0}:${(0, common_1.parseNum)(itemsPrice ?? 0)}`;
1505
1505
  if (offersWithStats.length === 0) {
1506
1506
  return `offers:v1:${editSegment}${cartSegment}:empty:${totalClaimableOffers.length}`;
1507
1507
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.493",
3
+ "version": "0.2.494",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",