widget-chatbot 2.0.4-alpha.2 → 2.0.4

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.
@@ -662,7 +662,7 @@ function ro() {
662
662
  return mn || (mn = 1, process.env.NODE_ENV === "production" ? lt.exports = to() : lt.exports = no()), lt.exports;
663
663
  }
664
664
  var t = ro();
665
- const oo = "2.0.4-alpha.2", Vn = "chat_session", so = "user_uttered", io = "bot_uttered", ao = "ehelp_bot_uttered";
665
+ const oo = "2.0.4-alpha.3", Vn = "chat_session", so = "user_uttered", io = "bot_uttered", ao = "ehelp_bot_uttered";
666
666
  JSON.stringify({
667
667
  enabled_agents: ["Alice", "Maria", "Jani"],
668
668
  default_active_agent: "Alice"
@@ -2040,13 +2040,13 @@ const Le = (e = ".w-wrapper-body") => {
2040
2040
  uriBackend: b = "",
2041
2041
  uriBackendEnt: k = "",
2042
2042
  lang: D = ""
2043
- } = f || {}, R = x === "another" ? i == null ? void 0 : i.getFieldValue("ADDITIONAL_FEEDBACK") : x;
2043
+ } = f || {}, R = x === "another" ? i == null ? void 0 : i.getFieldValue("additional_feedback") : x;
2044
2044
  (U = Je({
2045
2045
  method: "POST",
2046
2046
  url: w,
2047
2047
  data: {
2048
2048
  message_id: e == null ? void 0 : e.id,
2049
- response_type: y === "like" ? "up" : "down",
2049
+ response_type: y === "like" ? "thumbs_up" : "thumbs_down",
2050
2050
  ...y === "dislike" && {
2051
2051
  additional_feedback: R
2052
2052
  }
@@ -2149,7 +2149,7 @@ const Le = (e = ".w-wrapper-body") => {
2149
2149
  ),
2150
2150
  x === "another" && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2151
2151
  /* @__PURE__ */ t.jsx(Ur, { children: s }),
2152
- /* @__PURE__ */ t.jsx(Ce, { form: i, layout: "vertical", children: /* @__PURE__ */ t.jsx(Ce.Item, { name: "ADDITIONAL_FEEDBACK", children: /* @__PURE__ */ t.jsx(st.TextArea, { rows: 3 }) }) })
2152
+ /* @__PURE__ */ t.jsx(Ce, { form: i, layout: "vertical", children: /* @__PURE__ */ t.jsx(Ce.Item, { name: "additional_feedback", children: /* @__PURE__ */ t.jsx(st.TextArea, { rows: 3 }) }) })
2153
2153
  ] })
2154
2154
  ]
2155
2155
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "widget-chatbot",
3
- "version": "2.0.4-alpha.2",
3
+ "version": "2.0.4",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "files": [