@runnerpro/backend 1.7.8 → 1.8.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.
@@ -182,20 +182,6 @@ const sendMessage = (req, res, { sendNotification, firebaseMessaging, query, isC
182
182
  body: `Rubén: ${textPreferredLanguage || textSpanish}`,
183
183
  url: '/chat',
184
184
  });
185
- try {
186
- // Enviar el mensaje a la IA de vuelta para que aprenda que mensaje ha acabado enviando el entrenador
187
- yield axios_1.default.put(`${process.env.BACKEND_IA_URL}/api/chat/suggestion`, { userId: idCliente }, {
188
- headers: {
189
- 'ngrok-skip-browser-warning': true, // working with ngrok
190
- 'Content-Type': 'application/json',
191
- Authorization: `Bearer ${process.env.IA_ACCESS_TOKEN}`,
192
- },
193
- });
194
- }
195
- catch (error) {
196
- // eslint-disable-next-line no-console
197
- console.error(error);
198
- }
199
185
  }
200
186
  res.send({ status: 'ok' });
201
187
  });
@@ -1 +1 @@
1
- {"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../../src/chat/api/conversation.ts"],"names":[],"mappings":"AAWA,QAAA,MAAM,iBAAiB,0BAA2B,GAAG,SAkBpD,CAAC;AA0SF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../../src/chat/api/conversation.ts"],"names":[],"mappings":"AAWA,QAAA,MAAM,iBAAiB,0BAA2B,GAAG,SAkBpD,CAAC;AAyRF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runnerpro/backend",
3
- "version": "1.7.8",
3
+ "version": "1.8.0",
4
4
  "description": "A collection of common backend functions",
5
5
  "exports": {
6
6
  ".": "./lib/cjs/index.js"
@@ -66,6 +66,7 @@
66
66
  "@google-cloud/translate": "^8.3.0",
67
67
  "@notionhq/client": "^2.2.15",
68
68
  "exifr": "^7.1.3",
69
+ "firebase-admin": "^11.10.1",
69
70
  "googleapis": "^144.0.0",
70
71
  "multer": "^1.4.5-lts.1",
71
72
  "oauth-signature": "1.5.0",