@alxxsck/ai-assistant 2.25.3 → 2.25.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.
@@ -30,7 +30,6 @@ type BackendTransportDependencies = {
30
30
  wait?: typeof abortableDelay;
31
31
  pollIntervalMs?: number;
32
32
  maxPolls?: number;
33
- createId?: () => string;
34
33
  };
35
34
  export declare const createBackendChatAttachmentTransport: (config: WidgetConfig, api: Pick<AppApi, "onSessionExpired">, dependencies?: BackendTransportDependencies) => ChatAttachmentTransport;
36
35
  export {};
@@ -1,4 +1,4 @@
1
- import { C as A, E as e, S as s, d as E, c } from "./index-DDvZeFFo.js";
1
+ import { C as A, E as e, S as s, d as E, c } from "./index-1DOqo2bD.js";
2
2
  export {
3
3
  A as ChatWidgetInstance,
4
4
  e as EXTERNALLY_AVAILABLE_ACTIONS,
@@ -2046,7 +2046,7 @@ class Me extends EventTarget {
2046
2046
  async init(t, e) {
2047
2047
  const [i, { mountWidget: r }] = await Promise.all([
2048
2048
  fetch(`${B}/manifest.json`),
2049
- import("./mount-C7CMxso3.js").then((n) => n._)
2049
+ import("./mount-CtHQDVwj.js").then((n) => n._)
2050
2050
  ]);
2051
2051
  if (!i.ok)
2052
2052
  throw new Error(
@@ -1,7 +1,7 @@
1
1
  import { jsx as H, jsxs as lt, Fragment as Ti } from "react/jsx-runtime";
2
2
  import * as R from "react";
3
3
  import Jr, { createContext as Kn, useContext as Pr, useState as he, useRef as q, useMemo as un, useEffect as Y, useCallback as le, useId as Zi, useLayoutEffect as Dn, memo as dl, useSyncExternalStore as eu, Suspense as hl, lazy as fl, Component as pl, createElement as Do } from "react";
4
- import { l as re, L as At, a as ml, n as gl, g as bl, i as Cl, P as yl, S as Il, b as vl, c as Al, o as wl } from "./index-DDvZeFFo.js";
4
+ import { l as re, L as At, a as ml, n as gl, g as bl, i as Cl, P as yl, S as Il, b as vl, c as Al, o as wl } from "./index-1DOqo2bD.js";
5
5
  import { createRoot as Sl } from "react-dom/client";
6
6
  function _o(t) {
7
7
  return typeof t == "object" && t != null && "pathname" in t && "search" in t && "hash" in t && "state" in t && "key" in t;
@@ -18153,7 +18153,7 @@ function iC() {
18153
18153
  });
18154
18154
  let k = null;
18155
18155
  const z = r.onAvatarLoadStarted();
18156
- return import("./Avatar-C3PubeMM.js").then(({ Avatar: x }) => {
18156
+ return import("./Avatar-1SXtYcpL.js").then(({ Avatar: x }) => {
18157
18157
  if (I) return;
18158
18158
  const D = {
18159
18159
  ...r,
@@ -18996,7 +18996,7 @@ function BC(t) {
18996
18996
  ...t.kind === "INFO" && t.message.ordinal !== void 0 ? { presentationOrdinal: t.message.ordinal } : {}
18997
18997
  };
18998
18998
  }
18999
- const VC = 250, zC = fl(() => import("./ChatWidgetContent-Dt6meIg2.js")), GC = (t) => {
18999
+ const VC = 250, zC = fl(() => import("./ChatWidgetContent-Cfqo7BfS.js")), GC = (t) => {
19000
19000
  const e = /* @__PURE__ */ new Set(), n = t.getSnapshot(), r = new Set(
19001
19001
  [n.active, ...n.queue].flatMap(
19002
19002
  (s) => s?.messageId ? [s.messageId] : []
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alxxsck/ai-assistant",
3
3
  "private": false,
4
- "version": "2.25.3",
4
+ "version": "2.25.4",
5
5
  "description": "Embeddable Lola AI assistant library",
6
6
  "type": "module",
7
7
  "main": "dist/bridge-ai-chat-widget.es.js",