@ada-cx/messaging-bridge 1.8.0 → 1.9.0

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.
@@ -86,6 +86,7 @@ export declare const STATE: {
86
86
  readonly CONVERSATION_STATE_DATA_CAPTURE: "conversation.stateData.capture";
87
87
  readonly CONVERSATION_STATE_DATA_LIST_SELECTION: "conversation.stateData.listSelection";
88
88
  readonly CSAT_AUTO_TRIGGER: "csat.autoTrigger";
89
+ readonly CSAT_SUBMIT_SUCCESS_SAME_GENERATION: "csat.submitSuccess.sameGeneration";
89
90
  readonly FILE_TRANSFER: "file.transfer";
90
91
  readonly FILE_UPLOAD_ERROR: "file.uploadError";
91
92
  readonly FEATURE_FLAGS: "featureFlags";
@@ -689,6 +689,8 @@ export interface AppDisplayState {
689
689
  "csat.submitSuccess.seq"?: number;
690
690
  "csat.submitSuccess.surveyType"?: string | null;
691
691
  "csat.submitSuccess.conversationId"?: string | null;
692
+ /** Whether the submission completed in the conversation generation that started it. */
693
+ "csat.submitSuccess.sameGeneration"?: boolean;
692
694
  /** Request->response with no request id: `csat.checkEndChatEligibility`
693
695
  * sets status `loading`, and the answer sets `ready` and bumps the seq.
694
696
  * Latch the seq when asking and treat yourself as pending until it
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ada-cx/messaging-bridge",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
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",