@fiado/api-invoker 3.0.17 → 3.0.19

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.
@@ -171,7 +171,7 @@ let CentralPaymentsConnectorApi = class CentralPaymentsConnectorApi {
171
171
  }
172
172
  async executeFinancialOperationReversal(request) {
173
173
  const url = `${this.baseUrl}/transactions/reversal`;
174
- return await this.httpRequest.delete(url, request);
174
+ return await this.httpRequest.post(url, request);
175
175
  }
176
176
  /** PROCESSOR TRANSACTIONS **/
177
177
  async executeFinancialOperationCompletion(request) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/api-invoker",
3
- "version": "3.0.17",
3
+ "version": "3.0.19",
4
4
  "description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicación entre ellas a través de invocaciones http",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  "@fiado/gateway-adapter": "^1.1.50",
17
17
  "@fiado/http-client": "^1.0.7",
18
18
  "@fiado/logger": "^1.0.3",
19
- "@fiado/type-kit": "^3.0.20",
19
+ "@fiado/type-kit": "^3.0.21",
20
20
  "dotenv": "^16.4.7",
21
21
  "inversify": "^6.2.2",
22
22
  "reflect-metadata": "^0.2.2"
@@ -258,7 +258,7 @@ export class CentralPaymentsConnectorApi implements ICentralPaymentsConnectorApi
258
258
 
259
259
  async executeFinancialOperationReversal(request: ProviderTransactionReversalRequest): Promise<FiadoApiResponse<ProviderTransactionReversalResponse[]>> {
260
260
  const url = `${this.baseUrl}/transactions/reversal`;
261
- return await this.httpRequest.delete(url, request);
261
+ return await this.httpRequest.post(url, request);
262
262
  }
263
263
 
264
264
  /** PROCESSOR TRANSACTIONS **/