@qite/tide-booking-component 1.4.52 → 1.4.53

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.
@@ -31998,7 +31998,7 @@ var QSMContainer = function () {
31998
31998
  nationality: selectedNationality,
31999
31999
  tripType: tripType
32000
32000
  };
32001
- if (askRooms) {
32001
+ if (askRooms && qsmType !== 'flight') {
32002
32002
  payload.rooms = rooms;
32003
32003
  } else {
32004
32004
  payload.travelers = { adults: adults, kids: kids, babies: babies };
@@ -31883,7 +31883,7 @@ var QSMContainer = function () {
31883
31883
  nationality: selectedNationality,
31884
31884
  tripType: tripType
31885
31885
  };
31886
- if (askRooms) {
31886
+ if (askRooms && qsmType !== 'flight') {
31887
31887
  payload.rooms = rooms;
31888
31888
  } else {
31889
31889
  payload.travelers = { adults: adults, kids: kids, babies: babies };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-booking-component",
3
- "version": "1.4.52",
3
+ "version": "1.4.53",
4
4
  "description": "React Booking wizard & Booking product component for Tide",
5
5
  "main": "build/build-cjs/index.js",
6
6
  "types": "build/build-cjs/src/index.d.ts",
@@ -91,7 +91,7 @@ const QSMContainer: React.FC = () => {
91
91
  tripType
92
92
  } as any;
93
93
 
94
- if (askRooms) {
94
+ if (askRooms && qsmType !== 'flight') {
95
95
  payload.rooms = rooms;
96
96
  } else {
97
97
  payload.travelers = { adults, kids, babies };