@ada-cx/messaging-bridge 1.5.0 → 1.5.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.
@@ -473,9 +473,10 @@ export interface AppDisplayState {
473
473
  * Watch `chat.isGenerating` for "in flight" UI instead. */
474
474
  "chat.isSending": boolean;
475
475
  /** Set when a send fails (also clears the sending/generating flags).
476
- * Cleared ONLY by the `chat.error.dismiss` event — clear it in core
477
- * rather than hiding it locally, or the session's second error renders
478
- * nothing. */
476
+ * Six paths clear it: the next send starting, a retry starting, the service
477
+ * coming back after an outage, a new conversation starting, a full reset, and
478
+ * the `chat.error.dismiss` event. Clear it in core rather than hiding it
479
+ * locally, or the session's second error renders nothing. */
479
480
  "chat.error": string | null;
480
481
  /** Monotonic counter that advances every time core SETS `chat.error` —
481
482
  * including when the new text is identical to the current one (the same
@@ -907,7 +908,8 @@ export interface AppEvents {
907
908
  dataId: string;
908
909
  };
909
910
  "chat.logs.loadMore": undefined;
910
- /** The chatter dismissed the error toast. Clears `chat.error`. */
911
+ /** The chatter dismissed the error. Clears `chat.error`. Ada's own banner
912
+ * carries no dismiss control, so only a custom app sends this. */
911
913
  "chat.error.dismiss": undefined;
912
914
  "csat.submit": {
913
915
  data: CsatSubmitData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-cx/messaging-bridge",
3
- "version": "1.5.0",
3
+ "version": "1.5.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",