@fiado/api-invoker 1.0.81 → 1.0.82
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.
|
@@ -19,7 +19,7 @@ let P2pContactApi = class P2pContactApi {
|
|
|
19
19
|
this.baseUrl = process.env.P2P_CONTACTS_LAMBDA_URL || "";
|
|
20
20
|
}
|
|
21
21
|
async createP2pContact(request) {
|
|
22
|
-
const url = `${
|
|
22
|
+
const url = `${this.baseUrl}p2pcontacts/contacts/create`;
|
|
23
23
|
const headers = {
|
|
24
24
|
'Content-Type': 'application/json'
|
|
25
25
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fiado/api-invoker",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.82",
|
|
4
4
|
"description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicación entre ellas a traves de invocaciones http",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"types": "bin/index.d.ts",
|
|
@@ -11,7 +11,7 @@ export default class P2pContactApi implements IP2pContactApi {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
async createP2pContact(request: CreateP2pContactRequest): Promise<any> {
|
|
14
|
-
const url = `${
|
|
14
|
+
const url = `${this.baseUrl}p2pcontacts/contacts/create`;
|
|
15
15
|
const headers = {
|
|
16
16
|
'Content-Type': 'application/json'
|
|
17
17
|
}
|