@fiado/api-invoker 1.3.14 → 1.3.15
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.
|
@@ -42,7 +42,7 @@ let AccountFiadoIncApi = class AccountFiadoIncApi {
|
|
|
42
42
|
return await this.httpRequest.put(url, request);
|
|
43
43
|
}
|
|
44
44
|
async getPocketBalanceById(provider, pocketId) {
|
|
45
|
-
const url = `${this.baseUrl}${provider}/pockets/${pocketId}/balance
|
|
45
|
+
const url = `${this.baseUrl}${provider}/pockets/${pocketId}/balance`;
|
|
46
46
|
return await this.httpRequest.get(url);
|
|
47
47
|
}
|
|
48
48
|
async deletePocket(provider, pocketId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fiado/api-invoker",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.15",
|
|
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",
|
|
@@ -56,7 +56,7 @@ export default class AccountFiadoIncApi implements IAccountFiadoIncApi {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
async getPocketBalanceById(provider: Provider, pocketId: string): Promise<FiadoApiResponse<GetPocketBalanceResponse>> {
|
|
59
|
-
const url = `${this.baseUrl}${provider}/pockets/${pocketId}/balance
|
|
59
|
+
const url = `${this.baseUrl}${provider}/pockets/${pocketId}/balance`;
|
|
60
60
|
return await this.httpRequest.get(url);
|
|
61
61
|
}
|
|
62
62
|
|