@lightworkai.official/debug-capture 0.17.4 → 0.19.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/README.md +37 -1
- package/dist/config.d.ts +26 -0
- package/dist/debug-capture.js +41 -11
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +47 -17
- package/dist/live.d.ts +7 -0
- package/dist/server.d.ts +7 -3
- package/dist/server.mjs +7 -6
- package/dist/types.d.ts +2 -0
- package/dist/ui/chatBubble.d.ts +12 -0
- package/dist/ui/strings.d.ts +4 -0
- package/package.json +1 -1
- package/src/config.ts +27 -0
- package/src/embed.ts +12 -1
- package/src/index.ts +6 -0
- package/src/install.ts +11 -0
- package/src/live.ts +27 -6
- package/src/server.ts +16 -9
- package/src/submit.ts +2 -0
- package/src/types.ts +2 -0
- package/src/ui/callFrame.ts +1 -1
- package/src/ui/chatBubble.ts +247 -0
- package/src/ui/ring.ts +2 -2
- package/src/ui/strings.ts +10 -0
package/src/ui/strings.ts
CHANGED
|
@@ -125,6 +125,10 @@ export interface Strings {
|
|
|
125
125
|
ringAnswering: string;
|
|
126
126
|
/** The frame could not come up: answer in a new tab instead. */
|
|
127
127
|
ringFallback: string;
|
|
128
|
+
/** แชทกับทีม's bubble (ui/chatBubble): its name, the panel's, and what waits — `chatUnread` carries `{n}`. */
|
|
129
|
+
chatOpen: string;
|
|
130
|
+
chatTitle: string;
|
|
131
|
+
chatUnread: string;
|
|
128
132
|
}
|
|
129
133
|
|
|
130
134
|
const th: Strings = {
|
|
@@ -214,6 +218,9 @@ const th: Strings = {
|
|
|
214
218
|
ringAnswer: "รับสาย",
|
|
215
219
|
ringAnswering: "กำลังรับสาย…",
|
|
216
220
|
ringFallback: "เปิดสายในหน้านี้ไม่ได้ — รับสายในแท็บใหม่แทน ไม่ต้องเข้าสู่ระบบอีก",
|
|
221
|
+
chatOpen: "แชทกับทีมงาน",
|
|
222
|
+
chatTitle: "แชทกับทีมงาน",
|
|
223
|
+
chatUnread: "{n} ข้อความใหม่จากทีมงาน",
|
|
217
224
|
};
|
|
218
225
|
|
|
219
226
|
const en: Strings = {
|
|
@@ -303,6 +310,9 @@ const en: Strings = {
|
|
|
303
310
|
ringAnswer: "Answer",
|
|
304
311
|
ringAnswering: "Answering…",
|
|
305
312
|
ringFallback: "The call can't open on this page — answer in a new tab instead, already signed in",
|
|
313
|
+
chatOpen: "Chat with support",
|
|
314
|
+
chatTitle: "Chat with support",
|
|
315
|
+
chatUnread: "{n} new from support",
|
|
306
316
|
};
|
|
307
317
|
|
|
308
318
|
export function strings(locale: "th" | "en" | undefined): Strings {
|