@qite/tide-booking-component 1.0.16 → 1.0.17

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.
@@ -6961,6 +6961,10 @@ var selectBookingQuery = function (state) {
6961
6961
  AQF: true,
6962
6962
  });
6963
6963
  }
6964
+ if (key === "flight") {
6965
+ var flightInfo = value;
6966
+ value = JsonURL__default["default"].stringify(flightInfo, { AQF: true });
6967
+ }
6964
6968
  params[key] = value;
6965
6969
  });
6966
6970
  return params;
@@ -6950,6 +6950,10 @@ var selectBookingQuery = function (state) {
6950
6950
  AQF: true,
6951
6951
  });
6952
6952
  }
6953
+ if (key === "flight") {
6954
+ var flightInfo = value;
6955
+ value = JsonURL.stringify(flightInfo, { AQF: true });
6956
+ }
6953
6957
  params[key] = value;
6954
6958
  });
6955
6959
  return params;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-booking-component",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "React BookingWizard component for Tide",
5
5
  "main": "build/build-cjs/index.js",
6
6
  "module": "build/build-esm/index.js",
@@ -10,7 +10,7 @@ import { createSelector } from "@reduxjs/toolkit";
10
10
  import { format, parseISO } from "date-fns";
11
11
  import { omit } from "lodash";
12
12
  import { RootState } from "../../store";
13
- import { Room, Traveler } from "../../types";
13
+ import { FlightInfo, Room, Traveler } from "../../types";
14
14
  import { selectNotifications } from "../price-details/price-details-slice";
15
15
  import {
16
16
  selectAgentId,
@@ -121,6 +121,11 @@ export const selectBookingQuery = (state: RootState) => {
121
121
  }
122
122
  );
123
123
  }
124
+ if (key === "flight") {
125
+ var flightInfo = value as FlightInfo;
126
+ value = JsonURL.stringify(flightInfo, { AQF: true });
127
+ }
128
+
124
129
  params[key] = value;
125
130
  });
126
131