@odynn/awayz-hotels 0.6.21 → 0.6.23

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.
@@ -1,18 +1,18 @@
1
- import { ESearchType as e } from "../services/hotel/HotelService.types.js";
1
+ import { ESearchType as t } from "../services/hotel/HotelService.types.js";
2
2
  const o = {
3
- [e.COUNTRY]: 1,
4
- [e.CITY]: 2,
5
- [e.REGION]: 3,
6
- [e.LANDMARK]: 4,
7
- [e.HOTEL]: 5,
8
- [e.AIRPORT]: 6
3
+ [t.COUNTRY]: 1,
4
+ [t.CITY]: 2,
5
+ [t.REGION]: 3,
6
+ [t.LANDMARK]: 4,
7
+ [t.HOTEL]: 5,
8
+ [t.AIRPORT]: 6
9
9
  }, c = 60, i = 15e3, l = {
10
10
  searchId: "duffel_test_hotel_search",
11
- searchType: e.HOTEL,
11
+ searchType: t.HOTEL,
12
12
  description: "Duffel Test Hotel",
13
13
  coordinates: {
14
- latitude: 1e3,
15
- longitude: 1e3
14
+ latitude: 90,
15
+ longitude: 90
16
16
  },
17
17
  country: {
18
18
  name: "test country",
@@ -49,7 +49,7 @@ const Pe = (a) => {
49
49
  rooms: a.rooms,
50
50
  currency: ((c = f == null ? void 0 : f.userRegion) == null ? void 0 : c.currency) || ce,
51
51
  cash_or_points: ["cash", "points"],
52
- use_duffel: m == null ? void 0 : m.useDuffel
52
+ use_duffel: m == null ? void 0 : m.supportsDuffel
53
53
  });
54
54
  },
55
55
  enabled: s && !!e.checkinDate && !!e.checkoutDate,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@odynn/awayz-hotels",
3
3
  "private": false,
4
- "version": "0.6.21",
4
+ "version": "0.6.23",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"