ublo-lib 1.6.9 → 1.6.11

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.
@@ -23,6 +23,7 @@ const IconPicker = ({
23
23
  return _jsxs("div", {
24
24
  className: css.picker,
25
25
  children: [_jsx(Button, {
26
+ variant: "secondary",
26
27
  onClick: togglePicker,
27
28
  children: _jsx(Icon, {
28
29
  className: css.selectedIcon
@@ -12,7 +12,8 @@ export const MseM = ({
12
12
  payment_type,
13
13
  execcode,
14
14
  items = [],
15
- orderId
15
+ orderId,
16
+ cartId
16
17
  }) => {
17
18
  let name = EVENT_NAMES[event];
18
19
  switch (event) {
@@ -31,12 +32,15 @@ export const MseM = ({
31
32
  }
32
33
  case "checkout":
33
34
  {
34
- sendGoal(name);
35
+ sendGoal(name, {
36
+ cartId
37
+ });
35
38
  break;
36
39
  }
37
40
  case "add_payment_info":
38
41
  {
39
42
  sendGoal(name, {
43
+ cartId,
40
44
  "Payment type": payment_type
41
45
  });
42
46
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.6.9",
3
+ "version": "1.6.11",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^2.1.0",
6
6
  "next": "^12.0.0",