@ticketapp-dev/shop-sdk 1.0.51 → 1.0.52

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2619,7 +2619,7 @@ class vt {
2619
2619
  this.debugLog("Order fetched successfully", r);
2620
2620
  const i = r.items, s = i.filter((d) => d.product != null && d.amount > 0).map((d) => {
2621
2621
  let m = D.PRODUCT;
2622
- return d.product.type === "PROMOTER" ? m = D.ADD_ONS : d.product.type === "PICKUP" ? m = D.PICKUP : d.product.type === "DELIVERY" && (m = D.DELIVERY), {
2622
+ return d.product.type === "ADDON" ? m = D.ADD_ONS : d.product.type === "PICKUP" ? m = D.PICKUP : d.product.type === "DELIVERY" && (m = D.DELIVERY), {
2623
2623
  id: d.product.id,
2624
2624
  type: m,
2625
2625
  name: d.product.name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ticketapp-dev/shop-sdk",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "description": "TicketApp Shop SDK",
5
5
  "type": "module",
6
6
  "files": [