@runnerpro/backend 1.12.5 → 1.12.6

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.
@@ -352,8 +352,7 @@ const getVideoDuration = (videoPath) => __awaiter(void 0, void 0, void 0, functi
352
352
  if (!duration || isNaN(duration)) {
353
353
  throw new Error('No se pudo obtener la duración del video');
354
354
  }
355
- const durationInSeconds = parseFloat(duration);
356
- console.log(`Duración del video: ${durationInSeconds} segundos`);
355
+ const durationInSeconds = Math.round(parseFloat(duration));
357
356
  resolve(durationInSeconds);
358
357
  }
359
358
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../../src/chat/api/conversation.ts"],"names":[],"mappings":"AAkBA,QAAA,MAAM,iBAAiB,0BAA2B,GAAG,SAoBpD,CAAC;AAgYF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../../../src/chat/api/conversation.ts"],"names":[],"mappings":"AAkBA,QAAA,MAAM,iBAAiB,0BAA2B,GAAG,SAoBpD,CAAC;AA+XF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runnerpro/backend",
3
- "version": "1.12.5",
3
+ "version": "1.12.6",
4
4
  "description": "A collection of common backend functions",
5
5
  "exports": {
6
6
  ".": "./lib/cjs/index.js"