@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.global.js
CHANGED
|
@@ -1579,7 +1579,7 @@ var AzzasTracker = (() => {
|
|
|
1579
1579
|
};
|
|
1580
1580
|
var getItemCategory23 = (item) => {
|
|
1581
1581
|
var _a, _b, _c, _d;
|
|
1582
|
-
const AVOID_CATEGORIES = /^(outlet|bazar|sale)$/i;
|
|
1582
|
+
const AVOID_CATEGORIES = /^(outlet|bazar|sale|coleção)$/i;
|
|
1583
1583
|
const categories = (_c = (_b = (_a = item == null ? void 0 : item.similarItems) == null ? void 0 : _a[0]) == null ? void 0 : _b.categories) != null ? _c : [];
|
|
1584
1584
|
const validHierarchy = categories.filter((c) => c && !AVOID_CATEGORIES.test(c));
|
|
1585
1585
|
const deepest = (_d = validHierarchy[validHierarchy.length - 1]) != null ? _d : "";
|
|
@@ -2074,7 +2074,7 @@ var AzzasTracker = (() => {
|
|
|
2074
2074
|
var _a2, _b2;
|
|
2075
2075
|
const selected = (_a2 = item.slas) == null ? void 0 : _a2.find((sla) => sla.id === item.selectedSla);
|
|
2076
2076
|
return total + ((_b2 = selected == null ? void 0 : selected.price) != null ? _b2 : 0);
|
|
2077
|
-
}, 0);
|
|
2077
|
+
}, 0) / 100;
|
|
2078
2078
|
},
|
|
2079
2079
|
shipping_tier: (context) => {
|
|
2080
2080
|
var _a, _b, _c;
|