@tripian/core 6.0.49 → 6.0.50

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/index.d.ts CHANGED
@@ -7,15 +7,6 @@ import ProvidersYelpAPI from './providers/yelp/API';
7
7
  import ProvidersGygAPI from './providers/gyg/API';
8
8
  import ProvidersBbAPI from './providers/bb/API';
9
9
  import ProvidersTravelifyAPI from './providers/travelify/API';
10
- /**
11
- * Env
12
- */
13
- declare const ENV: {
14
- DEV: {
15
- url: string;
16
- xApiKey: string;
17
- };
18
- };
19
10
  declare let api: API;
20
11
  /**
21
12
  * This function initilize for web sdk.
@@ -26,11 +17,11 @@ declare type Providers = {
26
17
  gyg?: ProvidersGygAPI;
27
18
  bb?: ProvidersBbAPI;
28
19
  travelify?: ProvidersTravelifyAPI;
29
- yelpInit: (apiUrl: string, apiToken: string, sandbox: boolean) => void;
30
- gygInit: (apiUrl: string, apiToken: string, sandbox: boolean) => void;
31
- bbInit: (apiUrl: string, apiToken: string, sandbox: boolean) => Promise<void>;
32
- travelifyInit: (apiUrl: string, apiToken: string, sandbox: boolean) => void;
20
+ yelpInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => void;
21
+ gygInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => void;
22
+ bbInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => Promise<void>;
23
+ travelifyInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => void;
33
24
  };
34
25
  declare const providers: Providers;
35
26
  declare const ver: string;
36
- export { ver, random, data, api, init, easy, ENV, providers };
27
+ export { ver, random, data, api, init, easy, providers };