ublo-lib 1.26.16 → 1.26.18

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.
@@ -45,6 +45,7 @@ export function MseM({
45
45
  });
46
46
  sendGoal(name, {
47
47
  ...firstProductProps,
48
+ stayFrom: stay?.from,
48
49
  rawData
49
50
  });
50
51
  break;
@@ -59,6 +60,7 @@ export function MseM({
59
60
  });
60
61
  sendGoal(name, {
61
62
  ...firstProductProps,
63
+ stayFrom: stay?.from,
62
64
  rawData
63
65
  }, revenue);
64
66
  break;
@@ -73,6 +75,7 @@ export function MseM({
73
75
  });
74
76
  sendGoal(name, {
75
77
  cartId,
78
+ stayFrom: stay?.from,
76
79
  rawData
77
80
  }, revenue);
78
81
  break;
@@ -89,6 +92,7 @@ export function MseM({
89
92
  sendGoal(name, {
90
93
  cartId,
91
94
  "Payment type": paymentType,
95
+ stayFrom: stay?.from,
92
96
  rawData
93
97
  }, revenue);
94
98
  break;
@@ -112,6 +116,7 @@ export function MseM({
112
116
  cartId,
113
117
  orderId,
114
118
  Code: execcode,
119
+ stayFrom: stay?.from,
115
120
  rawData
116
121
  }, revenue);
117
122
  if (cartId) {
@@ -122,6 +127,7 @@ export function MseM({
122
127
  cartId,
123
128
  orderId,
124
129
  Code: execcode,
130
+ stayFrom: stay?.from,
125
131
  rawData
126
132
  }, revenue);
127
133
  }
@@ -159,9 +165,9 @@ function formatPeekPerformancesItem(items) {
159
165
  });
160
166
  }
161
167
  function getStay() {
162
- const stay = window.localStorage.getItem("stay");
168
+ const stay = window.sessionStorage.getItem("stay");
163
169
  if (stay) {
164
- return stay;
170
+ return JSON.parse(stay);
165
171
  }
166
172
  }
167
173
  function getBusinessProvider() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.26.16",
3
+ "version": "1.26.18",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^3.8.3",
6
6
  "leaflet": "^1.9.1",