@2uinc/frontend-component-xpert-chatbot 1.7.0-beta.7 → 1.7.0

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.
@@ -13,7 +13,7 @@ const Jl = {
13
13
  userTracking: {
14
14
  enabled: !0,
15
15
  prefix: "edx",
16
- defaultProperties: null
16
+ payloadParams: null
17
17
  },
18
18
  webExperimentation: {
19
19
  enabled: !1,
@@ -96,7 +96,7 @@ const Jl = {
96
96
  userTracking: {
97
97
  enabled: !0,
98
98
  prefix: "speech.emerson",
99
- defaultProperties: null
99
+ payloadParams: null
100
100
  },
101
101
  webExperimentation: {
102
102
  enabled: !0,
@@ -188,7 +188,7 @@ const Jl = {
188
188
  userTracking: {
189
189
  enabled: !0,
190
190
  prefix: "get.smarter",
191
- defaultProperties: null
191
+ payloadParams: null
192
192
  },
193
193
  webExperimentation: {
194
194
  enabled: !1,
@@ -894,7 +894,7 @@ const No = /* @__PURE__ */ nt(hu), gu = {
894
894
  userTracking: {
895
895
  enabled: !0,
896
896
  prefix: "exec.ed.ss.olc.moodle",
897
- defaultProperties: null
897
+ payloadParams: null
898
898
  },
899
899
  webExperimentation: {
900
900
  enabled: !1,
@@ -1021,7 +1021,7 @@ jo.propTypes = {
1021
1021
  userTracking: Q.shape({
1022
1022
  enabled: Q.bool.isRequired,
1023
1023
  prefix: Q.string.isRequired,
1024
- defaultProperties: Q.object
1024
+ payloadParams: Q.object
1025
1025
  }).isRequired,
1026
1026
  webExperimentation: Q.shape({
1027
1027
  enabled: Q.bool.isRequired,
@@ -10395,14 +10395,14 @@ function Xr({ submitEventExternal: e }) {
10395
10395
  conversationScreen: l
10396
10396
  } = We(Ge), u = vt(Vh), [, s] = we(!1), [c, p] = we(Wh), [m, d] = we(!1), [T, x] = we(!1), [j, v] = we(!1), [C, S] = we(""), [W, q] = we(!1), [M, F] = we(!0), [H, G] = we(!1), [K, A] = we(!1), [b, I] = we(!1), z = tt(null), L = tt(null), U = tt(null), _ = He.get(`${t}-test`) === "1", V = Yt(
10397
10397
  ({ name: R, payload: oe }) => {
10398
- const me = No(r == null ? void 0 : r.defaultProperties, oe);
10398
+ const me = No(r == null ? void 0 : r.payloadParams, oe);
10399
10399
  e ? e({ name: R, payload: me }) : U.current.track(
10400
10400
  // TODO: this is untestable - create a custom hook to get submit event function.
10401
10401
  R,
10402
10402
  me
10403
10403
  );
10404
10404
  },
10405
- [e, r.defaultProperties]
10405
+ [e, r.payloadParams]
10406
10406
  ), re = Yt(async () => {
10407
10407
  if (window != null && window.OnetrustActiveGroups && window.OnetrustActiveGroups.split(",").includes("C0003"))
10408
10408
  try {
@@ -10810,7 +10810,7 @@ Ga.propTypes = {
10810
10810
  xpertKey: N.string
10811
10811
  };
10812
10812
  function Gh({ configurations: e = {}, key: t, submitEventExternal: n, xpertKey: r }) {
10813
- return console.log("xcf configurations", e), /* @__PURE__ */ k.jsx(
10813
+ return /* @__PURE__ */ k.jsx(
10814
10814
  Ga,
10815
10815
  {
10816
10816
  xpertKey: r,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2uinc/frontend-component-xpert-chatbot",
3
- "version": "1.7.0-beta.7",
3
+ "version": "1.7.0",
4
4
  "homepage": "/app/plugins/xpert-chatbot/frontend/build/",
5
5
  "repository": {
6
6
  "type": "git",