@ada-cx/messaging-bridge 1.11.0 → 1.11.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.
@@ -67,6 +67,7 @@ export interface CaptureData {
67
67
  } | null;
68
68
  }
69
69
  export interface ListSelectionData {
70
+ resolvesByIndex?: boolean;
70
71
  cancelCaptureResponseId: string;
71
72
  cancelCaptureLabel: string;
72
73
  isOptional: boolean;
@@ -236,6 +237,8 @@ export interface OptionsMessage extends BaseMessage {
236
237
  export interface SelectableListItem {
237
238
  id: string;
238
239
  text: string;
240
+ /** Zero-based position in the option list the API sent, before display filtering. */
241
+ index?: number;
239
242
  }
240
243
  export interface SelectableListMessage extends BaseMessage {
241
244
  type: "surfaceable_list_selection";
@@ -881,6 +884,7 @@ export interface AppEvents {
881
884
  };
882
885
  "ui.closeButton.click": undefined;
883
886
  "ui.minimizeButton.click": undefined;
887
+ "ui.drawer.dismiss": undefined;
884
888
  "ui.toast.dismiss": undefined;
885
889
  "ui.retryDialog.confirm": undefined;
886
890
  "ui.retryDialog.dismiss": undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-cx/messaging-bridge",
3
- "version": "1.11.0",
3
+ "version": "1.11.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",