@runnerpro/backend 1.12.5 → 1.12.7

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.
@@ -316,7 +316,6 @@ const getThumbnailFromVideo = (videoPath) => __awaiter(void 0, void 0, void 0, f
316
316
  const buffer = fs_1.default.readFileSync(outputPath);
317
317
  // Limpiar archivo temporal
318
318
  fs_1.default.unlinkSync(outputPath);
319
- console.log(`Thumbnail generado: ${buffer.length} bytes`);
320
319
  resolve(buffer);
321
320
  }
322
321
  catch (error) {
@@ -352,8 +351,7 @@ const getVideoDuration = (videoPath) => __awaiter(void 0, void 0, void 0, functi
352
351
  if (!duration || isNaN(duration)) {
353
352
  throw new Error('No se pudo obtener la duración del video');
354
353
  }
355
- const durationInSeconds = parseFloat(duration);
356
- console.log(`Duración del video: ${durationInSeconds} segundos`);
354
+ const durationInSeconds = Math.round(parseFloat(duration));
357
355
  resolve(durationInSeconds);
358
356
  }
359
357
  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;AA6XF,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.7",
4
4
  "description": "A collection of common backend functions",
5
5
  "exports": {
6
6
  ".": "./lib/cjs/index.js"