@smarter.sh/ui-chat 0.1.2 → 0.1.3

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.
@@ -28552,7 +28552,7 @@ async function yN(r, i, u) {
28552
28552
  async function M8(r, i, u) {
28553
28553
  console.log("fetchPrompt(): config", r);
28554
28554
  const s = r.chatbot.url_chatbot, d = zb(u.sessionCookie, ""), v = mN(s, null, d), m = vN(u), S = D8(i, r), w = hN(m, S), T = await yN(v, w, u);
28555
- return T && T.body ? await JSON.parse(T.body) : null;
28555
+ return T && T.body ? (console.log("fetchPrompt(): parsing responseJson.body "), await JSON.parse(T.body)) : null;
28556
28556
  }
28557
28557
  async function P8(r, i) {
28558
28558
  const u = zb(i.sessionCookie, ""), s = vN(i), d = JSON.stringify({ session_key: u }), v = hN(s, d), m = mN(r, "config/", u), S = await yN(m, v, i);