@azzas/azzas-tracker-web 2.0.3-preview.0 → 2.0.3-preview.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.
@@ -3254,8 +3254,8 @@ var AzzasTracker = function() {
3254
3254
  item_name: (_ref3 = item === null || item === void 0 ? void 0 : item.name.replace(item === null || item === void 0 ? void 0 : item.skuName, "").trim()) !== null && _ref3 !== void 0 ? _ref3 : null,
3255
3255
  price: (item === null || item === void 0 ? void 0 : item.sellingPrice) / 100,
3256
3256
  discount: ((item === null || item === void 0 ? void 0 : item.listPrice) - (item === null || item === void 0 ? void 0 : item.sellingPrice)) / 100,
3257
- item_variant: (_ref4 = color === null || color === void 0 ? void 0 : color.toUpperCase()) !== null && _ref4 !== void 0 ? _ref4 : null,
3258
- item_variant2: size !== null && size !== void 0 ? size : null,
3257
+ item_variant: color !== null && color !== void 0 ? color : null,
3258
+ item_variant2: (_ref4 = size === null || size === void 0 ? void 0 : size.toUpperCase()) !== null && _ref4 !== void 0 ? _ref4 : null,
3259
3259
  item_shipping_tier: getItemShippingTier2(context.orderForm, item),
3260
3260
  item_ref: (item === null || item === void 0 ? void 0 : item.productRefId) || (item === null || item === void 0 ? void 0 : item.refId.replace(/_\d+$/, "")) || null,
3261
3261
  item_category: (_getItemCategory7 = getItemCategory7(item)) !== null && _getItemCategory7 !== void 0 ? _getItemCategory7 : null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azzas/azzas-tracker-web",
3
- "version": "2.0.3-preview.0",
3
+ "version": "2.0.3-preview.1",
4
4
  "type": "module",
5
5
  "main": "./dist/mod.cjs",
6
6
  "module": "./dist/mod.js",