@odynn/awayz-flights 0.10.4 → 0.10.6

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.
@@ -65,7 +65,10 @@ const er = ({
65
65
  L(() => {
66
66
  ue();
67
67
  }, [a]);
68
- const _ = d(() => ({ logo: Re(e.displayAirlineIataCode), airline: e.airline }), [e]), $ = d(() => {
68
+ const _ = d(() => ({
69
+ logo: Re(e.displayAirlineIataCode),
70
+ airline: e.airline
71
+ }), [e]), $ = d(() => {
69
72
  const r = /* @__PURE__ */ new Set(), s = [];
70
73
  return e.flightDetails.slices.forEach((t) => {
71
74
  t.segments.forEach((p) => {
@@ -274,7 +277,8 @@ const er = ({
274
277
  {
275
278
  amount: e.cash,
276
279
  currency: e.currency,
277
- position: j.LEFT
280
+ position: j.LEFT,
281
+ showOriginal: !1
278
282
  }
279
283
  ),
280
284
  m.amountsDisplayFeature === u.CASH_AND_CLIENT_POINTS && /* @__PURE__ */ n(R, { children: [
@@ -345,7 +349,8 @@ const er = ({
345
349
  currency: a.cashFee.currency,
346
350
  customDisplay: "No fee",
347
351
  zeroDisplayOption: Ae.CUSTOM,
348
- position: j.LEFT
352
+ position: j.LEFT,
353
+ showOriginal: !1
349
354
  }
350
355
  )
351
356
  ] })
@@ -1931,7 +1931,7 @@ const Rr = 3 * 60 * 1e3, Ge = (e) => {
1931
1931
  }) => {
1932
1932
  if (!g)
1933
1933
  throw new Error("No partialOfferRequestId found for inbound search.");
1934
- return r(y), await W.roundTripInboundSearch({
1934
+ return d([]), r(y), await W.roundTripInboundSearch({
1935
1935
  outboundOfferId: y,
1936
1936
  outboundOfferRequestId: g,
1937
1937
  cabinClass: x || ee
@@ -125,6 +125,7 @@ export interface IFlightPaymentOption {
125
125
  name: string;
126
126
  };
127
127
  cabinClass?: string;
128
+ slice?: ISlice;
128
129
  }
129
130
  export interface IFlightResult {
130
131
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odynn/awayz-flights",
3
- "version": "0.10.4",
3
+ "version": "0.10.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"