Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fintecture-client

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fintecture-client - npm Package Compare versions

Comparing version 2.0.2 to 2.1.0

0

CODE_OF_CONDUCT.md

@@ -0,0 +0,0 @@ # Contributor Covenant Code of Conduct

@@ -0,0 +0,0 @@ import { AIS } from './src/Ais';

@@ -0,0 +0,0 @@ import { IPisConnect, IAisConnect } from './src/interfaces/connect/ConnectInterface';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare const name: string;

2

lib/package.json
{
"name": "fintecture-client",
"version": "2.0.2",
"version": "2.1.0",
"description": "Fintecture Open Banking API Gateway enabling secure bank connections and payments",

@@ -5,0 +5,0 @@ "main": "lib/fintecture-client.js",

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

declare const TSConsoleReporter: any;

@@ -0,0 +0,0 @@ // tslint:disable-next-line:no-var-requires

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IFintectureConfig } from './interfaces/ConfigInterface';

@@ -98,5 +98,3 @@ "use strict";

const headers = apiService.getHeaders('get', url, accessToken, this.config, null, headerParameters);
return yield this.axiosInstance
.get(url, { headers })
.then(response => {
return yield this.axiosInstance.get(url, { headers }).then(response => {
return response.data;

@@ -124,5 +122,3 @@ });

const headers = apiService.getHeaders('get', url, accessToken, this.config, null, headerParameters);
return yield this.axiosInstance
.get(url, { headers })
.then(response => {
return yield this.axiosInstance.get(url, { headers }).then(response => {
return response.data;

@@ -145,5 +141,3 @@ });

const headers = apiService.getHeaders('get', url, accessToken, this.config, null, headerParameters);
return yield this.axiosInstance
.get(url, { headers })
.then(response => {
return yield this.axiosInstance.get(url, { headers }).then(response => {
return response.data;

@@ -164,5 +158,3 @@ });

const headers = apiService.getHeaders('delete', url, accessToken, this.config);
return yield this.axiosInstance
.delete(url, { headers })
.then(response => response.data);
return yield this.axiosInstance.delete(url, { headers }).then(response => response.data);
});

@@ -195,4 +187,4 @@ }

if (model === Constants_1.Constants.DECOUPLEDMODEL) {
headers["x-psu-id"] = psuId;
headers["x-psu-ip-address"] = psuIpAddress;
headers['x-psu-id'] = psuId;
headers['x-psu-ip-address'] = psuIpAddress;
}

@@ -218,4 +210,4 @@ const response = yield this.axiosInstance.get(url, { headers });

if (model === Constants_1.Constants.DECOUPLEDMODEL) {
headers["x-psu-id"] = psuId;
headers["x-psu-ip-address"] = psuIpAddress;
headers['x-psu-id'] = psuId;
headers['x-psu-ip-address'] = psuIpAddress;
}

@@ -222,0 +214,0 @@ const response = yield this.axiosInstance.get(url, { headers });

@@ -0,0 +0,0 @@ import { IFintectureConfig } from './interfaces/ConfigInterface';

@@ -96,3 +96,3 @@ "use strict";

if (scopes) {
data["scope"] = scopes;
data['scope'] = scopes;
}

@@ -99,0 +99,0 @@ return qs_1.default.stringify(data);

@@ -0,0 +0,0 @@ import { IPisSetup } from './interfaces/connect/ConnectInterface';

@@ -44,3 +44,3 @@ "use strict";

redirect_uri: connectConfig.redirect_uri,
state: connectConfig.state
state: connectConfig.state,
});

@@ -58,3 +58,3 @@ const url = `${Endpoints_1.Endpoints.AISCONNECT}?${queryParameters}`;

return {
url: data.meta.url
url: data.meta.url,
};

@@ -77,3 +77,3 @@ });

redirect_uri: connectConfig.redirect_uri,
state: connectConfig.state
state: connectConfig.state,
});

@@ -130,2 +130,6 @@ const url = `${Endpoints_1.Endpoints.PISCONNECT}?${queryParameters}`;

};
if (payment.debited_account_id) {
attributes.debited_account_id = payment.debited_account_id;
attributes.debited_account_type = payment.debited_account_type;
}
const meta = {

@@ -138,3 +142,3 @@ psu_name: payment.customer_full_name,

psu_phone: payment.customer_phone,
psu_address: payment.customer_address
psu_address: payment.customer_address,
};

@@ -141,0 +145,0 @@ const data = {

@@ -6,3 +6,3 @@ /**

*/
import { environment } from "../utils/Constants";
import { environment } from '../utils/Constants';
export interface IFintectureConfig {

@@ -9,0 +9,0 @@ app_id: string;

@@ -0,0 +0,0 @@ "use strict";

@@ -74,2 +74,4 @@ import { ISessionPayload } from '../pis/PisInterface';

scheme?: string;
debited_account_id?: string;
debited_account_type?: string;
}

@@ -76,0 +78,0 @@ export interface IMeta {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ConnectInterface.js.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IFintectureConfig } from './interfaces/ConfigInterface';

@@ -106,4 +106,4 @@ "use strict";

attributes: {
amount
}
amount,
},
};

@@ -126,3 +126,5 @@ }

return __awaiter(this, void 0, void 0, function* () {
const url = `${Endpoints_1.Endpoints.PIS}/payments` + (sessionId ? ('/' + sessionId) : '') + (queryParameters ? ('?' + qs_1.default.stringify(queryParameters)) : '');
const url = `${Endpoints_1.Endpoints.PIS}/payments` +
(sessionId ? '/' + sessionId : '') +
(queryParameters ? '?' + qs_1.default.stringify(queryParameters) : '');
const headers = apiService.getHeaders('get', url, accessToken, this.config);

@@ -129,0 +131,0 @@ const response = yield this.axiosInstance.get(url, { headers });

@@ -0,0 +0,0 @@ export declare class Resources {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IFintectureConfig } from '../interfaces/ConfigInterface';

@@ -45,3 +45,3 @@ "use strict";

if (body) {
headers['Digest'] = "SHA-256=" + Crypto.hashBase64(payload);
headers['Digest'] = 'SHA-256=' + Crypto.hashBase64(payload);
}

@@ -48,0 +48,0 @@ headers['Date'] = new Date().toUTCString();

export declare const getInstance: (env: string, clientToken: string) => import("axios").AxiosInstance;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IFintectureConfig } from '../interfaces/ConfigInterface';

@@ -62,5 +62,7 @@ "use strict";

function hashBase64(plainText) {
return crypto_1.createHash('sha256').update(plainText).digest('base64');
return crypto_1.createHash('sha256')
.update(plainText)
.digest('base64');
}
exports.hashBase64 = hashBase64;
//# sourceMappingURL=Crypto.js.map

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare class ResourcesURLBuilder {

@@ -0,0 +0,0 @@ export declare class Validation {

@@ -0,0 +0,0 @@ "use strict";

{
"name": "fintecture-client",
"version": "2.0.2",
"version": "2.1.0",
"description": "Fintecture Open Banking API Gateway enabling secure bank connections and payments",

@@ -5,0 +5,0 @@ "main": "lib/fintecture-client.js",

@@ -0,0 +0,0 @@ # Fintecture

@@ -0,0 +0,0 @@ ===============

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc