@odynn/awayz-flights 0.10.3 → 0.10.5

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
@@ -2120,7 +2120,12 @@ const Rr = 3 * 60 * 1e3, Ge = (e) => {
2120
2120
  * Points search statuses of airlines during the flight search
2121
2121
  * @type {IAirlineStatuses}
2122
2122
  */
2123
- airlineStatuses: m
2123
+ airlineStatuses: m,
2124
+ /**
2125
+ * The partial offer request ID returned from the round-trip outbound search, needed for the inbound search and fares search
2126
+ * @type {string}
2127
+ */
2128
+ partialOfferRequestId: g
2124
2129
  };
2125
2130
  };
2126
2131
  export {
@@ -62,4 +62,9 @@ export declare const useFlightSearch: () => {
62
62
  * @type {IAirlineStatuses}
63
63
  */
64
64
  airlineStatuses: IAirlineStatuses;
65
+ /**
66
+ * The partial offer request ID returned from the round-trip outbound search, needed for the inbound search and fares search
67
+ * @type {string}
68
+ */
69
+ partialOfferRequestId: string;
65
70
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odynn/awayz-flights",
3
- "version": "0.10.3",
3
+ "version": "0.10.5",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"