@fiado/api-invoker 4.28.0 → 4.29.0

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.
@@ -46,15 +46,15 @@ let TransactionProcessorApi = class TransactionProcessorApi {
46
46
  return await this.httpRequest.post(url, request);
47
47
  }
48
48
  async walletFundingValidate(request) {
49
- const url = `${this.baseUrl}transaction-processor/wallet-funding/validate`;
49
+ const url = `${this.baseUrl}wallet-funding/validate`;
50
50
  return await this.httpRequest.post(url, request);
51
51
  }
52
52
  async walletFundingCredit(request) {
53
- const url = `${this.baseUrl}transaction-processor/wallet-funding/credit`;
53
+ const url = `${this.baseUrl}wallet-funding/credit`;
54
54
  return await this.httpRequest.post(url, request);
55
55
  }
56
56
  async walletFundingReverse(request) {
57
- const url = `${this.baseUrl}transaction-processor/wallet-funding/reverse`;
57
+ const url = `${this.baseUrl}wallet-funding/reverse`;
58
58
  return await this.httpRequest.post(url, request);
59
59
  }
60
60
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/api-invoker",
3
- "version": "4.28.0",
3
+ "version": "4.29.0",
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
  "type": "module",
6
6
  "main": "bin/index.js",
@@ -68,21 +68,21 @@ export default class TransactionProcessorApi implements ITransactionProcessorApi
68
68
  async walletFundingValidate(
69
69
  request: ValidateWalletFundingRequest,
70
70
  ): Promise<ApiGatewayResponse<ValidateWalletFundingResponse>> {
71
- const url = `${this.baseUrl}transaction-processor/wallet-funding/validate`;
71
+ const url = `${this.baseUrl}wallet-funding/validate`;
72
72
  return await this.httpRequest.post(url, request);
73
73
  }
74
74
 
75
75
  async walletFundingCredit(
76
76
  request: CreditWalletFundingRequest,
77
77
  ): Promise<ApiGatewayResponse<CreditWalletFundingResponse>> {
78
- const url = `${this.baseUrl}transaction-processor/wallet-funding/credit`;
78
+ const url = `${this.baseUrl}wallet-funding/credit`;
79
79
  return await this.httpRequest.post(url, request);
80
80
  }
81
81
 
82
82
  async walletFundingReverse(
83
83
  request: ReverseWalletFundingRequest,
84
84
  ): Promise<ApiGatewayResponse<ReverseWalletFundingResponse>> {
85
- const url = `${this.baseUrl}transaction-processor/wallet-funding/reverse`;
85
+ const url = `${this.baseUrl}wallet-funding/reverse`;
86
86
  return await this.httpRequest.post(url, request);
87
87
  }
88
88
  }