@tripian/core 9.3.7 → 9.3.8
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 +3 -0
- package/index.js +6 -6
- package/package.json +2 -2
- package/providers/occasiongenius/API.d.ts +15 -0
- package/tcore.umd.js +6 -6
- package/tcore.umd.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tripian/core",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.8",
|
|
4
4
|
"description": "Tripian Inc Web SDK",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@tripian/model": "9.3.
|
|
8
|
+
"@tripian/model": "9.3.8",
|
|
9
9
|
"adyen-encryption": "^0.1.1",
|
|
10
10
|
"axios": "^0.19.1",
|
|
11
11
|
"cross-fetch": "^3.1.6",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Providers } from '@tripian/model';
|
|
2
|
+
declare class API {
|
|
3
|
+
private static instance;
|
|
4
|
+
private axios;
|
|
5
|
+
private proxyURL;
|
|
6
|
+
private apiKey;
|
|
7
|
+
private baseId;
|
|
8
|
+
private tableId;
|
|
9
|
+
private baseURL;
|
|
10
|
+
constructor(apiKey: string, baseId: string, tableId: string, proxyURL: string);
|
|
11
|
+
static getInstance(apiKey: string, baseId: string, tableId: string, proxyURL: string): API;
|
|
12
|
+
private buildFilterFormula;
|
|
13
|
+
events: (lat: number, lng: number, startDate: string, endDate: string, radius?: number, limit?: number) => Promise<Providers.OccasionGenius.Event[]>;
|
|
14
|
+
}
|
|
15
|
+
export default API;
|