@movmo_app/types 1.13.0 → 1.14.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.
@@ -75,8 +75,13 @@ export interface MovmoBookingCompleteMessage {
75
75
  * Rides on BOOKING_FAILED rather than a new message type so that parents
76
76
  * built before v1.6.0 — which already close the overlay on BOOKING_FAILED —
77
77
  * keep working when a newer flights-ui sends an exit they don't understand.
78
+ *
79
+ * 'booking_confirmed' (MOVMO-521) is the success-path exit: the traveler
80
+ * clicked "Return to {airline}" on the booking confirmation. Despite riding
81
+ * on BOOKING_FAILED, the booking itself succeeded — a BOOKING_COMPLETE was
82
+ * already sent for it.
78
83
  */
79
- export type MovmoExitReason = 'search_again' | 'offer_unavailable';
84
+ export type MovmoExitReason = 'search_again' | 'offer_unavailable' | 'booking_confirmed';
80
85
  export interface MovmoBookingFailedMessage {
81
86
  type: MovmoFrameMessageType.BOOKING_FAILED;
82
87
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movmo_app/types",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "description": "A collection of Movmo's types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",