@wippy-fe/types-global-proxy 0.0.56 → 0.0.58

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.
Files changed (2) hide show
  1. package/index.d.ts +22 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -347,6 +347,17 @@ var chat = {
347
347
  startChatError: "Failed to start chat",
348
348
  noAgents: "No agents available. Please contact your administrator.",
349
349
  dropFiles: "Drop files here to upload"
350
+ },
351
+ contextMenu: {
352
+ copyConversation: "Copy conversation",
353
+ copySelection: "Copy selection",
354
+ copySessionLink: "Copy session link",
355
+ copySessionJson: "Copy session JSON (debug)",
356
+ copied: "Copied",
357
+ copiedDetail: "Copied to clipboard",
358
+ copyFailed: "Copy failed",
359
+ copyFailedDetail: "Could not copy to clipboard",
360
+ nothingToCopy: "Nothing to copy yet"
350
361
  }
351
362
  };
352
363
  var customPage = {
@@ -528,6 +539,17 @@ interface HostConfig {
528
539
  minFileSize: number;
529
540
  allowHtml: boolean;
530
541
  };
542
+ /**
543
+ * URL template for the chat context menu's "Copy session link" item.
544
+ * `{sessionId}` is substituted (URL-encoded); relative values resolve
545
+ * against the page base URL.
546
+ *
547
+ * Only needed when this host is embedded by a parent that does NOT
548
+ * mirror the host's own `/chat/:id` path — the host cannot read the
549
+ * parent's address bar, so without a template it would offer its own
550
+ * iframe URL. Unset means "derive from the router".
551
+ */
552
+ sessionLinkTemplate?: string;
531
553
  };
532
554
  stateCache?: {
533
555
  maxPages?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wippy-fe/types-global-proxy",
3
- "version": "0.0.56",
3
+ "version": "0.0.58",
4
4
  "description": "Global type declarations for Wippy iframe proxy (window.getWippyApi, $W, etc.)",
5
5
  "license": "UNLICENSED",
6
6
  "types": "index.d.ts",