@ada-cx/messaging-bridge 1.6.0 → 1.6.2

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.
@@ -528,8 +528,10 @@ export interface AppDisplayState {
528
528
  "chat.imageUploadVisible"?: boolean;
529
529
  /** Interactive blocks (quick replies, options) the chatter has already
530
530
  * answered. Includes blocks a later same-conversation user message
531
- * superseded, so the set survives a reload. Filter interactive rows on
532
- * it before enabling them. */
531
+ * superseded, so the set survives a reload. The set can shrink when core
532
+ * withdraws a failed programmatic answer. Read the set on every update
533
+ * before enabling interactive rows. Do not retain an answered state after
534
+ * the set removes its ID. */
533
535
  "chat.answeredInteractiveIds": string[];
534
536
  /** A playbook step is running, so the composer must refuse to send. */
535
537
  "chat.playbookStepExecuting": boolean;
@@ -752,10 +754,10 @@ export interface AppEvents {
752
754
  cursor: string;
753
755
  conversationId?: string;
754
756
  };
755
- /** The user activated a `link` message's preview card. Core resolves the stored
756
- * message for tracking and, for a validated same-tab link, host navigation. */
757
+ /** Report a stored link's click, or navigate an Android WebView through its host. */
757
758
  "chat.link.click": {
758
- messageId: string;
759
+ messageId?: string;
760
+ url?: string;
759
761
  navigateInHost?: boolean;
760
762
  };
761
763
  /** The user activated a link inside a `widget` message's carousel. Core resolves
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-cx/messaging-bridge",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "description": "Types, test mocks, and a thin CDN loader for building a custom app UI on Ada Messaging's bridge contract. The bridge runtime always loads from Ada's CDN.",
5
5
  "type": "module",
6
6
  "license": "ISC",