@azzas/azzas-tracker-web 2.0.0-preview.14 → 2.0.0-preview.15
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 +4 -4
- package/dist/mod.cjs.map +1 -1
- package/dist/mod.global.js +4 -4
- package/dist/mod.global.js.map +1 -1
- package/dist/mod.js +4 -4
- package/dist/mod.js.map +1 -1
- package/dist/mod.vtex.global.js +4 -4
- package/package.json +1 -1
package/dist/mod.global.js
CHANGED
|
@@ -1531,7 +1531,7 @@ var AzzasTracker = (() => {
|
|
|
1531
1531
|
line_items: (context) => {
|
|
1532
1532
|
if (context == null ? void 0 : context.line_items) return context.line_items;
|
|
1533
1533
|
if (context == null ? void 0 : context.products) {
|
|
1534
|
-
return context.products.map((item) => item == null ? void 0 : item.inProductGroupWithID).filter((id) => Boolean(id));
|
|
1534
|
+
return context.products.map((item) => item == null ? void 0 : item.inProductGroupWithID).filter((id) => Boolean(id)).join();
|
|
1535
1535
|
}
|
|
1536
1536
|
return null;
|
|
1537
1537
|
},
|
|
@@ -1640,7 +1640,7 @@ var AzzasTracker = (() => {
|
|
|
1640
1640
|
line_items: (context) => {
|
|
1641
1641
|
if (context == null ? void 0 : context.line_items) return context.line_items;
|
|
1642
1642
|
if (context == null ? void 0 : context.products) {
|
|
1643
|
-
return context.products.map((item) => item.productId).filter((id) => Boolean(id));
|
|
1643
|
+
return context.products.map((item) => item.productId).filter((id) => Boolean(id)).join();
|
|
1644
1644
|
}
|
|
1645
1645
|
return null;
|
|
1646
1646
|
},
|
|
@@ -1699,7 +1699,7 @@ var AzzasTracker = (() => {
|
|
|
1699
1699
|
line_items: (context) => {
|
|
1700
1700
|
if (context == null ? void 0 : context.line_items) return context.line_items;
|
|
1701
1701
|
if (context == null ? void 0 : context.products) {
|
|
1702
|
-
return context.products.map((item) => item.id).filter((id) => Boolean(id));
|
|
1702
|
+
return context.products.map((item) => item.id).filter((id) => Boolean(id)).join();
|
|
1703
1703
|
}
|
|
1704
1704
|
return null;
|
|
1705
1705
|
},
|
|
@@ -1887,7 +1887,7 @@ var AzzasTracker = (() => {
|
|
|
1887
1887
|
var _a;
|
|
1888
1888
|
if (context == null ? void 0 : context.line_items) return context.line_items;
|
|
1889
1889
|
if (!((_a = context == null ? void 0 : context.orderForm) == null ? void 0 : _a.items)) return null;
|
|
1890
|
-
return getOrderFormItems(context.orderForm).map((item) => item == null ? void 0 : item.productId).filter((id) => Boolean(id));
|
|
1890
|
+
return getOrderFormItems(context.orderForm).map((item) => item == null ? void 0 : item.productId).filter((id) => Boolean(id)).join();
|
|
1891
1891
|
},
|
|
1892
1892
|
value: (context) => {
|
|
1893
1893
|
var _a;
|