entexto-cli 1.4.7 → 1.4.8

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.
@@ -46,13 +46,13 @@ module.exports = async function tunnel(opts) {
46
46
  }
47
47
 
48
48
  const socket = ioClient(wsUrl, {
49
- // Polling primero upgrade a WebSocket. Esto sobrevive a Cloudflare y
50
- // otros proxies que cierran WebSockets agresivamente (como hace ngrok).
51
- transports: ['polling', 'websocket'],
52
- upgrade: true,
49
+ // WebSocket puro: manejo concurrente de assets (CSS/JS/imágenes en paralelo).
50
+ // Polling serializa los acks y causa 504 cuando hay muchos requests simultáneos.
51
+ transports: ['websocket'],
52
+ upgrade: false,
53
53
  reconnection: true,
54
- reconnectionDelay: 1500,
55
- reconnectionDelayMax: 5000,
54
+ reconnectionDelay: 1000,
55
+ reconnectionDelayMax: 3000,
56
56
  reconnectionAttempts: Infinity,
57
57
  timeout: 20000,
58
58
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "entexto-cli",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "CLI oficial de Entexto — Deploy y gestión de proyectos desde tu terminal",
5
5
  "main": "lib/index.js",
6
6
  "bin": {