@odynn/awayz-hotels 0.1.27 → 0.2.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.
@@ -4,7 +4,7 @@ import { ESearchType as w } from "../../services/hotel/HotelService.types.js";
4
4
  import { HotelChains as t } from "../../definitions/HotelChains.js";
5
5
  import { h as c } from "../../moment-BGjjqtLQ.js";
6
6
  import D from "../../stores/useHotelsStore.js";
7
- import { useAwayzContext as S } from "@odynn/awayz-auth";
7
+ import { useAwayzContext as S } from "@odynn/awayz-core";
8
8
  const _ = (o) => {
9
9
  if (!o.checkinDate || !o.checkoutDate)
10
10
  throw new Error("Checkin and checkout dates are required");
@@ -1,7 +1,7 @@
1
1
  var p = Object.defineProperty;
2
2
  var f = (t, e, a) => e in t ? p(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
3
3
  var c = (t, e, a) => f(t, typeof e != "symbol" ? e + "" : e, a);
4
- import { clientInstance as d } from "@odynn/awayz-auth";
4
+ import { clientInstance as d } from "@odynn/awayz-core";
5
5
  import { EDuffelEndpoints as h } from "../../configs/endpoints.js";
6
6
  import "../../moment-BGjjqtLQ.js";
7
7
  import "../../arrayExtensions-cyilNkdJ.js";
@@ -9,7 +9,7 @@ import { c as h } from "../../objectUtils-CyIaVmog.js";
9
9
  import { E as m } from "../../DateFormats-DZD30Nea.js";
10
10
  import "react";
11
11
  import { EHotelEndpoints as i } from "../../configs/endpoints.js";
12
- import { clientInstance as u } from "@odynn/awayz-auth";
12
+ import { clientInstance as u } from "@odynn/awayz-core";
13
13
  import { EBestCheckoutType as p } from "../../enums/EBestCheckoutType.js";
14
14
  import { EBestValueType as S } from "../../enums/EBestValueType.js";
15
15
  class H {
@@ -2,7 +2,7 @@ var d = Object.defineProperty;
2
2
  var p = (e, r, t) => r in e ? d(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
3
  var s = (e, r, t) => p(e, typeof r != "symbol" ? r + "" : r, t);
4
4
  import { ERewardProgramCategories as o } from "./WalletService.types.js";
5
- import { clientInstance as n } from "@odynn/awayz-auth";
5
+ import { clientInstance as n } from "@odynn/awayz-core";
6
6
  import { EWalletEndpoints as i } from "../../configs/endpoints.js";
7
7
  import "../../moment-BGjjqtLQ.js";
8
8
  import "../../arrayExtensions-cyilNkdJ.js";
@@ -1,4 +1,4 @@
1
- import { awayzClient as u } from "@odynn/awayz-auth";
1
+ import { awayzClient as u } from "@odynn/awayz-core";
2
2
  import { pointsAsCashCards as c } from "../definitions/PointsAsCashCards.js";
3
3
  import { WalletService as l } from "../services/wallet/WalletService.js";
4
4
  const A = async (n) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@odynn/awayz-hotels",
3
3
  "private": false,
4
- "version": "0.1.27",
4
+ "version": "0.2.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -65,7 +65,7 @@
65
65
  ]
66
66
  },
67
67
  "dependencies": {
68
- "@odynn/awayz-auth": "^0.1.24",
68
+ "@odynn/awayz-core": "^0.2.0",
69
69
  "@tanstack/react-query": "^5.66.9"
70
70
  }
71
71
  }