@ada-cx/messaging-bridge 1.10.3 → 1.11.1

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.
@@ -74,8 +74,7 @@ export interface ListSelectionData {
74
74
  dataId: string;
75
75
  }
76
76
  /**
77
- * `waiting_for_data`: the bot is blocked on an external system and api asked the
78
- * client to say so. Mirrors core's `conversation.stateData.liveChat` payload.
77
+ * @deprecated api no longer sends this state. Always null. Removed in 2.0.
79
78
  */
80
79
  export interface LiveChatStateData {
81
80
  notificationMessage: string;
@@ -269,12 +268,7 @@ export interface SignInMessage extends BaseMessage {
269
268
  messageLead: string;
270
269
  }
271
270
  /**
272
- * Silent OAuth. api emits this when a Sign In block resolves to a provider the
273
- * chatter is already authenticated with in this browser.
274
- *
275
- * There is no visible UI — the row loads `authLink` in a hidden iframe so the
276
- * provider's existing session cookie completes the flow and api resumes the
277
- * conversation on its own.
271
+ * @deprecated api no longer sends this message. Removed in 2.0.
278
272
  */
279
273
  export interface SeamlessOAuthMessage extends BaseMessage {
280
274
  type: "seamless_oauth";
@@ -308,7 +302,9 @@ export interface CsatMessage extends BaseMessage {
308
302
  netPromoterScore?: number | null;
309
303
  isPositive?: boolean | null;
310
304
  }
311
- export type Message = TextMessage | QuickRepliesMessage | LinkMessage | PictureMessage | VideoMessage | DownloadableMessage | PresenceMessage | QueueBotBlockMessage | SelectableListMessage | OptionsMessage | NotificationPermissionMessage | SeamlessOAuthMessage | SignInMessage | WidgetMessage | CsatMessage;
305
+ export type Message = TextMessage | QuickRepliesMessage | LinkMessage | PictureMessage | VideoMessage | DownloadableMessage | PresenceMessage | QueueBotBlockMessage | SelectableListMessage | OptionsMessage | NotificationPermissionMessage
306
+ /** @deprecated api no longer sends this message. Removed in 2.0. */
307
+ | SeamlessOAuthMessage | SignInMessage | WidgetMessage | CsatMessage;
312
308
  /** Native SDK wrapper hosting the widget; null on the web. */
313
309
  export type SdkPlatform = "IOS" | "ANDROID" | "REACTNATIVE" | null;
314
310
  /**
@@ -478,7 +474,7 @@ export interface AppDisplayState {
478
474
  "conversation.inState"?: boolean;
479
475
  "conversation.stateData.capture": CaptureData | null;
480
476
  "conversation.stateData.listSelection": ListSelectionData | null;
481
- /** `waiting_for_data`: null unless the bot is blocked on an external system. */
477
+ /** @deprecated Always null. Removed in 2.0. */
482
478
  "conversation.stateData.liveChat": LiveChatStateData | null;
483
479
  /** The transcript. Updates on any append/upsert/stream delta/reaction/
484
480
  * history load; array identity changes on EVERY streaming delta, so
@@ -885,6 +881,7 @@ export interface AppEvents {
885
881
  };
886
882
  "ui.closeButton.click": undefined;
887
883
  "ui.minimizeButton.click": undefined;
884
+ "ui.drawer.dismiss": undefined;
888
885
  "ui.toast.dismiss": undefined;
889
886
  "ui.retryDialog.confirm": undefined;
890
887
  "ui.retryDialog.dismiss": undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-cx/messaging-bridge",
3
- "version": "1.10.3",
3
+ "version": "1.11.1",
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",