@n8n/chat 1.31.0 → 1.32.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.
package/dist/chat.es.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Package version @n8n/chat@1.31.0 */
1
+ /*! Package version @n8n/chat@1.32.0 */
2
2
  import * as e from "vue";
3
3
  import { Comment as t, Fragment as n, Teleport as r, Text as i, Transition as a, camelize as o, cloneVNode as s, computed as c, createApp as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createStaticVNode as h, createTextVNode as g, createVNode as _, customRef as v, defineComponent as y, getCurrentInstance as b, getCurrentScope as x, guardReactiveProps as S, h as C, inject as w, isRef as T, mergeDefaults as E, mergeProps as D, nextTick as O, normalizeClass as k, normalizeProps as A, normalizeStyle as j, onBeforeMount as M, onBeforeUnmount as N, onDeactivated as P, onMounted as F, onScopeDispose as I, onUnmounted as ee, onUpdated as L, openBlock as R, popScopeId as te, provide as ne, pushScopeId as re, reactive as ie, readonly as ae, ref as z, renderList as oe, renderSlot as B, resolveComponent as se, resolveDirective as ce, resolveDynamicComponent as le, shallowRef as ue, toDisplayString as V, toHandlerKey as de, toHandlers as fe, toRaw as pe, toRef as me, toRefs as he, toValue as ge, triggerRef as _e, unref as H, useAttrs as ve, useCssModule as ye, useSlots as be, vModelText as xe, vShow as Se, warn as Ce, watch as U, watchEffect as we, watchPostEffect as Te, withCtx as W, withDirectives as Ee, withKeys as De, withModifiers as Oe } from "vue";
4
4
  //#region \0rolldown/runtime.js
@@ -9548,7 +9548,7 @@ var Fne = {
9548
9548
  function L(e, t) {
9549
9549
  if (o.webhookUrl && s.currentSessionId.value) try {
9550
9550
  let n = Ite(o.webhookUrl, e, s.currentSessionId.value, !0, t);
9551
- s.ws = new WebSocket(n);
9551
+ s.ws = new WebSocket(n), s.waitingForResponse.value = !0;
9552
9552
  let r;
9553
9553
  s.ws.onmessage = (e) => {
9554
9554
  let t = e.data, n = t === "n8n|heartbeat" || t === "n8n|continue", i;
@@ -9682,7 +9682,7 @@ var Fne = {
9682
9682
  onRemove: ae
9683
9683
  }, null, 8, ["file"]))), 128))])) : d("", !0)], 4));
9684
9684
  }
9685
- }), [["__scopeId", "data-v-db463bce"]]), Gne = { class: "chat-layout" }, Kne = {
9685
+ }), [["__scopeId", "data-v-e58421ca"]]), Gne = { class: "chat-layout" }, Kne = {
9686
9686
  key: 0,
9687
9687
  class: "chat-header"
9688
9688
  }, qne = {
@@ -15021,7 +15021,7 @@ var Fpe = [
15021
15021
  }), s = ue(null), l = c(() => s.value?.[t.icon] ?? Ape[t.icon] ?? kpe[t.icon] ?? null);
15022
15022
  U(() => t.icon, async (e) => {
15023
15023
  if (typeof e == "string" && e.startsWith("node:") && !s.value) {
15024
- let { nodeIconSet: e } = await import("./node-icons-ChBTxJF8.mjs");
15024
+ let { nodeIconSet: e } = await import("./node-icons-DRuB9eZ3.mjs");
15025
15025
  s.value = e;
15026
15026
  }
15027
15027
  }, { immediate: !0 });
@@ -39218,7 +39218,7 @@ var H_ = (e, t, n) => e ?? t ?? n, qOe = /* @__PURE__ */ Ie({
39218
39218
  }
39219
39219
  ].flatMap((e) => e.slugs.map((t) => [t, e.key])));
39220
39220
  //#endregion
39221
- //#region ../../../../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isArray.js
39221
+ //#region ../../../../node_modules/.pnpm/lodash@4.18.1_patch_hash=81ead1b07fc8efda87bd2724dbd876ab49f4a0aa03f96c3770060b2ea47d9e0b/node_modules/lodash/isArray.js
39222
39222
  var CX = /* @__PURE__ */ G(((e, t) => {
39223
39223
  t.exports = Array.isArray;
39224
39224
  })), tke = /* @__PURE__ */ G(((e, t) => {