@odynn/awayz-core 0.6.35 → 0.6.36
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/{AccountService-1J5lfb5Q.js → AccountService-DHR8seWS.js} +26 -26
- package/dist/{TripsService-IENCtrR_.js → TripsService-C2OJGPHg.js} +1 -1
- package/dist/components/CashValue/CashValue.js +1 -1
- package/dist/components/CashValue/CashValue.stories.js +1 -1
- package/dist/components/Wallet/Card/Card.stories.js +1 -1
- package/dist/hooks/useAwayzAuth/useAwayzAuth.js +1 -1
- package/dist/hooks/useBookingManagement/useBookingManagement.js +1 -1
- package/dist/hooks/useBookingManagement/useBookingManagement.test.js +1 -1
- package/dist/hooks/useFeatureFlags.js +1 -1
- package/dist/hooks/useSearchLimit.js +1 -1
- package/dist/hooks/useTripManagement/useTripManagement.js +2 -2
- package/dist/hooks/useTripManagement/useTripManagement.test.js +2 -2
- package/dist/hooks/useWallet/useWallet.js +1 -1
- package/dist/hooks/useWallet/useWallet.test.js +1 -1
- package/dist/main.js +1 -1
- package/dist/providers/AwayzProvider.js +1 -1
- package/dist/services/account/AccountService.js +1 -1
- package/dist/services/bookings/BookingService.js +1 -1
- package/dist/services/currency/CurrencyService.js +1 -1
- package/dist/services/features/featureService.js +1 -1
- package/dist/services/index.js +1 -1
- package/dist/services/instance.js +1 -1
- package/dist/services/instanceConfig.js +1 -1
- package/dist/services/noRetryInstance.js +1 -1
- package/dist/services/preferences/PreferencesService.js +1 -1
- package/dist/services/rewards/RewardsService.js +1 -1
- package/dist/services/trips/TripsService.js +2 -2
- package/dist/services/wallet/WalletService.js +1 -1
- package/package.json +1 -1
|
@@ -31,9 +31,9 @@ function He(e, t) {
|
|
|
31
31
|
const { toString: St } = Object.prototype, { getPrototypeOf: Re } = Object, { iterator: te, toStringTag: Me } = Symbol, ne = /* @__PURE__ */ ((e) => (t) => {
|
|
32
32
|
const n = St.call(t);
|
|
33
33
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
34
|
-
})(/* @__PURE__ */ Object.create(null)), x = (e) => (e = e.toLowerCase(), (t) => ne(t) === e), re = (e) => (t) => typeof t === e, { isArray: z } = Array,
|
|
34
|
+
})(/* @__PURE__ */ Object.create(null)), x = (e) => (e = e.toLowerCase(), (t) => ne(t) === e), re = (e) => (t) => typeof t === e, { isArray: z } = Array, V = re("undefined");
|
|
35
35
|
function gt(e) {
|
|
36
|
-
return e !== null && !
|
|
36
|
+
return e !== null && !V(e) && e.constructor !== null && !V(e.constructor) && _(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
37
37
|
}
|
|
38
38
|
const je = x("ArrayBuffer");
|
|
39
39
|
function yt(e) {
|
|
@@ -50,7 +50,7 @@ const wt = re("string"), _ = re("function"), ze = re("number"), se = (e) => e !=
|
|
|
50
50
|
return e && (typeof FormData == "function" && e instanceof FormData || _(e.append) && ((t = ne(e)) === "formdata" || // detect form-data instance
|
|
51
51
|
t === "object" && _(e.toString) && e.toString() === "[object FormData]"));
|
|
52
52
|
}, It = x("URLSearchParams"), [Ut, xt, Lt, kt] = ["ReadableStream", "Request", "Response", "Headers"].map(x), Pt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
53
|
-
function
|
|
53
|
+
function v(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
54
54
|
if (e === null || typeof e > "u")
|
|
55
55
|
return;
|
|
56
56
|
let r, s;
|
|
@@ -73,17 +73,17 @@ function Ge(e, t) {
|
|
|
73
73
|
return s;
|
|
74
74
|
return null;
|
|
75
75
|
}
|
|
76
|
-
const q = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, $e = (e) => !
|
|
76
|
+
const q = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, $e = (e) => !V(e) && e !== q;
|
|
77
77
|
function fe() {
|
|
78
78
|
const { caseless: e } = $e(this) && this || {}, t = {}, n = (r, s) => {
|
|
79
79
|
const o = e && Ge(t, s) || s;
|
|
80
80
|
X(t[o]) && X(r) ? t[o] = fe(t[o], r) : X(r) ? t[o] = fe({}, r) : z(r) ? t[o] = r.slice() : t[o] = r;
|
|
81
81
|
};
|
|
82
82
|
for (let r = 0, s = arguments.length; r < s; r++)
|
|
83
|
-
arguments[r] &&
|
|
83
|
+
arguments[r] && v(arguments[r], n);
|
|
84
84
|
return t;
|
|
85
85
|
}
|
|
86
|
-
const Ft = (e, t, n, { allOwnKeys: r } = {}) => (
|
|
86
|
+
const Ft = (e, t, n, { allOwnKeys: r } = {}) => (v(t, (s, o) => {
|
|
87
87
|
n && _(s) ? e[o] = He(s, n) : e[o] = s;
|
|
88
88
|
}, { allOwnKeys: r }), e), Dt = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Bt = (e, t, n, r) => {
|
|
89
89
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
@@ -130,13 +130,13 @@ const Ft = (e, t, n, { allOwnKeys: r } = {}) => (V(t, (s, o) => {
|
|
|
130
130
|
function(n, r, s) {
|
|
131
131
|
return r.toUpperCase() + s;
|
|
132
132
|
}
|
|
133
|
-
), be = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype),
|
|
133
|
+
), be = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Vt = x("RegExp"), Ke = (e, t) => {
|
|
134
134
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
135
|
-
|
|
135
|
+
v(n, (s, o) => {
|
|
136
136
|
let i;
|
|
137
137
|
(i = t(s, o, e)) !== !1 && (r[o] = i || s);
|
|
138
138
|
}), Object.defineProperties(e, r);
|
|
139
|
-
},
|
|
139
|
+
}, vt = (e) => {
|
|
140
140
|
Ke(e, (t, n) => {
|
|
141
141
|
if (_(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
142
142
|
return !1;
|
|
@@ -171,23 +171,23 @@ const Zt = (e) => {
|
|
|
171
171
|
if (!("toJSON" in r)) {
|
|
172
172
|
t[s] = r;
|
|
173
173
|
const o = z(r) ? [] : {};
|
|
174
|
-
return
|
|
174
|
+
return v(r, (i, c) => {
|
|
175
175
|
const f = n(i, s + 1);
|
|
176
|
-
!
|
|
176
|
+
!V(f) && (o[c] = f);
|
|
177
177
|
}), t[s] = void 0, o;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
return r;
|
|
181
181
|
};
|
|
182
182
|
return n(e, 0);
|
|
183
|
-
}, Qt = x("AsyncFunction"), en = (e) => e && (se(e) || _(e)) && _(e.then) && _(e.catch),
|
|
183
|
+
}, Qt = x("AsyncFunction"), en = (e) => e && (se(e) || _(e)) && _(e.then) && _(e.catch), Ve = ((e, t) => e ? setImmediate : t ? ((n, r) => (q.addEventListener("message", ({ source: s, data: o }) => {
|
|
184
184
|
s === q && o === n && r.length && r.shift()();
|
|
185
185
|
}, !1), (s) => {
|
|
186
186
|
r.push(s), q.postMessage(n, "*");
|
|
187
187
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
188
188
|
typeof setImmediate == "function",
|
|
189
189
|
_(q.postMessage)
|
|
190
|
-
), tn = typeof queueMicrotask < "u" ? queueMicrotask.bind(q) : typeof process < "u" && process.nextTick ||
|
|
190
|
+
), tn = typeof queueMicrotask < "u" ? queueMicrotask.bind(q) : typeof process < "u" && process.nextTick || Ve, nn = (e) => e != null && _(e[te]), a = {
|
|
191
191
|
isArray: z,
|
|
192
192
|
isArrayBuffer: je,
|
|
193
193
|
isBuffer: gt,
|
|
@@ -202,17 +202,17 @@ const Zt = (e) => {
|
|
|
202
202
|
isRequest: xt,
|
|
203
203
|
isResponse: Lt,
|
|
204
204
|
isHeaders: kt,
|
|
205
|
-
isUndefined:
|
|
205
|
+
isUndefined: V,
|
|
206
206
|
isDate: Tt,
|
|
207
207
|
isFile: Ot,
|
|
208
208
|
isBlob: At,
|
|
209
|
-
isRegExp:
|
|
209
|
+
isRegExp: Vt,
|
|
210
210
|
isFunction: _,
|
|
211
211
|
isStream: Nt,
|
|
212
212
|
isURLSearchParams: It,
|
|
213
213
|
isTypedArray: jt,
|
|
214
214
|
isFileList: _t,
|
|
215
|
-
forEach:
|
|
215
|
+
forEach: v,
|
|
216
216
|
merge: fe,
|
|
217
217
|
extend: Ft,
|
|
218
218
|
trim: Pt,
|
|
@@ -230,7 +230,7 @@ const Zt = (e) => {
|
|
|
230
230
|
hasOwnProp: be,
|
|
231
231
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
232
232
|
reduceDescriptors: Ke,
|
|
233
|
-
freezeMethods:
|
|
233
|
+
freezeMethods: vt,
|
|
234
234
|
toObjectSet: Jt,
|
|
235
235
|
toCamelCase: Kt,
|
|
236
236
|
noop: Wt,
|
|
@@ -242,7 +242,7 @@ const Zt = (e) => {
|
|
|
242
242
|
toJSONObject: Zt,
|
|
243
243
|
isAsyncFn: Qt,
|
|
244
244
|
isThenable: en,
|
|
245
|
-
setImmediate:
|
|
245
|
+
setImmediate: Ve,
|
|
246
246
|
asap: tn,
|
|
247
247
|
isIterable: nn
|
|
248
248
|
};
|
|
@@ -270,7 +270,7 @@ a.inherits(E, Error, {
|
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
|
-
const
|
|
273
|
+
const ve = E.prototype, Je = {};
|
|
274
274
|
[
|
|
275
275
|
"ERR_BAD_OPTION_VALUE",
|
|
276
276
|
"ERR_BAD_OPTION",
|
|
@@ -289,9 +289,9 @@ const Ve = E.prototype, Je = {};
|
|
|
289
289
|
Je[e] = { value: e };
|
|
290
290
|
});
|
|
291
291
|
Object.defineProperties(E, Je);
|
|
292
|
-
Object.defineProperty(
|
|
292
|
+
Object.defineProperty(ve, "isAxiosError", { value: !0 });
|
|
293
293
|
E.from = (e, t, n, r, s, o) => {
|
|
294
|
-
const i = Object.create(
|
|
294
|
+
const i = Object.create(ve);
|
|
295
295
|
return a.toFlatObject(e, i, function(f) {
|
|
296
296
|
return f !== Error.prototype;
|
|
297
297
|
}, (c) => c !== "isAxiosError"), E.call(i, e.message, t, n, r, s), i.cause = e, i.name = e.name, o && Object.assign(i, o), i;
|
|
@@ -1529,7 +1529,7 @@ a.forEach(["post", "put", "patch"], function(t) {
|
|
|
1529
1529
|
}
|
|
1530
1530
|
H.prototype[t] = n(), H.prototype[t + "Form"] = n(!0);
|
|
1531
1531
|
});
|
|
1532
|
-
let
|
|
1532
|
+
let Vn = class ct {
|
|
1533
1533
|
constructor(t) {
|
|
1534
1534
|
if (typeof t != "function")
|
|
1535
1535
|
throw new TypeError("executor must be a function.");
|
|
@@ -1602,7 +1602,7 @@ let vn = class ct {
|
|
|
1602
1602
|
};
|
|
1603
1603
|
}
|
|
1604
1604
|
};
|
|
1605
|
-
function
|
|
1605
|
+
function vn(e) {
|
|
1606
1606
|
return function(n) {
|
|
1607
1607
|
return e.apply(null, n);
|
|
1608
1608
|
};
|
|
@@ -1687,7 +1687,7 @@ function ut(e) {
|
|
|
1687
1687
|
const y = ut(J);
|
|
1688
1688
|
y.Axios = H;
|
|
1689
1689
|
y.CanceledError = G;
|
|
1690
|
-
y.CancelToken =
|
|
1690
|
+
y.CancelToken = Vn;
|
|
1691
1691
|
y.isCancel = et;
|
|
1692
1692
|
y.VERSION = at;
|
|
1693
1693
|
y.toFormData = oe;
|
|
@@ -1696,7 +1696,7 @@ y.Cancel = y.CanceledError;
|
|
|
1696
1696
|
y.all = function(t) {
|
|
1697
1697
|
return Promise.all(t);
|
|
1698
1698
|
};
|
|
1699
|
-
y.spread =
|
|
1699
|
+
y.spread = vn;
|
|
1700
1700
|
y.isAxiosError = Jn;
|
|
1701
1701
|
y.mergeConfig = M;
|
|
1702
1702
|
y.AxiosHeaders = N;
|
|
@@ -1721,7 +1721,7 @@ const {
|
|
|
1721
1721
|
formToJSON: Ir,
|
|
1722
1722
|
getAdapter: Ur,
|
|
1723
1723
|
mergeConfig: xr
|
|
1724
|
-
} = y, Xn = (e) => (e.baseURL = qe(), e.headers.Authorization = localStorage.getItem(I.TOKEN), e.headers["client-id"] = localStorage.getItem(I.CLIENT_ID), e.metadata = { startTime: /* @__PURE__ */ new Date() }, { ...e }), Yn = (e) => (e.baseURL = dt(), e.headers.Authorization = localStorage.getItem(I.TOKEN), e.headers["client-id"] = localStorage.getItem(I.CLIENT_ID), e.metadata = { startTime: /* @__PURE__ */ new Date() }, { ...e }), Fe = (e, t, n) => {
|
|
1724
|
+
} = y, Xn = (e) => (e.baseURL = qe(), e.headers.Authorization = localStorage.getItem(I.TOKEN), e.headers["client-id"] = localStorage.getItem(I.CLIENT_ID), e.metadata = { startTime: /* @__PURE__ */ new Date() }, { ...e }), Yn = (e) => (e.baseURL = dt(), e.headers.Authorization = localStorage.getItem(I.TOKEN), e.headers["client-id"] = localStorage.getItem(I.CLIENT_ID), e.headers["Api-Version"] = "1.0", e.metadata = { startTime: /* @__PURE__ */ new Date() }, { ...e }), Fe = (e, t, n) => {
|
|
1725
1725
|
for (const r of e)
|
|
1726
1726
|
t ? r.rej(t) : r.res(n);
|
|
1727
1727
|
}, Zn = async (e) => new Promise((t, n) => {
|
|
@@ -2,7 +2,7 @@ var m = Object.defineProperty;
|
|
|
2
2
|
var g = (r, e, s) => e in r ? m(r, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : r[e] = s;
|
|
3
3
|
var t = (r, e, s) => g(r, typeof e != "symbol" ? e + "" : e, s);
|
|
4
4
|
import "./arrayExtensions-DlcBOj5a.js";
|
|
5
|
-
import { c as n, j as p, a as c, r as T } from "./AccountService-
|
|
5
|
+
import { c as n, j as p, a as c, r as T } from "./AccountService-DHR8seWS.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { EMyTripsEndpoints as i } from "./configs/endpoints.js";
|
|
8
8
|
import { EBookingType as l } from "./services/trips/TripService.types.js";
|
|
@@ -6,7 +6,7 @@ import { r as yt, R as gt } from "../../index-Cv-wvFlM.js";
|
|
|
6
6
|
import { useQuery as Ct } from "@tanstack/react-query";
|
|
7
7
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
8
8
|
import { a as Et, b as ue, c as j } from "../../cashUtils-BDa0CVyi.js";
|
|
9
|
-
import { E as wt } from "../../AccountService-
|
|
9
|
+
import { E as wt } from "../../AccountService-DHR8seWS.js";
|
|
10
10
|
import { c as pe } from "../../index-c5toY3Pm.js";
|
|
11
11
|
import { EInvalidAmountDisplayOption as S, EToolTipPosition as Pt } from "./CashValueTypes.js";
|
|
12
12
|
import '../../assets/_styles5.css';import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';/* empty css */
|
|
@@ -11,7 +11,7 @@ import "react-i18next";
|
|
|
11
11
|
import "../../configs/awayzClient.js";
|
|
12
12
|
import "../../context/AwayzContext.js";
|
|
13
13
|
import "@tanstack/react-query";
|
|
14
|
-
import "../../AccountService-
|
|
14
|
+
import "../../AccountService-DHR8seWS.js";
|
|
15
15
|
import { AwayzProvider as a } from "../../providers/AwayzProvider.js";
|
|
16
16
|
import "../../services/noRetryInstance.js";
|
|
17
17
|
import { EAuthFlow as i } from "../../types/EAuthFlow.js";
|
|
@@ -3,7 +3,7 @@ import "@tanstack/react-query";
|
|
|
3
3
|
import "../../../arrayExtensions-DlcBOj5a.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../../../configs/awayzClient.js";
|
|
6
|
-
import "../../../AccountService-
|
|
6
|
+
import "../../../AccountService-DHR8seWS.js";
|
|
7
7
|
import '../../../assets/_styles4.css';import '../../../assets/_styles3.css';import '../../../assets/_styles2.css';import '../../../assets/_styles5.css';/* empty css */
|
|
8
8
|
import { Card as r } from "./Card.js";
|
|
9
9
|
import "react-i18next";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
2
2
|
import { g as P } from "../../cashUtils-BDa0CVyi.js";
|
|
3
|
-
import { f as M, A as l, E as K } from "../../AccountService-
|
|
3
|
+
import { f as M, A as l, E as K } from "../../AccountService-DHR8seWS.js";
|
|
4
4
|
import { a as c } from "../../keys-BcBfU51M.js";
|
|
5
5
|
import { useState as f, useCallback as I, useEffect as S } from "react";
|
|
6
6
|
import { awayzClient as R } from "../../configs/awayzClient.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useQuery as g, useMutation as c } from "@tanstack/react-query";
|
|
2
2
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as o } from "../../AccountService-
|
|
3
|
+
import { E as o } from "../../AccountService-DHR8seWS.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react/jsx-runtime";
|
|
6
6
|
import { awayzClient as v } from "../../configs/awayzClient.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EBookingEndpoints as i } from "../../configs/endpoints.js";
|
|
2
|
-
import { c } from "../../AccountService-
|
|
2
|
+
import { c } from "../../AccountService-DHR8seWS.js";
|
|
3
3
|
import "../../services/noRetryInstance.js";
|
|
4
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../arrayExtensions-DlcBOj5a.js";
|
|
2
|
-
import { t as F } from "../AccountService-
|
|
2
|
+
import { t as F } from "../AccountService-DHR8seWS.js";
|
|
3
3
|
import { useState as e, useEffect as S } from "react";
|
|
4
4
|
import { FeatureService as a } from "../services/features/featureService.js";
|
|
5
5
|
const r = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useQuery as u } from "@tanstack/react-query";
|
|
2
2
|
import "../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as m, A as c, a as f } from "../AccountService-
|
|
3
|
+
import { E as m, A as c, a as f } from "../AccountService-DHR8seWS.js";
|
|
4
4
|
import { useEffect as d } from "react";
|
|
5
5
|
import { useAwayzContext as y } from "./useAwayzContext.js";
|
|
6
6
|
var i = /* @__PURE__ */ ((r) => (r.HOTEL = "Hotel", r.FLIGHT = "Flight", r))(i || {});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useQuery as p, useMutation as s } from "@tanstack/react-query";
|
|
2
2
|
import { h as m } from "../../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as e } from "../../AccountService-
|
|
3
|
+
import { E as e } from "../../AccountService-DHR8seWS.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import { T as t } from "../../TripsService-
|
|
5
|
+
import { T as t } from "../../TripsService-C2OJGPHg.js";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import { awayzClient as o } from "../../configs/awayzClient.js";
|
|
8
8
|
import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles5.css';/* empty css */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h as p } from "../../arrayExtensions-DlcBOj5a.js";
|
|
2
|
-
import { D as f } from "../../TripsService-
|
|
2
|
+
import { D as f } from "../../TripsService-C2OJGPHg.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { renderHook as o, waitFor as i } from "../../tests/TestWrapper.js";
|
|
5
5
|
import { EMyTripsEndpoints as c } from "../../configs/endpoints.js";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "@tanstack/react-query";
|
|
8
8
|
import "../../configs/awayzClient.js";
|
|
9
|
-
import { c as d } from "../../AccountService-
|
|
9
|
+
import { c as d } from "../../AccountService-DHR8seWS.js";
|
|
10
10
|
import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles5.css';/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
12
|
import "react-i18next";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useQuery as n, useMutation as i } from "@tanstack/react-query";
|
|
2
2
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
3
|
-
import { E as a, b as u } from "../../AccountService-
|
|
3
|
+
import { E as a, b as u } from "../../AccountService-DHR8seWS.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react/jsx-runtime";
|
|
6
6
|
import { awayzClient as s } from "../../configs/awayzClient.js";
|
|
@@ -4,7 +4,7 @@ import "@tanstack/react-query";
|
|
|
4
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "../../configs/awayzClient.js";
|
|
7
|
-
import { c as l } from "../../AccountService-
|
|
7
|
+
import { c as l } from "../../AccountService-DHR8seWS.js";
|
|
8
8
|
import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';import '../../assets/_styles5.css';/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
import "react-i18next";
|
package/dist/main.js
CHANGED
|
@@ -11,7 +11,7 @@ import { useSearchLimit as B } from "./hooks/useSearchLimit.js";
|
|
|
11
11
|
import { useTripManagement as k } from "./hooks/useTripManagement/useTripManagement.js";
|
|
12
12
|
import { useWallet as z } from "./hooks/useWallet/useWallet.js";
|
|
13
13
|
import { AwayzProvider as T } from "./providers/AwayzProvider.js";
|
|
14
|
-
import { c as S, i as F } from "./AccountService-
|
|
14
|
+
import { c as S, i as F } from "./AccountService-DHR8seWS.js";
|
|
15
15
|
import { clientNoRetryInstance as P } from "./services/noRetryInstance.js";
|
|
16
16
|
import { CurrencyService as D } from "./services/currency/CurrencyService.js";
|
|
17
17
|
import { EBookingType as L } from "./services/trips/TripService.types.js";
|
|
@@ -10,7 +10,7 @@ import { AwayzContext as w } from "../context/AwayzContext.js";
|
|
|
10
10
|
import { useAwayzAuth as y } from "../hooks/useAwayzAuth/useAwayzAuth.js";
|
|
11
11
|
import A from "../hooks/useFeatureFlags.js";
|
|
12
12
|
import { awayzClient as F } from "../configs/awayzClient.js";
|
|
13
|
-
import "../AccountService-
|
|
13
|
+
import "../AccountService-DHR8seWS.js";
|
|
14
14
|
import '../assets/_styles4.css';import '../assets/_styles3.css';import '../assets/_styles2.css';import '../assets/_styles.css';import '../assets/_styles5.css';/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
16
|
import "react-i18next";
|
|
@@ -2,7 +2,7 @@ var m = Object.defineProperty;
|
|
|
2
2
|
var p = (n, e, a) => e in n ? m(n, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : n[e] = a;
|
|
3
3
|
var c = (n, e, a) => p(n, typeof e != "symbol" ? e + "" : e, a);
|
|
4
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
5
|
-
import { c as r, a as _ } from "../../AccountService-
|
|
5
|
+
import { c as r, a as _ } from "../../AccountService-DHR8seWS.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { EBookingEndpoints as d } from "../../configs/endpoints.js";
|
|
8
8
|
const g = (n) => {
|
|
@@ -2,7 +2,7 @@ import '../../assets/_styles4.css';import '../../assets/_styles3.css';import '..
|
|
|
2
2
|
var m = (t, r, e) => r in t ? y(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var n = (t, r, e) => m(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
5
|
-
import { A as C, E, c as s } from "../../AccountService-
|
|
5
|
+
import { A as C, E, c as s } from "../../AccountService-DHR8seWS.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { ECurrencyEndpoints as i } from "../../configs/endpoints.js";
|
|
8
8
|
import "react/jsx-runtime";
|
package/dist/services/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as o, i as t } from "../AccountService-
|
|
1
|
+
import { c as o, i as t } from "../AccountService-DHR8seWS.js";
|
|
2
2
|
import { clientNoRetryInstance as c } from "./noRetryInstance.js";
|
|
3
3
|
import { CurrencyService as a } from "./currency/CurrencyService.js";
|
|
4
4
|
import { EBookingType as s } from "./trips/TripService.types.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../arrayExtensions-DlcBOj5a.js";
|
|
2
2
|
import "../keys-BcBfU51M.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { c as r, g as s, i as c } from "../AccountService-
|
|
4
|
+
import { c as r, g as s, i as c } from "../AccountService-DHR8seWS.js";
|
|
5
5
|
import "../configs/baseUrl.js";
|
|
6
6
|
export {
|
|
7
7
|
r as clientInstance,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../arrayExtensions-DlcBOj5a.js";
|
|
2
2
|
import "../keys-BcBfU51M.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import { n as l, l as g, m as n, e as h, k as u, h as d, p as f } from "../AccountService-
|
|
4
|
+
import { n as l, l as g, m as n, e as h, k as u, h as d, p as f } from "../AccountService-DHR8seWS.js";
|
|
5
5
|
import "../configs/baseUrl.js";
|
|
6
6
|
import "../configs/endpoints.js";
|
|
7
7
|
import "../configs/gatewayBaseUrl.js";
|
|
@@ -2,7 +2,7 @@ var a = Object.defineProperty;
|
|
|
2
2
|
var o = (s, e, r) => e in s ? a(s, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : s[e] = r;
|
|
3
3
|
var n = (s, e, r) => o(s, typeof e != "symbol" ? e + "" : e, r);
|
|
4
4
|
import { EPreferencesEndpoints as u } from "../../configs/endpoints.js";
|
|
5
|
-
import { c as i } from "../../AccountService-
|
|
5
|
+
import { c as i } from "../../AccountService-DHR8seWS.js";
|
|
6
6
|
class E {
|
|
7
7
|
constructor() {
|
|
8
8
|
n(this, "setCurrency", async (e) => {
|
|
@@ -2,7 +2,7 @@ var s = Object.defineProperty;
|
|
|
2
2
|
var n = (a, e, t) => e in a ? s(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
|
|
3
3
|
var r = (a, e, t) => n(a, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
5
|
-
import { c as o, a as c } from "../../AccountService-
|
|
5
|
+
import { c as o, a as c } from "../../AccountService-DHR8seWS.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { ERewardsEndpoints as i } from "../../configs/endpoints.js";
|
|
8
8
|
class m {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
2
|
-
import "../../AccountService-
|
|
3
|
-
import { T } from "../../TripsService-
|
|
2
|
+
import "../../AccountService-DHR8seWS.js";
|
|
3
|
+
import { T } from "../../TripsService-C2OJGPHg.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../../configs/endpoints.js";
|
|
6
6
|
import "./TripService.types.js";
|
|
@@ -2,7 +2,7 @@ var o = Object.defineProperty;
|
|
|
2
2
|
var i = (d, a, t) => a in d ? o(d, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[a] = t;
|
|
3
3
|
var r = (d, a, t) => i(d, typeof a != "symbol" ? a + "" : a, t);
|
|
4
4
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
5
|
-
import { c as e, a as c, g as A } from "../../AccountService-
|
|
5
|
+
import { c as e, a as c, g as A } from "../../AccountService-DHR8seWS.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { EWalletEndpoints as s } from "../../configs/endpoints.js";
|
|
8
8
|
class u {
|