@blueking/ai-blueking 0.3.10 → 0.3.12
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-helper.d.ts +1 -1
- package/dist/vue2/index.es.min.js +3 -3
- package/dist/vue2/index.iife.min.js +3 -3
- package/dist/vue2/index.umd.min.js +3 -3
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/index.es.min.js +54 -54
- package/dist/vue3/index.iife.min.js +3 -3
- package/dist/vue3/index.umd.min.js +4 -4
- package/dist/vue3/style.css +1 -1
- package/package.json +1 -1
package/dist/chat-helper.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
type HandleStart = (id: number | string) => unknown;
|
|
2
2
|
type HandleReceiveMessage = (message: string, id: number | string) => void;
|
|
3
|
-
type HandleEnd = (id: number | string) => void;
|
|
3
|
+
type HandleEnd = (id: number | string, message?: string) => void;
|
|
4
4
|
type HandleError = (message: string, code: number | string, id: number | string) => unknown;
|
|
5
5
|
export declare class ChatHelper {
|
|
6
6
|
controllerMap: Record<number | string, AbortController>;
|
|
@@ -19797,8 +19797,8 @@ const OE = /* @__PURE__ */ Ft({
|
|
|
19797
19797
|
class: "time-message ai"
|
|
19798
19798
|
}, QE = {
|
|
19799
19799
|
key: 2,
|
|
19800
|
-
width: "
|
|
19801
|
-
height: "
|
|
19800
|
+
width: "16",
|
|
19801
|
+
height: "16",
|
|
19802
19802
|
class: "loading-message",
|
|
19803
19803
|
"aria-hidden": "true"
|
|
19804
19804
|
}, RE = /* @__PURE__ */ ke(
|
|
@@ -20932,7 +20932,7 @@ class E_ {
|
|
|
20932
20932
|
this.handleReceiveMessage(d, n);
|
|
20933
20933
|
break;
|
|
20934
20934
|
case "done":
|
|
20935
|
-
this.handleEnd(n);
|
|
20935
|
+
this.handleEnd(n, d);
|
|
20936
20936
|
break;
|
|
20937
20937
|
case "error":
|
|
20938
20938
|
this.handleError(b, p, n);
|