@lightworkai.official/debug-capture 0.19.1 → 0.19.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/README.md CHANGED
@@ -471,7 +471,20 @@ uses — with calls off for the desk too. The call's card and frame sit above
471
471
  the button. It is not shown when nobody is signed in (`identity` returns
472
472
  null). Something of yours already in that corner (a credit, a pill)? Raise the
473
473
  button above it — `chat: { offset: { y: 68 } }` sits it 12px over a 40px pill
474
- at the bottom (0.19.1: the call's card and the panel follow the offset). Your
474
+ at the bottom (0.19.1: the call's card and the panel follow the offset). Still
475
+ in the way on some page? The person can move it (0.19.2): the button dragged
476
+ settles on the nearer side at the height it was let go, the panel dragged by
477
+ its head stays where it was put — both kept on that device (localStorage,
478
+ per realm), so the next page opens them there; on a phone the panel keeps the
479
+ whole screen. The button wears the support desk's face (its
480
+ `/support-face.webp`, the chat glyph if that cannot load), and says what it is
481
+ beside it — แชทกับทีมงาน until the person first opens it on that device,
482
+ มีข้อความใหม่จากทีมงาน while something waits, and on hover; `chat: { label:
483
+ "…" }` for your own words, `label: false` for none. Those words, the badge and
484
+ the call's card are drawn in your page's own font (read from `<body>`). The
485
+ panel's head has เปิดในระบบแจ้งปัญหา (0.19.3): the same hand-off as
486
+ `openSupportPortal` — its countdown, signed in, a new tab — to the page the
487
+ panel was on (the chat, the person's tickets, or the one open). Your
475
488
  own button instead of ours: `openSupportChat()` /
476
489
  `closeSupportChat()`; on a page with no bundler, `data-chat` and
477
490
  `data-identity-url` on the script tag, and `window.lwOpenSupportChat()`.
package/dist/config.d.ts CHANGED
@@ -217,6 +217,12 @@ export interface ChatOptions {
217
217
  x?: number;
218
218
  y?: number;
219
219
  };
220
+ /**
221
+ * The words beside the bubble (0.19.2) — says what the round button is to someone who never pressed it: shown until
222
+ * they first open the chat on this device, again while something new waits, and on hover. Your own words in place
223
+ * of "แชทกับทีมงาน", or `false` for the button alone.
224
+ */
225
+ label?: string | false;
220
226
  }
221
227
  /** The bubble's place, from `chat`: null when it is off. */
222
228
  export declare function chatPlace(chat: DebugCaptureConfig["chat"]): {