@eld0ud/fintecture-client
Advanced tools
Comparing version 1.0.31 to 1.0.32
{ | ||
"name": "@eld0ud/fintecture-client", | ||
"version": "1.0.31", | ||
"version": "1.0.32", | ||
"description": "Fintecture Open Banking API Gateway enabling secure bank connections and payments", | ||
@@ -5,0 +5,0 @@ "main": "lib/fintecture-client.js", |
@@ -142,5 +142,5 @@ "use strict"; | ||
} | ||
if (!connectConfig.customer_ip && this.config.env === Constants_js_1.Constants.PRODUCTIONENVIRONMENT) { | ||
throw Error('customer ip must be set'); | ||
} | ||
// if (!connectConfig.customer_ip && this.config.env === Constants.PRODUCTIONENVIRONMENT) { | ||
// throw Error('customer ip must be set'); | ||
// } | ||
return connectConfig; | ||
@@ -147,0 +147,0 @@ } |
@@ -29,2 +29,3 @@ import { IFintectureConfig } from './interfaces/ConfigInterface'; | ||
origin_uri?: string; | ||
psu_type?: 'all' | 'corporate' | 'retail'; | ||
}): Promise<IPisV2Connect>; | ||
@@ -31,0 +32,0 @@ /** |
@@ -52,2 +52,5 @@ "use strict"; | ||
const headers = apiService.getHeaders('post', url, accessToken, this.config, payload); | ||
if (connectConfig.psu_type) { | ||
headers['x-psu_type'] = connectConfig.psu_type; | ||
} | ||
const response = yield this.axiosInstance.post(url, payload, { headers }); | ||
@@ -54,0 +57,0 @@ return response.data; |
{ | ||
"name": "@eld0ud/fintecture-client", | ||
"version": "1.0.31", | ||
"version": "1.0.32", | ||
"description": "Fintecture Open Banking API Gateway enabling secure bank connections and payments", | ||
@@ -5,0 +5,0 @@ "main": "lib/fintecture-client.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
201780
2987