@tripian/core 9.1.38 → 9.1.39
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/api/API.d.ts +4 -0
- package/api/const/ApiConstModel.d.ts +2 -0
- package/index.js +5 -5
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/providers/visa/API.d.ts +13 -0
- package/tcore.umd.js +5 -5
- 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.1.
|
|
3
|
+
"version": "9.1.39",
|
|
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.1.
|
|
8
|
+
"@tripian/model": "9.1.39",
|
|
9
9
|
"adyen-encryption": "^0.1.1",
|
|
10
10
|
"axios": "^0.19.1",
|
|
11
11
|
"cross-fetch": "^3.1.6",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare class VisaAPI {
|
|
2
|
+
private axios;
|
|
3
|
+
private apiUrl;
|
|
4
|
+
private partnerId;
|
|
5
|
+
private secret;
|
|
6
|
+
private proxyURL;
|
|
7
|
+
private token;
|
|
8
|
+
constructor(apiUrl: string, proxyURL: string);
|
|
9
|
+
private generateSignature;
|
|
10
|
+
private getAccessToken;
|
|
11
|
+
fetchAuthTokenWithBearer(): Promise<any>;
|
|
12
|
+
}
|
|
13
|
+
export default VisaAPI;
|