@odynn/awayz-core 0.6.41 → 0.6.44
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-C2OJGPHg.js → TripsService-CUPnO2tz.js} +1 -1
- package/dist/_styles.flight-booking-BhlwjkAV.js +5 -0
- package/dist/assets/_styles3.css +1 -1
- package/dist/assets/_styles4.css +1 -1
- package/dist/components/Bookings/FlightBooking/FlightBooking.js +3 -4
- package/dist/components/Bookings/HotelBooking/HotelBooking.js +1 -1
- package/dist/components/CashValue/CashValue.js +6 -8
- package/dist/components/CashValue/CashValue.stories.js +19 -20
- package/dist/components/Wallet/Card/Card.stories.js +13 -15
- package/dist/configs/endpoints.js +3 -3
- package/dist/hooks/useAwayzAuth/useAwayzAuth.js +55 -48
- package/dist/hooks/useBookingManagement/useBookingManagement.js +96 -82
- package/dist/hooks/useBookingManagement/useBookingManagement.test.js +3 -5
- package/dist/hooks/useFeatureFlags.js +1 -1
- package/dist/hooks/useSearchLimit.js +1 -1
- package/dist/hooks/useTripManagement/useTripManagement.js +45 -44
- package/dist/hooks/useTripManagement/useTripManagement.test.js +4 -6
- package/dist/hooks/useWallet/useWallet.js +25 -27
- package/dist/hooks/useWallet/useWallet.test.js +3 -5
- package/dist/lib/configs/endpoints.d.ts +2 -1
- package/dist/lib/hooks/useTripManagement/useTripManagement.d.ts +4 -0
- package/dist/lib/services/bookings/BookingService.d.ts +2 -1
- package/dist/lib/services/bookings/BookingService.types.d.ts +16 -0
- package/dist/lib/types/index.d.ts +1 -0
- package/dist/main.js +14 -14
- package/dist/{AccountService-DHR8seWS.js → noRetryInstance-BMCc2uw4.js} +370 -358
- package/dist/providers/AwayzProvider.js +13 -16
- package/dist/services/account/AccountService.js +2 -2
- package/dist/services/bookings/BookingService.js +79 -55
- package/dist/services/currency/CurrencyService.js +8 -10
- package/dist/services/features/featureService.js +1 -1
- package/dist/services/index.js +11 -12
- package/dist/services/instance.js +2 -2
- package/dist/services/instanceConfig.js +17 -9
- package/dist/services/noRetryInstance.js +2 -8
- package/dist/services/preferences/PreferencesService.js +1 -1
- package/dist/services/rewards/RewardsService.js +5 -5
- package/dist/services/trips/TripsService.js +2 -2
- package/dist/services/wallet/WalletService.js +1 -1
- package/dist/types/index.js +4 -2
- package/package.json +1 -1
- package/dist/keys-BcBfU51M.js +0 -5
- /package/dist/assets/{_styles5.css → noRetryInstance.css} +0 -0
|
@@ -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,
|
|
5
|
+
import { c as n, f as p, b as c, r as T } from "./noRetryInstance-BMCc2uw4.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";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import './assets/_styles4.css';var T = /* @__PURE__ */ ((_) => (_.TOKEN = "token", _.REFRESH_TOKEN = "refreshToken", _.CLIENT_ID = "clientId", _.AUTH_FLOW = "authFlow", _.OVERRIDE_TOKEN_EXCHANGE_ENDPOINT = "overrideExchangeTokenEndpoint", _))(T || {}), d = /* @__PURE__ */ ((_) => (_.ISO = "dates:iso", _.DISPLAY_SHORT = "dates:displayShort", _.DISPLAY_MEDIUM = "dates:displayMedium", _.DISPLAY_LONG = "dates:displayLong", _.DISPLAY_FULL = "dates:displayFull", _.DISPLAY_SHORT_WITH_YEAR = "dates:displayShortWithYear", _.DISPLAY_MEDIUM_WITH_YEAR = "dates:displayMediumWithYear", _.DISPLAY_LONG_WITH_YEAR = "dates:displayLongWithYear", _.DISPLAY_FULL_WITH_YEAR = "dates:displayFullWithYear", _.DATE_TIME_SHORT = "dates:dateTimeShort", _.DATE_TIME_MEDIUM = "dates:dateTimeMedium", _.DATE_TIME_LONG = "dates:dateTimeLong", _.DATE_TIME_FULL = "dates:dateTimeFull", _.DATE_TIME_SHORT_WITH_YEAR = "dates:dateTimeShortWithYear", _.DATE_TIME_MEDIUM_WITH_YEAR = "dates:dateTimeMediumWithYear", _.DATE_TIME_LONG_WITH_YEAR = "dates:dateTimeLongWithYear", _.DATE_TIME_FULL_WITH_YEAR = "dates:dateTimeFullWithYear", _.TIME_ONLY = "dates:timeOnly", _.TIME_WITH_SECONDS = "dates:timeWithSeconds", _))(d || {});
|
|
2
|
+
export {
|
|
3
|
+
d as E,
|
|
4
|
+
T as a
|
|
5
|
+
};
|
package/dist/assets/_styles3.css
CHANGED
|
@@ -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}.selected-
|
|
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}.selected-hotel-card{width:380px;height:auto;border:1px solid var(--border, #e7eef3);border-radius:.5rem;display:flex;flex-direction:column;background-color:var(--foreground, #fff);overflow:hidden;transition:all .2s ease-in-out;animation:fade-in .3s ease-in-out both}.selected-hotel-card:nth-child(1){animation-delay:.1s}.selected-hotel-card:nth-child(2){animation-delay:.2s}.selected-hotel-card:nth-child(3){animation-delay:.3s}.selected-hotel-card:nth-child(4){animation-delay:.4s}.selected-hotel-card:nth-child(5){animation-delay:.5s}.selected-hotel-card:nth-child(6){animation-delay:.6s}.selected-hotel-card:nth-child(7){animation-delay:.7s}.selected-hotel-card:nth-child(8){animation-delay:.8s}.selected-hotel-card:nth-child(9){animation-delay:.9s}.selected-hotel-card:nth-child(10){animation-delay:1s}.selected-hotel-card .cancelled-notice{background-color:rgba(var(--warning, #ff7f2f),.1);font-weight:600;padding:.25rem;border-radius:.5rem;border:2px solid var(--warning, #ff7f2f);color:var(--warning, #ff7f2f);font-size:.8rem;text-align:center;width:fit-content}.selected-hotel-card:hover{box-shadow:0 0 20px #02426d1a;cursor:pointer}.selected-hotel-card:hover .hotel-image{background-size:105%}.selected-hotel-card .hotel-image{width:100%;height:200px;padding:.5rem;background-repeat:no-repeat;background-position:center;background-size:100%;display:flex;justify-content:space-between;align-items:flex-start;transition:all .2s ease-in-out}.selected-hotel-card .hotel-image .hotel-chain{display:flex;justify-content:center;gap:.5rem;border:2px solid #fff;padding:.25rem;border-radius:.25rem;background-color:#fffc;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.selected-hotel-card .hotel-image .context-button{display:flex;right:0;color:var(--text-light, rgba(37, 46, 52, .2509803922));background-color:var(--foreground, #fff);padding:.5rem;border-radius:.25rem;transition:all .3s ease-in-out;cursor:pointer}.selected-hotel-card .hotel-image .context-button:hover{background-color:var(--border, #e7eef3)}.selected-hotel-card .bottom-content{display:flex;flex-direction:column;padding:1rem;flex:1;gap:.5rem}.selected-hotel-card .bottom-content .hotel-title{display:flex;flex-direction:column;gap:.25rem;flex:1}.selected-hotel-card .bottom-content .hotel-title>p{font-size:1rem;font-weight:600}.selected-hotel-card .bottom-content .hotel-title .hotel-booking-info{display:flex;flex-direction:column;gap:.5rem}.selected-hotel-card .bottom-content .hotel-title .hotel-booking-info>div{display:flex;align-items:center;gap:.5rem;font-size:.8rem;opacity:.6}.selected-hotel-card .bottom-content span{border-left:1px solid var(--border, #e7eef3);height:100%}.selected-hotel-card .bottom-content .hotel-details{display:flex;justify-content:space-between;font-size:.8rem}.selected-hotel-card .bottom-content .hotel-details>div{display:flex;gap:1rem;align-items:center}.selected-hotel-card .bottom-content .hotel-details>div>hr{height:1rem;border:1px solid var(--border, #e7eef3)}.selected-hotel-card .bottom-content .hotel-details .id-and-icon{font-weight:700}.selected-hotel-card .bottom-content .hotel-details .id-and-icon .copy-icon{font-size:larger}
|
package/dist/assets/_styles4.css
CHANGED
|
@@ -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}.selected-
|
|
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}.selected-flight-card{width:380px;padding:1px;border-radius:.5rem;position:relative;overflow:hidden;background:linear-gradient(90deg,transparent 0%,transparent 10%,var(--border, #e7eef3) 10%,var(--border, #e7eef3) 90%,transparent 90%,transparent 100%);animation:fade-in .3s ease-in-out both;transition:all .2s ease-in-out;cursor:pointer}.selected-flight-card:nth-child(1){animation-delay:.1s}.selected-flight-card:nth-child(2){animation-delay:.2s}.selected-flight-card:nth-child(3){animation-delay:.3s}.selected-flight-card:nth-child(4){animation-delay:.4s}.selected-flight-card:nth-child(5){animation-delay:.5s}.selected-flight-card:nth-child(6){animation-delay:.6s}.selected-flight-card:nth-child(7){animation-delay:.7s}.selected-flight-card:nth-child(8){animation-delay:.8s}.selected-flight-card:nth-child(9){animation-delay:.9s}.selected-flight-card:nth-child(10){animation-delay:1s}.selected-flight-card:hover{filter:drop-shadow(0px 0px 20px rgba(2,66,109,.1))}.selected-flight-card:before{content:"";position:absolute;box-sizing:content-box;aspect-ratio:1;height:30px;width:30px;border-radius:100%;border:14rem solid var(--border, #e7eef3);top:180px;left:0;transform:translate(-50%,-50%)}.selected-flight-card:after{content:"";position:absolute;box-sizing:content-box;aspect-ratio:1;height:30px;width:30px;border-radius:100%;border:14rem solid var(--border, #e7eef3);top:180px;right:0;transform:translate(50%,-50%)}.selected-flight-card .cancelled-notice{background-color:rgba(var(--warning, #ff7f2f),.1);font-weight:600;padding:.25rem;border-radius:.5rem;border:2px solid var(--warning, #ff7f2f);color:var(--warning, #ff7f2f);font-size:.8rem;text-align:center;width:fit-content}.selected-flight-card .content{overflow:hidden;padding:1rem;padding-bottom:0;border-radius:.4rem;width:100%;margin:0 auto;position:relative;height:100%;z-index:1;display:flex;flex-direction:column;gap:1rem;background:linear-gradient(90deg,transparent 0%,transparent 10%,var(--foreground, #fff) 10%,var(--foreground, #fff) 90%,transparent 90%,transparent 100%)}.selected-flight-card .content *{z-index:2}.selected-flight-card .content:before{content:"";position:absolute;box-sizing:content-box;aspect-ratio:1;height:31px;width:31px;border-radius:100%;border:14rem solid var(--foreground, #fff);top:179px;left:-1.5px;transform:translate(-50%,-50%)}.selected-flight-card .content:after{content:"";position:absolute;box-sizing:content-box;aspect-ratio:1;height:31px;width:31px;border-radius:100%;border:14rem solid var(--foreground, #fff);top:179px;right:-1px;transform:translate(49.99%,-50%)}.selected-flight-card .top-section{flex:1;min-height:calc(160px - 1rem)}.selected-flight-card .top-section .header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.selected-flight-card .top-section .header>div{display:flex;align-items:center;gap:.5rem}.selected-flight-card .top-section .header .airline-logo,.selected-flight-card .top-section .header .airline-logo img{max-height:20px}.selected-flight-card .top-section .header .id-and-icon{display:flex;align-items:center;gap:1rem}.selected-flight-card .top-section .header .id-and-icon>span{font-weight:700}.selected-flight-card .top-section .header .id-and-icon .context-button{display:flex;border:1px solid var(--border, #e7eef3);border-radius:.5rem;padding:.5rem;color:var(--text-light, rgba(37, 46, 52, .2509803922));cursor:pointer}.selected-flight-card .top-section .header .id-and-icon .context-button:hover{background-color:var(--border, #e7eef3)}.selected-flight-card .top-section .flight{display:flex;align-items:center;font-size:1.8rem;position:relative;justify-content:space-between}.selected-flight-card .top-section .flight *{z-index:2}.selected-flight-card .top-section .flight .flight-trail{margin:5px 0;height:2px;background:repeating-linear-gradient(90deg,var(--border, #e7eef3) 0 20px,rgba(0,0,0,0) 0 30px);width:80%;position:absolute;left:50%;transform:translate(-50%);z-index:1}.selected-flight-card .top-section .flight svg{fill:#d8e3ea}.selected-flight-card .top-section .flight>p{font-weight:600;background-color:var(--foreground, #fff)}.selected-flight-card .top-section .flight .departure-title{padding-right:.5rem}.selected-flight-card .top-section .flight .arrival-title{padding-left:.5rem}.selected-flight-card .top-section .flight-details .destination span{font-size:1rem;font-weight:400}.selected-flight-card .top-section .flight-details .destination span:last-child{text-align:right}.selected-flight-card .top-section .flight-details .time p{color:var(--text-light, rgba(37, 46, 52, .2509803922))}.selected-flight-card .top-section .flight-details .destination,.selected-flight-card .top-section .flight-details .time{display:flex;justify-content:space-between}.selected-flight-card .mid-section{height:10px}.selected-flight-card .mid-section .dashes{position:absolute;top:179px;left:20px;right:20px;border:dashed 2px var(--border, #e7eef3)}.selected-flight-card .bottom-section{display:flex;flex-direction:column;gap:1rem;font-size:.8rem}.selected-flight-card .bottom-section .bottom-header{display:flex;justify-content:space-between;border:1px solid var(--border, #e7eef3);border-radius:.5rem;padding:.5rem}.selected-flight-card .bottom-section .bottom-header .id-and-icon{display:flex;gap:1rem}.selected-flight-card .bottom-section .bottom-header .id-and-icon>span{font-weight:700}.selected-flight-card .bottom-section .bottom-header .id-and-icon .copy-icon{font-size:larger}.selected-flight-card .bottom-section .bottom-section-details{display:flex;gap:1rem}.selected-flight-card .bottom-section .bottom-section-details>div{display:flex;width:50%;justify-content:space-between;margin-bottom:1rem;border:1px solid var(--border, #e7eef3);border-radius:.5rem;padding:.5rem}.selected-flight-card .bottom-section .bottom-section-details>div>span{font-weight:700}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { h as t } from "../../../arrayExtensions-DlcBOj5a.js";
|
|
3
3
|
import { E as o } from "../../../DateFormats-DZD30Nea.js";
|
|
4
|
-
import { E as r } from "../../../
|
|
4
|
+
import { E as r } from "../../../_styles.flight-booking-BhlwjkAV.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { useTranslation as E } from "react-i18next";
|
|
7
7
|
import { F as D } from "../../../index-c5toY3Pm.js";
|
|
8
8
|
import M from "../../Menu/Menu.js";
|
|
9
|
-
|
|
10
|
-
const b = ({
|
|
9
|
+
const U = ({
|
|
11
10
|
airlines: s,
|
|
12
11
|
departure: c,
|
|
13
12
|
arrival: l,
|
|
@@ -93,5 +92,5 @@ const b = ({
|
|
|
93
92
|
] }) });
|
|
94
93
|
};
|
|
95
94
|
export {
|
|
96
|
-
|
|
95
|
+
U as FlightBooking
|
|
97
96
|
};
|
|
@@ -3,7 +3,7 @@ import { G as N, b as u } from "../../../index-c5toY3Pm.js";
|
|
|
3
3
|
import { h as $ } from "../../../arrayExtensions-DlcBOj5a.js";
|
|
4
4
|
import { E as f } from "../../../DateFormats-DZD30Nea.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import '../../../assets/
|
|
6
|
+
import '../../../assets/_styles3.css';/* empty css */
|
|
7
7
|
import x from "../../Menu/Menu.js";
|
|
8
8
|
const n = (r, o, l = o + "s") => r === 1 ? o : l;
|
|
9
9
|
function C(r) {
|
|
@@ -6,20 +6,18 @@ 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 "../../
|
|
9
|
+
import { E as wt } from "../../noRetryInstance-BMCc2uw4.js";
|
|
10
10
|
import { c as pe } from "../../index-c5toY3Pm.js";
|
|
11
11
|
import { EInvalidAmountDisplayOption as S, EToolTipPosition as Pt } from "./CashValueTypes.js";
|
|
12
|
-
import '../../assets/
|
|
12
|
+
import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';/* empty css */
|
|
13
13
|
import "react-i18next";
|
|
14
14
|
/* empty css */
|
|
15
|
-
|
|
15
|
+
import "../../_styles.flight-booking-BhlwjkAV.js";
|
|
16
16
|
/* empty css */
|
|
17
17
|
import "../../configs/awayzClient.js";
|
|
18
18
|
import { useAwayzContext as bt } from "../../hooks/useAwayzContext.js";
|
|
19
19
|
import "../../context/AwayzContext.js";
|
|
20
20
|
import { CurrencyService as xt } from "../../services/currency/CurrencyService.js";
|
|
21
|
-
import "../../services/noRetryInstance.js";
|
|
22
|
-
/* empty css */
|
|
23
21
|
// @__NO_SIDE_EFFECTS__
|
|
24
22
|
function Tt(e) {
|
|
25
23
|
const t = /* @__PURE__ */ At(e), r = s.forwardRef((o, n) => {
|
|
@@ -457,7 +455,7 @@ var Jt = Object.freeze({
|
|
|
457
455
|
)
|
|
458
456
|
);
|
|
459
457
|
Le.displayName = er;
|
|
460
|
-
var tr = Le, [V,
|
|
458
|
+
var tr = Le, [V, Ur] = ve("Tooltip", [
|
|
461
459
|
be
|
|
462
460
|
]), U = be(), Ie = "TooltipProvider", rr = 700, X = "tooltip.open", [nr, J] = V(Ie), Me = (e) => {
|
|
463
461
|
const {
|
|
@@ -768,7 +766,7 @@ function mr(e) {
|
|
|
768
766
|
return r.pop(), t.length === 1 && r.length === 1 && t[0].x === r[0].x && t[0].y === r[0].y ? t : t.concat(r);
|
|
769
767
|
}
|
|
770
768
|
var yr = Me, gr = He, Cr = ke, Er = $e, wr = Fe, Pr = Ye;
|
|
771
|
-
const br = 1e3 * 60 * 60,
|
|
769
|
+
const br = 1e3 * 60 * 60, jr = ({
|
|
772
770
|
amount: e,
|
|
773
771
|
currency: t,
|
|
774
772
|
position: r = Pt.RIGHT,
|
|
@@ -875,6 +873,6 @@ const br = 1e3 * 60 * 60, zr = ({
|
|
|
875
873
|
) })
|
|
876
874
|
] }) });
|
|
877
875
|
export {
|
|
878
|
-
|
|
876
|
+
jr as CashValue,
|
|
879
877
|
br as CurrencyCallStaleTimeMs
|
|
880
878
|
};
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { CashValue as n } from "./CashValue.js";
|
|
3
3
|
import { EToolTipPosition as t, EInvalidAmountDisplayOption as o } from "./CashValueTypes.js";
|
|
4
|
-
import '../../assets/
|
|
4
|
+
import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';/* empty css */
|
|
5
5
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "react-i18next";
|
|
8
8
|
/* empty css */
|
|
9
|
-
|
|
9
|
+
import "../../_styles.flight-booking-BhlwjkAV.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
import "../../configs/awayzClient.js";
|
|
12
12
|
import "../../context/AwayzContext.js";
|
|
13
13
|
import "@tanstack/react-query";
|
|
14
|
-
import "../../
|
|
14
|
+
import "../../noRetryInstance-BMCc2uw4.js";
|
|
15
15
|
import { AwayzProvider as a } from "../../providers/AwayzProvider.js";
|
|
16
|
-
import "../../services/noRetryInstance.js";
|
|
17
16
|
import { EAuthFlow as i } from "../../types/EAuthFlow.js";
|
|
18
|
-
const
|
|
17
|
+
const f = {
|
|
19
18
|
title: "Core/Cash Value",
|
|
20
19
|
component: n,
|
|
21
20
|
parameters: {
|
|
@@ -58,46 +57,46 @@ const h = {
|
|
|
58
57
|
}
|
|
59
58
|
)
|
|
60
59
|
]
|
|
61
|
-
},
|
|
60
|
+
}, h = {
|
|
62
61
|
name: "Euro to Dollar Cash Value",
|
|
63
62
|
args: {
|
|
64
63
|
amount: 100,
|
|
65
64
|
currency: "EUR"
|
|
66
65
|
}
|
|
67
|
-
},
|
|
66
|
+
}, _ = {
|
|
68
67
|
name: "Invalid Amount",
|
|
69
68
|
args: {
|
|
70
69
|
amount: "invalid",
|
|
71
70
|
currency: "EUR"
|
|
72
71
|
}
|
|
73
|
-
},
|
|
72
|
+
}, v = {
|
|
74
73
|
name: "Zero Amount with Display as Zero",
|
|
75
74
|
args: {
|
|
76
75
|
amount: 0,
|
|
77
76
|
zeroDisplayOption: o.DISPLAY_AS_ZERO,
|
|
78
77
|
currency: "EUR"
|
|
79
78
|
}
|
|
80
|
-
},
|
|
79
|
+
}, U = {
|
|
81
80
|
name: "Zero Amount with Display as Zero With Currency",
|
|
82
81
|
args: {
|
|
83
82
|
amount: 0,
|
|
84
83
|
zeroDisplayOption: o.DISPLAY_AS_ZERO_WITH_CURRENCY,
|
|
85
84
|
currency: "EUR"
|
|
86
85
|
}
|
|
87
|
-
},
|
|
86
|
+
}, I = {
|
|
88
87
|
name: "Zero Amount with Display as Zero With Currency No Decimal",
|
|
89
88
|
args: {
|
|
90
89
|
amount: 0,
|
|
91
90
|
zeroDisplayOption: o.DISPLAY_AS_ZERO_WITH_CURRENCY_NO_DECIMAL,
|
|
92
91
|
currency: "EUR"
|
|
93
92
|
}
|
|
94
|
-
},
|
|
93
|
+
}, b = {
|
|
95
94
|
name: "Negative Amount",
|
|
96
95
|
args: {
|
|
97
96
|
amount: -100,
|
|
98
97
|
currency: "EUR"
|
|
99
98
|
}
|
|
100
|
-
},
|
|
99
|
+
}, N = {
|
|
101
100
|
name: "Custom Zero Amount",
|
|
102
101
|
args: {
|
|
103
102
|
amount: 0,
|
|
@@ -107,12 +106,12 @@ const h = {
|
|
|
107
106
|
}
|
|
108
107
|
};
|
|
109
108
|
export {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
109
|
+
N as CustomZeroAmount,
|
|
110
|
+
h as Default,
|
|
111
|
+
_ as InvalidAmount,
|
|
112
|
+
b as NegativeAmount,
|
|
113
|
+
v as ZeroAmount,
|
|
114
|
+
U as ZeroCurrencyAmount,
|
|
115
|
+
I as ZeroCurrencyNoDecimalAmount,
|
|
116
|
+
f as default
|
|
118
117
|
};
|
|
@@ -3,27 +3,25 @@ import "@tanstack/react-query";
|
|
|
3
3
|
import "../../../arrayExtensions-DlcBOj5a.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../../../configs/awayzClient.js";
|
|
6
|
-
import "../../../
|
|
7
|
-
import
|
|
8
|
-
import { Card as r } from "./Card.js";
|
|
6
|
+
import "../../../noRetryInstance-BMCc2uw4.js";
|
|
7
|
+
import { Card as a } from "./Card.js";
|
|
9
8
|
import "react-i18next";
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
import '../../../assets/_styles3.css';import '../../../assets/_styles2.css';/* empty css */
|
|
10
|
+
import "../../../_styles.flight-booking-BhlwjkAV.js";
|
|
12
11
|
/* empty css */
|
|
13
12
|
import "../../../context/AwayzContext.js";
|
|
14
|
-
import { AwayzProvider as
|
|
15
|
-
import "../../../services/noRetryInstance.js";
|
|
13
|
+
import { AwayzProvider as r } from "../../../providers/AwayzProvider.js";
|
|
16
14
|
import { EAuthFlow as e } from "../../../types/EAuthFlow.js";
|
|
17
|
-
const
|
|
15
|
+
const f = {
|
|
18
16
|
title: "Wallet/Card",
|
|
19
|
-
component:
|
|
17
|
+
component: a,
|
|
20
18
|
parameters: {
|
|
21
19
|
layout: "centered"
|
|
22
20
|
},
|
|
23
21
|
tags: ["autodocs"],
|
|
24
22
|
decorators: [
|
|
25
23
|
(o) => /* @__PURE__ */ t(
|
|
26
|
-
|
|
24
|
+
r,
|
|
27
25
|
{
|
|
28
26
|
config: {
|
|
29
27
|
testMode: !0,
|
|
@@ -36,7 +34,7 @@ const v = {
|
|
|
36
34
|
}
|
|
37
35
|
)
|
|
38
36
|
]
|
|
39
|
-
},
|
|
37
|
+
}, y = {
|
|
40
38
|
args: {
|
|
41
39
|
details: {
|
|
42
40
|
id: "12345",
|
|
@@ -48,7 +46,7 @@ const v = {
|
|
|
48
46
|
console.log("Card deleted:", o);
|
|
49
47
|
}
|
|
50
48
|
}
|
|
51
|
-
},
|
|
49
|
+
}, v = {
|
|
52
50
|
args: {
|
|
53
51
|
details: {
|
|
54
52
|
name: "IHG Rewards Club Premier",
|
|
@@ -58,7 +56,7 @@ const v = {
|
|
|
58
56
|
}
|
|
59
57
|
};
|
|
60
58
|
export {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
y as DarkCard,
|
|
60
|
+
v as LightCard,
|
|
61
|
+
f as default
|
|
64
62
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var r = /* @__PURE__ */ ((e) => (e.SIGN_IN = "auth/user-login", e.SIGN_UP = "auth/sign-up", e.GOOGLE_AUTH = "/auth/google-user", e.ME = "user", e.RESEND_VERIFICATION_EMAIL = "auth/resend-verification-email", e.UPDATE_USER_DETAILS = "account/update/user", e.CONFIRM_EMAIL = "account/verifyAccount", e.FORGOT_PASSWORD = "email/sendVeri", e.RESEND_OTP = "email/sendForgotPasswordVerification", e.RESET_PASSWORD = "account/updateUserPassword", e.REQUEST_LIMIT = "user/request-limit", e.APPLE_SOCIAL_SIGN_UP = "tp/apple/get/user", e.GOOGLE_SOCIAL_SIGN_UP = "tp/google/get/user", e.UPDATE_USER = "account/details/addUserDetails", e.ACKNOWLEDGEMENT = "account/update/userAcknowledgement", e.REGIONS = "user/region", e.UPDATE_USER_REGION = "/account/update/userRegion", e.UPDATE_PASSENGER_DETAILS = "/account/awayz", e.REFRESH_TOKEN = "auth/refresh-token", e.EXCHANGE_TOKEN = "user/exchange-token", e.REFRESH_EMBED_TOKEN = "user/refresh-token", e.OAUTH_INITIATE = "user/oauth2/initiate", e.OAUTH_CALLBACK = "user/oauth2/callback", e.FEATURES = "/user/features", e))(r || {}), a = /* @__PURE__ */ ((e) => (e.CURRENCY_CONVERSION = "currency/convert", e))(a || {}), _ = /* @__PURE__ */ ((e) => (e.USER_AWARDS = "user/rewards", e.LINKED_USER_AWARDS = "user/rewards/user-linked", e.USER_CARDS = "user/cards", e.ADD_USER_CARDS = "user/cards/add", e.REMOVE_USER_CARDS = "user/cards/remove", e.BANKS = "banks", e.CARDS = "cards", e.POINTS_AS_CASH = "/points-as-cash/available-points", e))(_ || {}), S = /* @__PURE__ */ ((e) => (e.TRIPS = "user/trips", e.ADD_BOOKING = "user/trips/add-booking-to-trip", e.REMOVE_BOOKING = "user/trips/remove-booking-from-trip", e.UNCATEGORISED_BOOKINGS = "/user/trips/get-uncategorized-bookings", e))(S || {}), R = /* @__PURE__ */ ((e) => (e.USER_HOTEL_BOOKINGS = "/user/bookings/hotels", e.USER_FLIGHT_BOOKINGS = "/user/bookings/flights", e.INITIATE_FLIGHT_CANCEL = "/duffel/flights/initiate-order-cancellation", e.CONFIRM_FLIGHT_CANCEL = "/duffel/flights/confirm-order-cancellation", e.CANCEL_HOTEL_BOOKING = "/duffel/hotels/cancel", e.ACTION_AIRLINE_CHANGES = "/user/bookings/flights/action-airline-initiated-changes", e))(R || {}),
|
|
1
|
+
var r = /* @__PURE__ */ ((e) => (e.SIGN_IN = "auth/user-login", e.SIGN_UP = "auth/sign-up", e.GOOGLE_AUTH = "/auth/google-user", e.ME = "user", e.RESEND_VERIFICATION_EMAIL = "auth/resend-verification-email", e.UPDATE_USER_DETAILS = "account/update/user", e.CONFIRM_EMAIL = "account/verifyAccount", e.FORGOT_PASSWORD = "email/sendVeri", e.RESEND_OTP = "email/sendForgotPasswordVerification", e.RESET_PASSWORD = "account/updateUserPassword", e.REQUEST_LIMIT = "user/request-limit", e.APPLE_SOCIAL_SIGN_UP = "tp/apple/get/user", e.GOOGLE_SOCIAL_SIGN_UP = "tp/google/get/user", e.UPDATE_USER = "account/details/addUserDetails", e.ACKNOWLEDGEMENT = "account/update/userAcknowledgement", e.REGIONS = "user/region", e.UPDATE_USER_REGION = "/account/update/userRegion", e.UPDATE_PASSENGER_DETAILS = "/account/awayz", e.REFRESH_TOKEN = "auth/refresh-token", e.EXCHANGE_TOKEN = "user/exchange-token", e.REFRESH_EMBED_TOKEN = "user/refresh-token", e.OAUTH_INITIATE = "user/oauth2/initiate", e.OAUTH_CALLBACK = "user/oauth2/callback", e.FEATURES = "/user/features", e))(r || {}), a = /* @__PURE__ */ ((e) => (e.CURRENCY_CONVERSION = "currency/convert", e))(a || {}), _ = /* @__PURE__ */ ((e) => (e.USER_AWARDS = "user/rewards", e.LINKED_USER_AWARDS = "user/rewards/user-linked", e.USER_CARDS = "user/cards", e.ADD_USER_CARDS = "user/cards/add", e.REMOVE_USER_CARDS = "user/cards/remove", e.BANKS = "banks", e.CARDS = "cards", e.POINTS_AS_CASH = "/points-as-cash/available-points", e))(_ || {}), S = /* @__PURE__ */ ((e) => (e.TRIPS = "user/trips", e.ADD_BOOKING = "user/trips/add-booking-to-trip", e.REMOVE_BOOKING = "user/trips/remove-booking-from-trip", e.UNCATEGORISED_BOOKINGS = "/user/trips/get-uncategorized-bookings", e))(S || {}), R = /* @__PURE__ */ ((e) => (e.USER_HOTEL_BOOKINGS = "/user/bookings/hotels", e.USER_FLIGHT_BOOKINGS = "/user/bookings/flights", e.INITIATE_FLIGHT_CANCEL = "/duffel/flights/initiate-order-cancellation", e.CONFIRM_FLIGHT_CANCEL = "/duffel/flights/confirm-order-cancellation", e.CANCEL_HOTEL_BOOKING = "/duffel/hotels/cancel", e.ACTION_AIRLINE_CHANGES = "/user/bookings/flights/action-airline-initiated-changes", e.REFUND_POINTS_BOOKING = "/points-as-cash/refund-booking", e))(R || {}), O = /* @__PURE__ */ ((e) => (e.POINTS_PER_CENT = "/user/rewards/points-per-cent", e))(O || {}), I = /* @__PURE__ */ ((e) => (e.USER_PREFERENCES = "/user/user-preferences", e))(I || {});
|
|
2
2
|
export {
|
|
3
3
|
r as EAuthEndpoints,
|
|
4
4
|
R as EBookingEndpoints,
|
|
5
5
|
a as ECurrencyEndpoints,
|
|
6
6
|
S as EMyTripsEndpoints,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
I as EPreferencesEndpoints,
|
|
8
|
+
O as ERewardsEndpoints,
|
|
9
9
|
_ as EWalletEndpoints
|
|
10
10
|
};
|
|
@@ -1,37 +1,44 @@
|
|
|
1
1
|
import "../../arrayExtensions-DlcBOj5a.js";
|
|
2
|
-
import { g as
|
|
3
|
-
import {
|
|
4
|
-
import { a as c } from "../../
|
|
2
|
+
import { g as H } from "../../cashUtils-BDa0CVyi.js";
|
|
3
|
+
import { e as P, A as l, E as K } from "../../noRetryInstance-BMCc2uw4.js";
|
|
4
|
+
import { a as c } from "../../_styles.flight-booking-BhlwjkAV.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";
|
|
7
|
-
import { PreferencesService as
|
|
7
|
+
import { PreferencesService as M } from "../../services/preferences/PreferencesService.js";
|
|
8
|
+
import "@tanstack/react-query";
|
|
9
|
+
import "react/jsx-runtime";
|
|
10
|
+
import '../../assets/_styles3.css';import '../../assets/_styles2.css';import '../../assets/_styles.css';/* empty css */
|
|
11
|
+
import "react-i18next";
|
|
12
|
+
/* empty css */
|
|
13
|
+
/* empty css */
|
|
14
|
+
import "../../context/AwayzContext.js";
|
|
8
15
|
import { EAuthFlow as h } from "../../types/EAuthFlow.js";
|
|
9
|
-
const
|
|
16
|
+
const q = (t, n) => {
|
|
10
17
|
var g, w;
|
|
11
|
-
let
|
|
12
|
-
typeof n == "string" ?
|
|
18
|
+
let o = "", y = n;
|
|
19
|
+
typeof n == "string" ? o = n : n instanceof P ? (o = n.message, y = {
|
|
13
20
|
message: n.message,
|
|
14
21
|
cause: n.cause,
|
|
15
22
|
status: n.status,
|
|
16
23
|
data: (g = n == null ? void 0 : n.response) == null ? void 0 : g.data
|
|
17
|
-
}) :
|
|
24
|
+
}) : o = n.message, (w = window.parent) == null || w.postMessage(
|
|
18
25
|
{
|
|
19
26
|
type: "auth_error",
|
|
20
|
-
details: { message:
|
|
27
|
+
details: { message: o, action: t, info: y }
|
|
21
28
|
},
|
|
22
29
|
"*"
|
|
23
30
|
);
|
|
24
|
-
},
|
|
25
|
-
const [n,
|
|
31
|
+
}, ce = (t) => {
|
|
32
|
+
const [n, o] = f(!0), [y, g] = f(!1), [w, O] = f(), [m, T] = f(), [N, C] = f([]), [_, F] = f([]), d = I(
|
|
26
33
|
async (s) => {
|
|
27
|
-
t != null && t.onSuccess && (t == null || t.onSuccess(s)), t != null && t.onSuccessAsync && await (t == null ? void 0 : t.onSuccessAsync(s)),
|
|
34
|
+
t != null && t.onSuccess && (t == null || t.onSuccess(s)), t != null && t.onSuccessAsync && await (t == null ? void 0 : t.onSuccessAsync(s)), o(!1), g(!0), O(s.token), T(s.user), R.invalidateQueries();
|
|
28
35
|
},
|
|
29
36
|
[t]
|
|
30
|
-
),
|
|
37
|
+
), u = I(
|
|
31
38
|
async (s, e) => {
|
|
32
39
|
if (t.authFlow !== h.POST_MESSAGE)
|
|
33
|
-
return
|
|
34
|
-
t != null && t.onError && (t == null || t.onError(s)), t != null && t.onErrorAsync && await (t == null ? void 0 : t.onErrorAsync(s)),
|
|
40
|
+
return q(e ?? "exchange_token", s);
|
|
41
|
+
t != null && t.onError && (t == null || t.onError(s)), t != null && t.onErrorAsync && await (t == null ? void 0 : t.onErrorAsync(s)), o(!1);
|
|
35
42
|
},
|
|
36
43
|
[t]
|
|
37
44
|
), k = async (s, e) => {
|
|
@@ -41,24 +48,24 @@ const G = (t, n) => {
|
|
|
41
48
|
e
|
|
42
49
|
);
|
|
43
50
|
if (!r) {
|
|
44
|
-
|
|
51
|
+
u(i);
|
|
45
52
|
return;
|
|
46
53
|
}
|
|
47
54
|
if (!(a != null && a.token)) {
|
|
48
|
-
|
|
55
|
+
u("no awayz token returned after exchanging id token");
|
|
49
56
|
return;
|
|
50
57
|
}
|
|
51
|
-
localStorage.setItem(c.TOKEN, a.token), await
|
|
52
|
-
const { data:
|
|
58
|
+
localStorage.setItem(c.TOKEN, a.token), await d(a);
|
|
59
|
+
const { data: E, ...A } = await l.getRequestLimit();
|
|
53
60
|
if (!A.success) {
|
|
54
61
|
console.error({ reqLimitError: A });
|
|
55
62
|
return;
|
|
56
63
|
}
|
|
57
|
-
|
|
58
|
-
(
|
|
64
|
+
E == null || E.forEach(
|
|
65
|
+
(U) => window.parent.postMessage(
|
|
59
66
|
{
|
|
60
67
|
type: "request_limit",
|
|
61
|
-
limit:
|
|
68
|
+
limit: U
|
|
62
69
|
},
|
|
63
70
|
"*"
|
|
64
71
|
)
|
|
@@ -66,43 +73,43 @@ const G = (t, n) => {
|
|
|
66
73
|
} catch (r) {
|
|
67
74
|
console.error("error handling message", r);
|
|
68
75
|
} finally {
|
|
69
|
-
|
|
76
|
+
o(!1);
|
|
70
77
|
}
|
|
71
|
-
},
|
|
78
|
+
}, p = async () => {
|
|
72
79
|
try {
|
|
73
80
|
const { success: s, data: e } = await R.ensureQueryData({
|
|
74
81
|
queryKey: [K.CHECK_USER],
|
|
75
82
|
queryFn: l.checkUser
|
|
76
83
|
});
|
|
77
84
|
if (!s) {
|
|
78
|
-
|
|
85
|
+
u(e);
|
|
79
86
|
return;
|
|
80
87
|
}
|
|
81
|
-
await
|
|
88
|
+
await d({
|
|
82
89
|
user: e,
|
|
83
90
|
token: localStorage.getItem(c.TOKEN)
|
|
84
91
|
});
|
|
85
92
|
} catch (s) {
|
|
86
|
-
|
|
93
|
+
u(s);
|
|
87
94
|
} finally {
|
|
88
|
-
|
|
95
|
+
o(!1);
|
|
89
96
|
}
|
|
90
97
|
};
|
|
91
98
|
S(() => {
|
|
92
99
|
if (t.authFlow !== h.STANDARD) return;
|
|
93
|
-
localStorage.getItem(c.TOKEN) ?
|
|
100
|
+
localStorage.getItem(c.TOKEN) ? p() : o(!1);
|
|
94
101
|
}, []);
|
|
95
|
-
const
|
|
102
|
+
const v = async () => {
|
|
96
103
|
const s = await l.getRegions();
|
|
97
104
|
C(s);
|
|
98
105
|
const e = s.map((i) => i.currency), a = Array.from(new Set(e)).map((i) => ({
|
|
99
106
|
code: i,
|
|
100
|
-
symbol:
|
|
107
|
+
symbol: H(i) || i
|
|
101
108
|
}));
|
|
102
109
|
F(a);
|
|
103
110
|
};
|
|
104
111
|
return S(() => {
|
|
105
|
-
|
|
112
|
+
v();
|
|
106
113
|
}, []), S(() => {
|
|
107
114
|
if (t.authFlow !== h.QUERY) return;
|
|
108
115
|
const s = new URLSearchParams(window.location.search), e = s.get(c.TOKEN);
|
|
@@ -115,11 +122,11 @@ const G = (t, n) => {
|
|
|
115
122
|
if (e.data.type !== "auth") return;
|
|
116
123
|
const r = (i = e.data) == null ? void 0 : i.idToken, a = e.data.refreshToken;
|
|
117
124
|
if (!r) {
|
|
118
|
-
const
|
|
125
|
+
const E = `received message ${JSON.stringify(
|
|
119
126
|
e.data
|
|
120
127
|
)}
|
|
121
128
|
no idToken in body`;
|
|
122
|
-
|
|
129
|
+
u(E);
|
|
123
130
|
return;
|
|
124
131
|
}
|
|
125
132
|
localStorage.setItem(c.REFRESH_TOKEN, a), await k(r);
|
|
@@ -137,17 +144,17 @@ const G = (t, n) => {
|
|
|
137
144
|
isAuthenticating: n,
|
|
138
145
|
isAuthenticated: y,
|
|
139
146
|
token: w,
|
|
140
|
-
user:
|
|
147
|
+
user: m,
|
|
141
148
|
supportedRegions: N,
|
|
142
149
|
supportedCurrencies: _,
|
|
143
150
|
signIn: async (s) => {
|
|
144
151
|
var r;
|
|
145
152
|
const e = await l.login(s);
|
|
146
153
|
if (!e.success)
|
|
147
|
-
|
|
154
|
+
u(e.message);
|
|
148
155
|
else {
|
|
149
156
|
const a = (r = e.data) == null ? void 0 : r.refreshToken;
|
|
150
|
-
localStorage.setItem(c.REFRESH_TOKEN, a), await
|
|
157
|
+
localStorage.setItem(c.REFRESH_TOKEN, a), await d(e.data);
|
|
151
158
|
}
|
|
152
159
|
return e;
|
|
153
160
|
},
|
|
@@ -155,10 +162,10 @@ const G = (t, n) => {
|
|
|
155
162
|
var r;
|
|
156
163
|
const e = await l.signUp(s);
|
|
157
164
|
if (!e.success)
|
|
158
|
-
|
|
165
|
+
u(e.message);
|
|
159
166
|
else {
|
|
160
167
|
const a = (r = e.data) == null ? void 0 : r.refreshToken;
|
|
161
|
-
localStorage.setItem(c.REFRESH_TOKEN, a), await
|
|
168
|
+
localStorage.setItem(c.REFRESH_TOKEN, a), await d(e.data);
|
|
162
169
|
}
|
|
163
170
|
return e;
|
|
164
171
|
},
|
|
@@ -172,10 +179,10 @@ const G = (t, n) => {
|
|
|
172
179
|
e
|
|
173
180
|
);
|
|
174
181
|
if (!r.success)
|
|
175
|
-
|
|
182
|
+
u(r.message);
|
|
176
183
|
else {
|
|
177
184
|
const i = (a = r.data) == null ? void 0 : a.refreshToken;
|
|
178
|
-
localStorage.setItem(c.REFRESH_TOKEN, i), await
|
|
185
|
+
localStorage.setItem(c.REFRESH_TOKEN, i), await d(r.data);
|
|
179
186
|
}
|
|
180
187
|
return r;
|
|
181
188
|
},
|
|
@@ -184,15 +191,15 @@ const G = (t, n) => {
|
|
|
184
191
|
localStorage.setItem(c.TOKEN, s), localStorage.setItem(c.REFRESH_TOKEN, e), k(s);
|
|
185
192
|
},
|
|
186
193
|
setPreferredCurrency: async (s) => {
|
|
187
|
-
const e = await
|
|
194
|
+
const e = await M.setCurrency(s);
|
|
188
195
|
if (!e.success || !e.data)
|
|
189
196
|
return console.error("Failed to set preferred currency:", e), !1;
|
|
190
|
-
if (
|
|
197
|
+
if (m) {
|
|
191
198
|
const r = {
|
|
192
|
-
...
|
|
199
|
+
...m,
|
|
193
200
|
preferences: {
|
|
194
|
-
...
|
|
195
|
-
currency: e.data.currency ||
|
|
201
|
+
...m.preferences,
|
|
202
|
+
currency: e.data.currency || m.preferences.currency
|
|
196
203
|
}
|
|
197
204
|
};
|
|
198
205
|
T(r), R.invalidateQueries({
|
|
@@ -204,6 +211,6 @@ const G = (t, n) => {
|
|
|
204
211
|
};
|
|
205
212
|
};
|
|
206
213
|
export {
|
|
207
|
-
|
|
208
|
-
|
|
214
|
+
q as authFailurePostMessage,
|
|
215
|
+
ce as useAwayzAuth
|
|
209
216
|
};
|