@eloquentai/chat-sdk 0.37.0-dev.1 → 0.37.0-dev.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.
- package/dist/components/chat/history-reconciliation.d.ts +33 -0
- package/dist/components/chat/hooks/use-realtime-socket.d.ts +9 -4
- package/dist/components/chat/message-mapping.d.ts +0 -8
- package/dist/index.css +1 -1
- package/dist/index.mjs +1026 -996
- package/dist/index.mjs.map +1 -1
- package/dist/lib/message-key.d.ts +6 -0
- package/dist/{skeleton-DuY4ejhj.js → skeleton-DJDQ11eO.js} +2396 -2386
- package/dist/skeleton-DJDQ11eO.js.map +1 -0
- package/dist/types/message.d.ts +8 -0
- package/dist/ui.mjs +1 -1
- package/package.json +1 -1
- package/dist/skeleton-DuY4ejhj.js.map +0 -1
package/dist/types/message.d.ts
CHANGED
|
@@ -28,6 +28,14 @@ export type MessageData = {
|
|
|
28
28
|
isRatingRequest?: boolean;
|
|
29
29
|
isFailed?: boolean;
|
|
30
30
|
isNew?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* The id this message was first shown under, before its server id was known
|
|
33
|
+
* (a send awaiting acknowledgement, or a reply whose realtime event had no
|
|
34
|
+
* message_id). Keeps the message's identity on screen stable.
|
|
35
|
+
*/
|
|
36
|
+
localId?: string;
|
|
37
|
+
/** A notice from the widget itself (e.g. "conversation closed"), not a reply from the agent. */
|
|
38
|
+
isNotice?: boolean;
|
|
31
39
|
};
|
|
32
40
|
export type Message = MessageData;
|
|
33
41
|
export type AttachmentSelection = {
|
package/dist/ui.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as n, C as t, a as r, L as o, M as f, b, R as i, S as l, T as g, u } from "./skeleton-
|
|
1
|
+
import { B as n, C as t, a as r, L as o, M as f, b, R as i, S as l, T as g, u } from "./skeleton-DJDQ11eO.js";
|
|
2
2
|
try {
|
|
3
3
|
let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, a = new e.Error().stack;
|
|
4
4
|
a && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[a] = "f9ed1380-1437-4e00-acb2-cdd914034062", e._sentryDebugIdIdentifier = "sentry-dbid-f9ed1380-1437-4e00-acb2-cdd914034062");
|