@managesome/eposmatic-toolkit 0.2.578 → 0.2.579

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.
@@ -127,10 +127,10 @@ function getOfferRewardItem(item) {
127
127
  ...item,
128
128
  ...(item.item_special_hours != null
129
129
  ? {
130
- item_special_hours: {
131
- ...item.item_special_hours,
130
+ item_special_hours: item.item_special_hours.map((specialHour) => ({
131
+ ...specialHour,
132
132
  discount_amount: null,
133
- },
133
+ })),
134
134
  }
135
135
  : {}),
136
136
  discount_amount: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.578",
3
+ "version": "0.2.579",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",