@fiado/api-invoker 1.3.75 → 1.3.76

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.
@@ -66,7 +66,7 @@ let CentralPaymentsConnectorApi = class CentralPaymentsConnectorApi {
66
66
  return await this.httpRequest.get(url);
67
67
  }
68
68
  async getCardByIdExternal(externalCardId) {
69
- const url = `${this.baseUrl}/cards/${externalCardId}?raw=true`;
69
+ const url = `${this.baseUrl}accounts/cards/${externalCardId}?raw=true`;
70
70
  return await this.httpRequest.get(url);
71
71
  }
72
72
  async getCardSensitiveInformation(externalCardId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/api-invoker",
3
- "version": "1.3.75",
3
+ "version": "1.3.76",
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",
@@ -125,7 +125,7 @@ export class CentralPaymentsConnectorApi implements ICentralPaymentsConnectorApi
125
125
  }
126
126
 
127
127
  async getCardByIdExternal(externalCardId: string): Promise<FiadoApiResponse<any>> {
128
- const url = `${this.baseUrl}/cards/${externalCardId}?raw=true`;
128
+ const url = `${this.baseUrl}accounts/cards/${externalCardId}?raw=true`;
129
129
  return await this.httpRequest.get(url);
130
130
  }
131
131