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

fintecture-client

Package Overview
Dependencies
Maintainers
1
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 1.0.18 to 1.0.19

6

fintecture-client.ts

@@ -100,2 +100,6 @@ import { AIS } from './src/Ais';

public async initiateRefund(accessToken: string, sessionId: string) {
return this.pis.initiateRefund(accessToken, sessionId);
}
public async getPisConnect(accessToken: string, connectConfig: any): Promise<IPisConnect> {

@@ -149,2 +153,2 @@ return this.connect.getPisConnect(accessToken, connectConfig);

}
}

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

getPayments(accessToken: string, sessionId: string): Promise<object>;
initiateRefund(accessToken: string, sessionId: string): Promise<object>;
getPisConnect(accessToken: string, connectConfig: any): Promise<IPisConnect>;

@@ -37,0 +38,0 @@ getAisConnect(accessToken: string, connectConfig: any): IAisConnect;

@@ -112,2 +112,7 @@ "use strict";

}
initiateRefund(accessToken, sessionId) {
return __awaiter(this, void 0, void 0, function* () {
return this.pis.initiateRefund(accessToken, sessionId);
});
}
getPisConnect(accessToken, connectConfig) {

@@ -114,0 +119,0 @@ return __awaiter(this, void 0, void 0, function* () {

2

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

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

@@ -46,2 +46,10 @@ import { IFintectureConfig } from './interfaces/ConfigInterface';

/**
* Initiate a refund
*
* @param {string} accessToken
* @param {string} sessionId
* @returns {Promise<object>}
*/
initiateRefund(accessToken: string, sessionId: string): Promise<object>;
/**
* This endpoint returns the details of all transfers or of a specific transfer

@@ -48,0 +56,0 @@ *

@@ -88,2 +88,18 @@ "use strict";

/**
* Initiate a refund
*
* @param {string} accessToken
* @param {string} sessionId
* @returns {Promise<object>}
*/
initiateRefund(accessToken, sessionId) {
return __awaiter(this, void 0, void 0, function* () {
const url = `${Endpoints_1.Endpoints.PIS}/refund`;
const payload = this._buildSessionPayload(sessionId);
const headers = apiService.getHeaders('post', url, accessToken, this.config, payload);
const response = yield this.axiosInstance.post(url, payload, { headers });
return response.data;
});
}
/**
* This endpoint returns the details of all transfers or of a specific transfer

@@ -90,0 +106,0 @@ *

{
"name": "fintecture-client",
"version": "1.0.18",
"version": "1.0.19",
"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

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