@odynn/awayz-core 0.6.1 → 0.6.3

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.
@@ -1,11 +1,12 @@
1
- const e = {
1
+ const o = {
2
2
  testMode: !1,
3
3
  externalInventory: !1,
4
4
  flightsConfig: {
5
5
  streamTimeoutPingCount: 3,
6
6
  streamTimeoutTotalSeconds: 180
7
- }
7
+ },
8
+ logoFallbackImageUrl: "https://awayz.com/favicon.ico"
8
9
  };
9
10
  export {
10
- e as defaultAwayzConfig
11
+ o as defaultAwayzConfig
11
12
  };
@@ -58,4 +58,8 @@ export interface IAwayzConfig {
58
58
  * Allow overriding the base URL for the Awayz API.
59
59
  */
60
60
  overrideBaseUrl?: string;
61
+ /**
62
+ * A URL to an image that will be used as a fallback logo in case flight/hotel logos fail to load.
63
+ */
64
+ logoFallbackImageUrl?: string;
61
65
  }
@@ -1,8 +1,2 @@
1
- export declare const defaultAwayzConfig: {
2
- testMode: boolean;
3
- externalInventory: boolean;
4
- flightsConfig: {
5
- streamTimeoutPingCount: number;
6
- streamTimeoutTotalSeconds: number;
7
- };
8
- };
1
+ import { IAwayzConfig } from './awayzConfig';
2
+ export declare const defaultAwayzConfig: Partial<IAwayzConfig>;
@@ -152,7 +152,7 @@ class g {
152
152
  d.ACTION_AIRLINE_CHANGES,
153
153
  {
154
154
  booking_id: e,
155
- action_taken: a ? "accept" : "cancel",
155
+ action_taken: a ? "accepted" : "cancelled",
156
156
  aic_id: o
157
157
  }
158
158
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odynn/awayz-core",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"