ublo-lib 1.19.12 → 1.19.13
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.
|
@@ -16,14 +16,6 @@ export const MseM = ({
|
|
|
16
16
|
cartId
|
|
17
17
|
}) => {
|
|
18
18
|
const hoteId = getBusinessProvider();
|
|
19
|
-
console.log("MseM", {
|
|
20
|
-
event,
|
|
21
|
-
payment_type,
|
|
22
|
-
execcode,
|
|
23
|
-
items,
|
|
24
|
-
orderId,
|
|
25
|
-
cartId
|
|
26
|
-
});
|
|
27
19
|
let name = EVENT_NAMES[event];
|
|
28
20
|
switch (event) {
|
|
29
21
|
case "view_item":
|
|
@@ -124,7 +116,7 @@ export const MseM = ({
|
|
|
124
116
|
const PURCHASE_ATTEMPTS_STORAGE_KEY = "purchase_attempts";
|
|
125
117
|
function getPurchaseAttempts() {
|
|
126
118
|
try {
|
|
127
|
-
return JSON.parse(window.localStorage.getItem(PURCHASE_ATTEMPTS_STORAGE_KEY) ||
|
|
119
|
+
return JSON.parse(window.localStorage.getItem(PURCHASE_ATTEMPTS_STORAGE_KEY)) || {};
|
|
128
120
|
} catch (e) {
|
|
129
121
|
return {};
|
|
130
122
|
}
|