@syntrologie/adapt-chatbot 2.8.0-canary.476 → 2.8.0-canary.477

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.
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AdaptiveChatBar
3
- } from "./chunk-ZUWEPHJN.js";
3
+ } from "./chunk-3BZW3PDY.js";
4
4
  import "./chunk-EWPPVPJ4.js";
5
- import "./chunk-YL2HMBZY.js";
6
- import "./chunk-SEIXJDO4.js";
5
+ import "./chunk-G5JBM4YB.js";
6
+ import "./chunk-KQUL76RT.js";
7
7
  import "./chunk-UVKRO5ER.js";
8
8
  export {
9
9
  AdaptiveChatBar
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  AdaptiveChatTrail,
3
3
  looksLikeSerializedModelResponse
4
- } from "./chunk-YL2HMBZY.js";
5
- import "./chunk-SEIXJDO4.js";
4
+ } from "./chunk-G5JBM4YB.js";
5
+ import "./chunk-KQUL76RT.js";
6
6
  import "./chunk-UVKRO5ER.js";
7
7
  export {
8
8
  AdaptiveChatTrail,
@@ -3,7 +3,7 @@ import {
3
3
  renderFallbackHtml
4
4
  } from "./chunk-5OSLAJGI.js";
5
5
  import "./chunk-EWPPVPJ4.js";
6
- import "./chunk-SEIXJDO4.js";
6
+ import "./chunk-KQUL76RT.js";
7
7
  import "./chunk-EACGDSJI.js";
8
8
  import "./chunk-UVKRO5ER.js";
9
9
  export {
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createDictation,
6
6
  isDictationSupported
7
- } from "./chunk-SEIXJDO4.js";
7
+ } from "./chunk-KQUL76RT.js";
8
8
 
9
9
  // src/AdaptiveChatBar.ts
10
10
  import { html, LitElement, nothing, svg } from "lit";
@@ -548,4 +548,4 @@ if (!customElements.get("adaptive-chat-bar")) {
548
548
  export {
549
549
  AdaptiveChatBar
550
550
  };
551
- //# sourceMappingURL=chunk-ZUWEPHJN.js.map
551
+ //# sourceMappingURL=chunk-3BZW3PDY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderMarkdown
3
- } from "./chunk-SEIXJDO4.js";
3
+ } from "./chunk-KQUL76RT.js";
4
4
 
5
5
  // src/AdaptiveChatTrail.ts
6
6
  import { css, html, LitElement, nothing } from "lit";
@@ -1539,4 +1539,4 @@ export {
1539
1539
  AdaptiveChatTrail,
1540
1540
  looksLikeSerializedModelResponse
1541
1541
  };
1542
- //# sourceMappingURL=chunk-YL2HMBZY.js.map
1542
+ //# sourceMappingURL=chunk-G5JBM4YB.js.map
@@ -2291,7 +2291,7 @@ function createDictation(opts) {
2291
2291
  const result = e.results[i];
2292
2292
  const seg = result[0]?.transcript.trim() ?? "";
2293
2293
  if (!result.isFinal) allFinal = false;
2294
- if (seg && seg !== parts.at(-1)) parts.push(seg);
2294
+ if (seg && seg !== parts[parts.length - 1]) parts.push(seg);
2295
2295
  }
2296
2296
  opts.onTranscript(parts.join(" "), allFinal);
2297
2297
  };
@@ -3988,4 +3988,4 @@ export {
3988
3988
  dompurify/dist/purify.es.mjs:
3989
3989
  (*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE *)
3990
3990
  */
3991
- //# sourceMappingURL=chunk-SEIXJDO4.js.map
3991
+ //# sourceMappingURL=chunk-KQUL76RT.js.map