@azzas/azzas-tracker-web 2.0.2-preview.2 → 2.0.2-preview.3

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.
package/dist/mod.js CHANGED
@@ -1570,7 +1570,7 @@ var reservaAdapter = {
1570
1570
  if (context == null ? void 0 : context.items) return context.items;
1571
1571
  if (context == null ? void 0 : context.products) {
1572
1572
  return context.products.map((item) => {
1573
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C;
1573
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
1574
1574
  const listPrice = (_b = (_a = item == null ? void 0 : item.offers) == null ? void 0 : _a.offers) == null ? void 0 : _b[0].listPrice;
1575
1575
  return {
1576
1576
  quantity: 1,
@@ -1587,12 +1587,12 @@ var reservaAdapter = {
1587
1587
  item_ref: (_o = item.groupRefId) != null ? _o : null,
1588
1588
  item_category: (_p = getItemCategory5(item)) != null ? _p : null,
1589
1589
  item_category2: (_q = getItemCategory23(item)) != null ? _q : null,
1590
- item_id: (_r = item == null ? void 0 : item.id) != null ? _r : null,
1591
- item_sku: (_s = item == null ? void 0 : item.sku) != null ? _s : null,
1592
- item_url: (_u = (_t = item == null ? void 0 : item.seo) == null ? void 0 : _t.canonical) != null ? _u : null,
1593
- image_url: (_w = resizeVtexImage2((_v = item == null ? void 0 : item.image) == null ? void 0 : _v[0].url)) != null ? _w : null,
1594
- seller_id: (_B = (_A = (_z = (_y = (_x = item.offers) == null ? void 0 : _x.offers) == null ? void 0 : _y[0]) == null ? void 0 : _z.seller) == null ? void 0 : _A.identifier) != null ? _B : null,
1595
- item_list_name: (_C = item == null ? void 0 : item.item_list_name) != null ? _C : null
1590
+ item_id: (_s = (_r = item == null ? void 0 : item.isVariantOf) == null ? void 0 : _r.productGroupID) != null ? _s : null,
1591
+ item_sku: (_t = item == null ? void 0 : item.sku) != null ? _t : null,
1592
+ item_url: (_v = (_u = item == null ? void 0 : item.seo) == null ? void 0 : _u.canonical) != null ? _v : null,
1593
+ image_url: (_x = resizeVtexImage2((_w = item == null ? void 0 : item.image) == null ? void 0 : _w[0].url)) != null ? _x : null,
1594
+ seller_id: (_C = (_B = (_A = (_z = (_y = item.offers) == null ? void 0 : _y.offers) == null ? void 0 : _z[0]) == null ? void 0 : _A.seller) == null ? void 0 : _B.identifier) != null ? _C : null,
1595
+ item_list_name: (_D = item == null ? void 0 : item.item_list_name) != null ? _D : null
1596
1596
  };
1597
1597
  });
1598
1598
  }