@tripian/core 6.0.50 → 6.0.51

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripian/core",
3
- "version": "6.0.50",
3
+ "version": "6.0.51",
4
4
  "description": "Tripian Inc Web SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -2,9 +2,8 @@ import { Providers } from '@tripian/model';
2
2
  declare class API {
3
3
  private axios;
4
4
  private proxyURL;
5
- private apiUrl;
6
5
  private sandbox;
7
- constructor(apiUrl: string, sandbox: boolean, proxyURL: string);
6
+ constructor(apiUrl: string, sandbox: boolean);
8
7
  private getImgUrl;
9
8
  login: (apiKey: string) => Promise<void>;
10
9
  searchActivities: (startDate: string, endDate: string) => Promise<Providers.Bb.SearchActivitiesResponse>;
@@ -22,9 +22,8 @@ export declare type GygTourData = {
22
22
  declare class API {
23
23
  private axios;
24
24
  private proxyURL;
25
- private apiUrl;
26
25
  private sandbox;
27
- constructor(apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string);
26
+ constructor(apiUrl: string, apiToken: string, sandbox: boolean);
28
27
  categories: (limit?: number, language?: string, currency?: string) => Promise<Providers.Gyg.Category[]>;
29
28
  category: (categoryId: number, language?: string, currency?: string) => Promise<Providers.Gyg.Category>;
30
29
  private defaultTours;
@@ -1,13 +1,12 @@
1
1
  declare class API {
2
2
  private axios;
3
- private proxyURL;
4
3
  private applicationId;
5
4
  private privateKey;
6
5
  private sandbox;
7
6
  private redirectUrlSandbox;
8
7
  private redirectUrlProd;
9
8
  private redirectUrl;
10
- constructor(apiUrl: string, userPass: string, sandbox: boolean, proxyURL: string);
9
+ constructor(apiUrl: string, userPass: string, sandbox: boolean);
11
10
  getTourTicketUrl: (startDate: string, endDate: string, latitude: number, longitude: number, radius?: number) => Promise<string>;
12
11
  }
13
12
  export default API;
@@ -3,7 +3,7 @@ declare class API {
3
3
  private axios;
4
4
  private proxyURL;
5
5
  private sandbox;
6
- constructor(apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string);
6
+ constructor(apiUrl: string, apiToken: string, sandbox: boolean);
7
7
  business: (id: string) => Promise<Providers.Yelp.Business>;
8
8
  openings: (openings: Providers.Yelp.OpeningsRequest) => Promise<Providers.Yelp.Openings>;
9
9
  hold: (hold: Providers.Yelp.HoldRequest) => Promise<Providers.Yelp.Hold>;