@odynn/awayz-core 0.10.20 → 0.10.22
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.
- package/dist/{TripsService-BLR9VdfV.js → TripsService-B2m7Yy9W.js} +16 -15
- package/dist/assets/noRetryInstance.css +1 -1
- package/dist/cashUtils-Dlce3Uj_.js +40 -0
- package/dist/components/CashValue/CashValue.js +2 -2
- package/dist/components/CashValue/CashValue.stories.js +1 -1
- package/dist/components/ClientPointsValue/ClientPointsValue.js +1 -1
- package/dist/components/Wallet/Card/Card.stories.js +1 -1
- package/dist/hooks/useAwayzAuth/useAwayzAuth.js +2 -2
- package/dist/hooks/useBookingManagement/useBookingManagement.js +2 -2
- package/dist/hooks/useBookingManagement/useBookingManagement.test.js +2 -2
- package/dist/hooks/useFeatureFlags.js +4 -3
- package/dist/hooks/useSearchLimit.js +9 -8
- package/dist/hooks/useTripManagement/useTripManagement.js +3 -3
- package/dist/hooks/useTripManagement/useTripManagement.test.js +3 -3
- package/dist/hooks/useWallet/useWallet.js +2 -2
- package/dist/hooks/useWallet/useWallet.test.js +1 -1
- package/dist/main.js +1 -1
- package/dist/{noRetryInstance-BpBfY3E5.js → noRetryInstance-DNLgOg0E.js} +125 -114
- package/dist/providers/AwayzProvider.js +1 -1
- package/dist/services/account/AccountService.js +3 -2
- package/dist/services/bookings/BookingService.js +22 -21
- package/dist/services/currency/CurrencyService.js +2 -2
- package/dist/services/features/featureService.js +1 -1
- package/dist/services/index.js +1 -1
- package/dist/services/instance.js +5 -4
- package/dist/services/instanceConfig.js +2 -2
- package/dist/services/noRetryInstance.js +1 -1
- package/dist/services/preferences/PreferencesService.js +1 -1
- package/dist/services/rewards/RewardsService.js +10 -9
- package/dist/services/trips/TripsService.js +4 -3
- package/dist/services/wallet/WalletService.js +4 -3
- package/dist/utils/clientPoints.js +2 -2
- package/package.json +1 -1
- package/dist/cashUtils-CJuInOx4.js +0 -33
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
var v = Object.defineProperty;
|
|
2
|
-
var f = (
|
|
3
|
-
var n = (
|
|
2
|
+
var f = (s, e, a) => e in s ? v(s, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : s[e] = a;
|
|
3
|
+
var n = (s, e, a) => f(s, typeof e != "symbol" ? e + "" : e, a);
|
|
4
|
+
import "react/jsx-runtime";
|
|
4
5
|
import "./arrayExtensions-DlcBOj5a.js";
|
|
5
|
-
import { c as i, f as u, b as d, r as D } from "./noRetryInstance-
|
|
6
|
+
import { c as i, f as u, b as d, r as D } from "./noRetryInstance-DNLgOg0E.js";
|
|
6
7
|
import "react";
|
|
7
8
|
import { DEFAULT_LOGO as S } from "./configs/defaultAwayzConfig.js";
|
|
8
9
|
import { EMyTripsEndpoints as o } from "./configs/endpoints.js";
|
|
@@ -70,15 +71,15 @@ class O {
|
|
|
70
71
|
};
|
|
71
72
|
});
|
|
72
73
|
n(this, "addBookingToTrip", async (e, a, t) => {
|
|
73
|
-
const { data:
|
|
74
|
+
const { data: r } = await i.put(o.ADD_BOOKING, {
|
|
74
75
|
trip_id: e,
|
|
75
76
|
booking_id: a,
|
|
76
77
|
booking_type: t
|
|
77
78
|
});
|
|
78
|
-
return
|
|
79
|
+
return r.success;
|
|
79
80
|
});
|
|
80
81
|
n(this, "removeBookingFromTrip", async (e, a, t) => {
|
|
81
|
-
const { data:
|
|
82
|
+
const { data: r } = await i.put(
|
|
82
83
|
o.REMOVE_BOOKING,
|
|
83
84
|
u({
|
|
84
85
|
trip_id: e,
|
|
@@ -86,13 +87,13 @@ class O {
|
|
|
86
87
|
booking_type: t
|
|
87
88
|
})
|
|
88
89
|
);
|
|
89
|
-
return
|
|
90
|
+
return r.success;
|
|
90
91
|
});
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
|
-
const T = (
|
|
94
|
+
const T = (s) => s.map((e) => {
|
|
94
95
|
var c, m, _, l;
|
|
95
|
-
const a = e.slices.length > 1, t = e.slices[0],
|
|
96
|
+
const a = e.slices.length > 1, t = e.slices[0], r = a ? e.slices.getLast() : void 0;
|
|
96
97
|
return d({
|
|
97
98
|
id: e._id,
|
|
98
99
|
reference: e.booking_reference,
|
|
@@ -122,11 +123,11 @@ const T = (r) => r.map((e) => {
|
|
|
122
123
|
cancelledAt: e.cancelled_at,
|
|
123
124
|
isRoundTrip: a,
|
|
124
125
|
outboundArrivalDate: t.arriving_at ?? ((m = (c = t.segments) == null ? void 0 : c.getLast()) == null ? void 0 : m.arriving_at),
|
|
125
|
-
inboundDepartureDate:
|
|
126
|
-
inboundDeparture:
|
|
127
|
-
inboundArrival:
|
|
126
|
+
inboundDepartureDate: r ? r.departing_at ?? ((l = (_ = r.segments) == null ? void 0 : _[0]) == null ? void 0 : l.departing_at) : void 0,
|
|
127
|
+
inboundDeparture: r ? { airportCode: r.origin, location: "" } : void 0,
|
|
128
|
+
inboundArrival: r ? { airportCode: r.destination, location: "" } : void 0
|
|
128
129
|
});
|
|
129
|
-
}), b = (
|
|
130
|
+
}), b = (s) => s.map(
|
|
130
131
|
(e) => d({
|
|
131
132
|
id: e._id,
|
|
132
133
|
reference: e.reference,
|
|
@@ -142,8 +143,8 @@ const T = (r) => r.map((e) => {
|
|
|
142
143
|
bookingId: e.booking_id,
|
|
143
144
|
cancelledAt: e.cancelled_at
|
|
144
145
|
})
|
|
145
|
-
),
|
|
146
|
+
), G = new O();
|
|
146
147
|
export {
|
|
147
148
|
I as D,
|
|
148
|
-
|
|
149
|
+
G as T
|
|
149
150
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.currency-conversion{max-width:fit-content}.currency-conversion svg{fill:var(--primary, #1495f2);transform:scaleX(.75)}.currency-conversion.loading{background-color:var(--border, #e7eef3);background-size:300%;background-position:100% 0;animation:shimmer 2s infinite;color:transparent;padding:0 .5rem;border-radius:.5rem}.currency-conversion-container{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:1rem}.currency-conversion-container>p{font-weight:600}.currency-conversion-container .currency-conversion-amounts{position:relative;display:flex;align-items:center;width:100vw;max-width:300px;border:1px solid var(--border, #e7eef3);border-radius:.5rem}.currency-conversion-container .currency-conversion-amounts div{flex:1;width:50%;padding:1rem;font-weight:600}.currency-conversion-container .currency-conversion-amounts div:first-of-type{border-right:1px solid var(--border, #e7eef3)}.currency-conversion-container .currency-conversion-amounts .conversion-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;background-color:var(--foreground, #fff);color:var(--primary, #1495f2);height:2rem;width:2rem;display:flex;align-items:center;justify-content:center;border:1px solid var(--border, #e7eef3)}.currency-conversion-container .currency-conversion-amounts .conversion-icon svg{fill:var(--primary, #1495f2);width:1rem;height:1rem;transform:scaleX(.75)}.currency-conversion-container .currency-conversion-rate{padding:.5rem 1rem;border-radius:.5rem;background-color:var(--border, #e7eef3);font-size:.8rem}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";*{font-family:Inter,sans-serif!important;margin:0;padding:0;box-sizing:border-box}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.currency-conversion{max-width:fit-content}.currency-conversion sub{vertical-align:text-bottom}.currency-conversion svg{fill:var(--primary, #1495f2);transform:scaleX(.75)}.currency-conversion.loading{background-color:var(--border, #e7eef3);background-size:300%;background-position:100% 0;animation:shimmer 2s infinite;color:transparent;padding:0 .5rem;border-radius:.5rem}.currency-conversion-container{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:1rem}.currency-conversion-container>p{font-weight:600}.currency-conversion-container .currency-conversion-amounts{position:relative;display:flex;align-items:center;width:100vw;max-width:300px;border:1px solid var(--border, #e7eef3);border-radius:.5rem}.currency-conversion-container .currency-conversion-amounts div{flex:1;width:50%;padding:1rem;font-weight:600}.currency-conversion-container .currency-conversion-amounts div:first-of-type{border-right:1px solid var(--border, #e7eef3)}.currency-conversion-container .currency-conversion-amounts .conversion-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;background-color:var(--foreground, #fff);color:var(--primary, #1495f2);height:2rem;width:2rem;display:flex;align-items:center;justify-content:center;border:1px solid var(--border, #e7eef3)}.currency-conversion-container .currency-conversion-amounts .conversion-icon svg{fill:var(--primary, #1495f2);width:1rem;height:1rem;transform:scaleX(.75)}.currency-conversion-container .currency-conversion-rate{padding:.5rem 1rem;border-radius:.5rem;background-color:var(--border, #e7eef3);font-size:.8rem}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsxs as i, Fragment as c, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
const a = "USD", g = (r, t) => {
|
|
3
|
+
const e = t || a, n = new Intl.NumberFormat("en-US");
|
|
4
|
+
if (!r) return `${n.format(0)}${e}`;
|
|
5
|
+
const o = parseFloat(r.toString());
|
|
6
|
+
return /* @__PURE__ */ i(c, { children: [
|
|
7
|
+
n.format(isNaN(o) ? 0 : o),
|
|
8
|
+
" ",
|
|
9
|
+
/* @__PURE__ */ m("sub", { children: e })
|
|
10
|
+
] });
|
|
11
|
+
}, l = (r, t) => {
|
|
12
|
+
const e = t || a, n = new Intl.NumberFormat("en-US", {
|
|
13
|
+
maximumFractionDigits: 0
|
|
14
|
+
});
|
|
15
|
+
return /* @__PURE__ */ i(c, { children: [
|
|
16
|
+
n.format(isNaN(r) ? 0 : r),
|
|
17
|
+
" ",
|
|
18
|
+
/* @__PURE__ */ m("sub", { children: e })
|
|
19
|
+
] });
|
|
20
|
+
}, y = (r, t, e = 0) => {
|
|
21
|
+
const n = parseFloat((r == null ? void 0 : r.toString()) || "0"), o = t || a, s = new Intl.NumberFormat("en-US", {
|
|
22
|
+
maximumFractionDigits: e
|
|
23
|
+
});
|
|
24
|
+
return /* @__PURE__ */ i(c, { children: [
|
|
25
|
+
s.format(isNaN(n) ? 0 : n),
|
|
26
|
+
" ",
|
|
27
|
+
/* @__PURE__ */ m("sub", { children: o })
|
|
28
|
+
] });
|
|
29
|
+
}, F = (r, t = "en") => 0 .toLocaleString(t, {
|
|
30
|
+
style: "currency",
|
|
31
|
+
currency: r,
|
|
32
|
+
minimumFractionDigits: 0,
|
|
33
|
+
maximumFractionDigits: 0
|
|
34
|
+
}).replace(/\d/g, "").trim();
|
|
35
|
+
export {
|
|
36
|
+
l as a,
|
|
37
|
+
g as b,
|
|
38
|
+
F as c,
|
|
39
|
+
y as g
|
|
40
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { useQuery as R } from "@tanstack/react-query";
|
|
3
|
+
import { g as m, a as _, b as N } from "../../cashUtils-Dlce3Uj_.js";
|
|
3
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
4
|
-
import {
|
|
5
|
-
import { E as S } from "../../noRetryInstance-BpBfY3E5.js";
|
|
5
|
+
import { E as S } from "../../noRetryInstance-DNLgOg0E.js";
|
|
6
6
|
import { useMemo as T } from "react";
|
|
7
7
|
import { a as f } from "../../index-C8p5kinH.js";
|
|
8
8
|
import "react-i18next";
|
|
@@ -9,7 +9,7 @@ import { CashValue as n } from "./CashValue.js";
|
|
|
9
9
|
import { EToolTipPosition as t, EInvalidAmountDisplayOption as o } from "./CashValueTypes.js";
|
|
10
10
|
import "@tanstack/react-query";
|
|
11
11
|
import "../../context/AwayzContext.js";
|
|
12
|
-
import "../../noRetryInstance-
|
|
12
|
+
import "../../noRetryInstance-DNLgOg0E.js";
|
|
13
13
|
import "../../configs/awayzClient.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
import { AwayzProvider as a } from "../../providers/AwayzProvider.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { useQuery as c } from "@tanstack/react-query";
|
|
3
3
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
4
4
|
import { c as p } from "../../numberUtils-B4wd-SGR.js";
|
|
5
|
-
import { E as f } from "../../noRetryInstance-
|
|
5
|
+
import { E as f } from "../../noRetryInstance-DNLgOg0E.js";
|
|
6
6
|
import { useMemo as C } from "react";
|
|
7
7
|
import { useAwayzContext as l } from "../../hooks/useAwayzContext.js";
|
|
8
8
|
import "react-i18next";
|
|
@@ -7,7 +7,7 @@ import '../../../assets/_styles6.css';import '../../../assets/_styles5.css';impo
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
import "@tanstack/react-query";
|
|
9
9
|
import "../../../configs/awayzClient.js";
|
|
10
|
-
import "../../../noRetryInstance-
|
|
10
|
+
import "../../../noRetryInstance-DNLgOg0E.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
13
|
import "../../../index-Cv-wvFlM.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { c as P } from "../../cashUtils-Dlce3Uj_.js";
|
|
1
2
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
2
|
-
import {
|
|
3
|
-
import { e as M, A as m, E as N } from "../../noRetryInstance-BpBfY3E5.js";
|
|
3
|
+
import { e as M, A as m, E as N } from "../../noRetryInstance-DNLgOg0E.js";
|
|
4
4
|
import { a as i } from "../../keys-BcBfU51M.js";
|
|
5
5
|
import { useState as f, useCallback as F, useEffect as T } from "react";
|
|
6
6
|
import { awayzClient as R } from "../../configs/awayzClient.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useQuery as g, useMutation as u } from "@tanstack/react-query";
|
|
2
|
+
import "react/jsx-runtime";
|
|
2
3
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as s } from "../../noRetryInstance-
|
|
4
|
+
import { E as s } from "../../noRetryInstance-DNLgOg0E.js";
|
|
4
5
|
import { useState as x } from "react";
|
|
5
|
-
import "react/jsx-runtime";
|
|
6
6
|
import "react-i18next";
|
|
7
7
|
import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
|
|
8
8
|
/* empty css */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EBookingEndpoints as i } from "../../configs/endpoints.js";
|
|
2
|
+
import "react/jsx-runtime";
|
|
2
3
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
3
4
|
import "react";
|
|
4
|
-
import "react/jsx-runtime";
|
|
5
5
|
import "react-i18next";
|
|
6
6
|
import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
|
|
7
7
|
/* empty css */
|
|
@@ -10,7 +10,7 @@ import "@tanstack/react-query";
|
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
12
|
import "../../index-Cv-wvFlM.js";
|
|
13
|
-
import { c } from "../../noRetryInstance-
|
|
13
|
+
import { c } from "../../noRetryInstance-DNLgOg0E.js";
|
|
14
14
|
import "../../context/AwayzContext.js";
|
|
15
15
|
import { useBookingManagement as t } from "./useBookingManagement.js";
|
|
16
16
|
import "../../configs/awayzClient.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useQuery as U } from "@tanstack/react-query";
|
|
2
|
+
import "react/jsx-runtime";
|
|
2
3
|
import "../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as N, t as F } from "../noRetryInstance-
|
|
4
|
+
import { E as N, t as F } from "../noRetryInstance-DNLgOg0E.js";
|
|
4
5
|
import { useMemo as r } from "react";
|
|
5
6
|
import { FeatureService as e } from "../services/features/featureService.js";
|
|
6
7
|
const L = [
|
|
@@ -56,7 +57,7 @@ const L = [
|
|
|
56
57
|
"WALLET_FEATURES"
|
|
57
58
|
];
|
|
58
59
|
var H = /* @__PURE__ */ ((E) => (E.DEFAULT = "default", E.FULL_VCC_PARTIAL_ENABLED = "Full VCC - Partial Enabled", E.FULL_VCC_PARTIAL_DISABLED = "Full VCC - Partial Disabled", E))(H || {}), t = /* @__PURE__ */ ((E) => (E.LIGHT = "light", E.DARK = "dark", E.USER = "user", E))(t || {}), s = /* @__PURE__ */ ((E) => (E.CASH_ONLY = "Cash Only", E.CASH_AND_TRAVEL_PARTNER_POINTS = "Cash And Travel Partner Points", E.CASH_AND_CLIENT_POINTS = "Cash And Client Points", E))(s || {});
|
|
59
|
-
const
|
|
60
|
+
const l = () => {
|
|
60
61
|
const { data: E, isSuccess: R } = U({
|
|
61
62
|
queryKey: [N.FEATURES, "new"],
|
|
62
63
|
queryFn: e.getFeatureFlags,
|
|
@@ -100,5 +101,5 @@ export {
|
|
|
100
101
|
s as EAmountsDisplayFeature,
|
|
101
102
|
H as EBookingPaymentMethod,
|
|
102
103
|
t as EThemeFeatureFlag,
|
|
103
|
-
|
|
104
|
+
l as useFeatureFlags
|
|
104
105
|
};
|
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
import { useQuery as u } from "@tanstack/react-query";
|
|
2
|
+
import "react/jsx-runtime";
|
|
2
3
|
import "../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as m, A as c, b as f } from "../noRetryInstance-
|
|
4
|
+
import { E as m, A as c, b as f } from "../noRetryInstance-DNLgOg0E.js";
|
|
4
5
|
import { useEffect as d } from "react";
|
|
5
6
|
import { useAwayzContext as y } from "./useAwayzContext.js";
|
|
6
|
-
var
|
|
7
|
-
const
|
|
7
|
+
var s = /* @__PURE__ */ ((r) => (r.HOTEL = "Hotel", r.FLIGHT = "Flight", r))(s || {});
|
|
8
|
+
const T = (r) => {
|
|
8
9
|
const { isAuthenticated: o } = y(), { data: t } = u({
|
|
9
10
|
queryKey: [m.SEARCH_LIMIT],
|
|
10
11
|
queryFn: async () => {
|
|
11
|
-
const { data:
|
|
12
|
+
const { data: i, ...e } = await c.getRequestLimit();
|
|
12
13
|
if (!e.success) {
|
|
13
14
|
console.error({ reqLimitError: e });
|
|
14
15
|
return;
|
|
15
16
|
}
|
|
16
|
-
return f(
|
|
17
|
+
return f(i);
|
|
17
18
|
},
|
|
18
19
|
enabled: o
|
|
19
20
|
});
|
|
20
21
|
return d(() => {
|
|
21
22
|
t && (r == null || r());
|
|
22
|
-
}, [t, r]), t ? [
|
|
23
|
-
(
|
|
23
|
+
}, [t, r]), t ? [s.FLIGHT, s.HOTEL].map(
|
|
24
|
+
(i) => t.find((e) => e.searchType === i)
|
|
24
25
|
) : [void 0, void 0];
|
|
25
26
|
};
|
|
26
27
|
export {
|
|
27
|
-
|
|
28
|
+
T as useSearchLimit
|
|
28
29
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useQuery as u, useMutation as p } from "@tanstack/react-query";
|
|
2
|
+
import "react/jsx-runtime";
|
|
2
3
|
import { h as m } from "../../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as e } from "../../noRetryInstance-
|
|
4
|
+
import { E as e } from "../../noRetryInstance-DNLgOg0E.js";
|
|
4
5
|
import "react";
|
|
5
|
-
import "react/jsx-runtime";
|
|
6
6
|
import "react-i18next";
|
|
7
7
|
import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
|
|
8
8
|
/* empty css */
|
|
@@ -13,7 +13,7 @@ import { awayzClient as o } from "../../configs/awayzClient.js";
|
|
|
13
13
|
import "../../index-Cv-wvFlM.js";
|
|
14
14
|
import "../../context/AwayzContext.js";
|
|
15
15
|
/* empty css */
|
|
16
|
-
import { T as n } from "../../TripsService-
|
|
16
|
+
import { T as n } from "../../TripsService-B2m7Yy9W.js";
|
|
17
17
|
const b = ({
|
|
18
18
|
tripId: t,
|
|
19
19
|
tripDetails: s
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
1
2
|
import { h as p } from "../../arrayExtensions-DlcBOj5a.js";
|
|
2
|
-
import { D as f } from "../../TripsService-
|
|
3
|
+
import { D as f } from "../../TripsService-B2m7Yy9W.js";
|
|
3
4
|
import "react";
|
|
4
5
|
import { renderHook as o, waitFor as i } from "../../tests/TestWrapper.js";
|
|
5
6
|
import { EMyTripsEndpoints as c } from "../../configs/endpoints.js";
|
|
6
|
-
import "react/jsx-runtime";
|
|
7
7
|
import "react-i18next";
|
|
8
8
|
import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
11
|
import "@tanstack/react-query";
|
|
12
12
|
import "../../configs/awayzClient.js";
|
|
13
|
-
import { c as d } from "../../noRetryInstance-
|
|
13
|
+
import { c as d } from "../../noRetryInstance-DNLgOg0E.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
16
|
import "../../index-Cv-wvFlM.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useQuery as n, useMutation as s } from "@tanstack/react-query";
|
|
2
|
+
import "react/jsx-runtime";
|
|
2
3
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as a, d as u } from "../../noRetryInstance-
|
|
4
|
+
import { E as a, d as u } from "../../noRetryInstance-DNLgOg0E.js";
|
|
4
5
|
import "react";
|
|
5
|
-
import "react/jsx-runtime";
|
|
6
6
|
import "react-i18next";
|
|
7
7
|
import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '../../assets/_styles5.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles3.css';/* empty css */
|
|
8
8
|
/* empty css */
|
|
@@ -8,7 +8,7 @@ import '../../assets/_styles4.css';import '../../assets/_styles6.css';import '..
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
import "@tanstack/react-query";
|
|
10
10
|
import "../../configs/awayzClient.js";
|
|
11
|
-
import { c as l } from "../../noRetryInstance-
|
|
11
|
+
import { c as l } from "../../noRetryInstance-DNLgOg0E.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
import "../../index-Cv-wvFlM.js";
|
package/dist/main.js
CHANGED
|
@@ -14,7 +14,7 @@ import { useWallet as P } from "./hooks/useWallet/useWallet.js";
|
|
|
14
14
|
import { ECancelStatus as z } from "./hooks/useBookingManagement/useBookingManagement.types.js";
|
|
15
15
|
import { AwayzProvider as M } from "./providers/AwayzProvider.js";
|
|
16
16
|
import { CurrencyService as R } from "./services/currency/CurrencyService.js";
|
|
17
|
-
import { c as H, a as L, g as N, i as O } from "./noRetryInstance-
|
|
17
|
+
import { c as H, a as L, g as N, i as O } from "./noRetryInstance-DNLgOg0E.js";
|
|
18
18
|
import { RewardsService as W } from "./services/rewards/RewardsService.js";
|
|
19
19
|
import { EBookingType as j } from "./services/trips/TripService.types.js";
|
|
20
20
|
import { EAuthFlow as G } from "./types/EAuthFlow.js";
|