@azzas/azzas-tracker-web 2.0.0-preview.20 → 2.0.0-preview.21
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.cjs +2 -2
- package/dist/mod.cjs.map +1 -1
- package/dist/mod.global.js +2 -2
- package/dist/mod.global.js.map +1 -1
- package/dist/mod.js +2 -2
- package/dist/mod.js.map +1 -1
- package/dist/mod.vtex.global.js +2 -2
- package/package.json +1 -1
package/dist/mod.js
CHANGED
|
@@ -1550,7 +1550,7 @@ var getItemCategory5 = (item) => {
|
|
|
1550
1550
|
};
|
|
1551
1551
|
var getItemCategory23 = (item) => {
|
|
1552
1552
|
var _a, _b, _c, _d;
|
|
1553
|
-
const AVOID_CATEGORIES = /^(outlet|bazar|sale)$/i;
|
|
1553
|
+
const AVOID_CATEGORIES = /^(outlet|bazar|sale|coleção)$/i;
|
|
1554
1554
|
const categories = (_c = (_b = (_a = item == null ? void 0 : item.similarItems) == null ? void 0 : _a[0]) == null ? void 0 : _b.categories) != null ? _c : [];
|
|
1555
1555
|
const validHierarchy = categories.filter((c) => c && !AVOID_CATEGORIES.test(c));
|
|
1556
1556
|
const deepest = (_d = validHierarchy[validHierarchy.length - 1]) != null ? _d : "";
|
|
@@ -2045,7 +2045,7 @@ var orderFormAdapter = {
|
|
|
2045
2045
|
var _a2, _b2;
|
|
2046
2046
|
const selected = (_a2 = item.slas) == null ? void 0 : _a2.find((sla) => sla.id === item.selectedSla);
|
|
2047
2047
|
return total + ((_b2 = selected == null ? void 0 : selected.price) != null ? _b2 : 0);
|
|
2048
|
-
}, 0);
|
|
2048
|
+
}, 0) / 100;
|
|
2049
2049
|
},
|
|
2050
2050
|
shipping_tier: (context) => {
|
|
2051
2051
|
var _a, _b, _c;
|