@rqmii_immersive/agent-react-sdk 5.4.2 → 5.4.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.
package/dist/ui.js CHANGED
@@ -2857,7 +2857,7 @@ function ve(a) {
2857
2857
  one_time: M,
2858
2858
  content: z
2859
2859
  }
2860
- } : void 0, D = e.consent || e.consent_config || null, A = r.welcome_message || r.welcomeMessage || e.welcome_message || e.welcomeMessage || {}, G = Object.fromEntries(
2860
+ } : void 0, D = e.consent || e.consent_config || null, A = r.welcome_message || r.welcomeMessage || e.welcome_message || e.welcomeMessage || e.welcomeMessages || {}, G = Object.fromEntries(
2861
2861
  Object.entries(A).filter(([, U]) => typeof U == "string").map(([U, J]) => [U, J.slice(0, 1e3)])
2862
2862
  ), N = typeof e.allow_interrupt == "boolean" ? e.allow_interrupt : typeof s.allow_interrupt == "boolean" ? s.allow_interrupt : !0, Y = typeof e.allow_welcome_message_interrupt == "boolean" ? e.allow_welcome_message_interrupt : typeof s.allow_welcome_message_interrupt == "boolean" ? s.allow_welcome_message_interrupt : !1, O = (typeof e.face_image == "string" ? e.face_image : null) || (typeof e.faceImage == "string" ? e.faceImage : null) || null;
2863
2863
  return {
@@ -2875,7 +2875,8 @@ function ve(a) {
2875
2875
  conversation: {
2876
2876
  default_language: d,
2877
2877
  languages: l,
2878
- suggested_messages: x
2878
+ suggested_messages: x,
2879
+ welcome_message: G
2879
2880
  },
2880
2881
  widget: B || void 0,
2881
2882
  consent: D ? {
@@ -4104,7 +4105,7 @@ function Kt({
4104
4105
  "div",
4105
4106
  {
4106
4107
  className: V(
4107
- "rqmii-chat-panel rqmii-chat-panel--start rqmii-chat-panel--consent",
4108
+ "rqmii-chat-panel rqmii-chat-panel--consent",
4108
4109
  Z()
4109
4110
  ),
4110
4111
  dir: oe(a),
@@ -4845,7 +4846,12 @@ function di(a) {
4845
4846
  }, [l.widget?.appearance?.font]), /* @__PURE__ */ t(za, { wsUrl: "", restUrl: "", enableAudio: !1, children: /* @__PURE__ */ t(
4846
4847
  "div",
4847
4848
  {
4848
- className: V("rqmii-chat-surface is-preview", `rqmii-theme-${b}`, o),
4849
+ className: V(
4850
+ "rqmii-chat-surface is-preview",
4851
+ `rqmii-theme-${b}`,
4852
+ l.widget?.appearance?.position === "left" && "rqmii-position-left",
4853
+ o
4854
+ ),
4849
4855
  "data-theme": b,
4850
4856
  style: x,
4851
4857
  dir: "ltr",