@gnpdev/rpa-tools 1.0.6 → 1.0.9

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.
package/README.md CHANGED
@@ -21,7 +21,7 @@ Crea un archivo en tu proyecto (ej. `src/lib/rpa.js`) para inicializar y exporta
21
21
 
22
22
  ```javascript
23
23
  // src/lib/rpa.js
24
- import { createRpaTools } from '@strujillodv/rpa-tools';
24
+ import { createRpaTools } from '@gnpdev/rpa-tools';
25
25
  import { Pool } from 'pg';
26
26
 
27
27
  // 1. Configura tu pool de base de datos (usualmente ya lo tienes)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gnpdev/rpa-tools",
3
- "version": "1.0.6",
3
+ "version": "1.0.9",
4
4
  "description": "Libreria para logs y screenshot de bots",
5
5
  "author": "Sergio Antonio Trujillo del Valle",
6
6
  "main": "src/index.js",
package/src/watcher.js CHANGED
@@ -51,7 +51,7 @@ class ScreenshotWatcher {
51
51
  const { rows } = await this.pool.query(
52
52
  `SELECT screenshots_activo, intervalo_sec
53
53
  FROM bots.tb_bots
54
- WHERE bot_id = $1`,
54
+ WHERE id = $1`,
55
55
  [this.botId]
56
56
  );
57
57