stelar-time-real 2.0.1 → 2.0.2
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 +0 -47
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -556,53 +556,6 @@ client.emitBinary('upload', fileData);
|
|
|
556
556
|
| Flexibilidad | total | opinionada |
|
|
557
557
|
| Ideal para | proyectos propios | producción rápida |
|
|
558
558
|
|
|
559
|
-
## Changelog
|
|
560
|
-
|
|
561
|
-
### v2.0.1
|
|
562
|
-
- Bugfix:修复reconexión infinita en cliente (llamaba a `connect()` en vez de `_connect()`)
|
|
563
|
-
- Security: IDs ahora usan crypto.randomUUID() en vez de Math.random()
|
|
564
|
-
- Fix: Validación de tipo en join-room para evitar casts inseguros
|
|
565
|
-
|
|
566
|
-
### v2.0.0
|
|
567
|
-
- 🎉 **TypeScript!** - Código fuente ahora es TypeScript
|
|
568
|
-
- Tipos completos para IDEs (VS Code, WebStorm, etc.)
|
|
569
|
-
- Autocompletado y verificación de tipos
|
|
570
|
-
- Compatibilidad total con JS (los usuarios reciben archivos .js)
|
|
571
|
-
- Los tipos .d.ts se generan automáticamente
|
|
572
|
-
|
|
573
|
-
### v1.2.3
|
|
574
|
-
- Cleanup: código fantasma eliminado (_parent, _children, _externalServer)
|
|
575
|
-
|
|
576
|
-
### v1.2.2
|
|
577
|
-
- Bugfix: métodos duplicados en client.js
|
|
578
|
-
|
|
579
|
-
### v1.2.0
|
|
580
|
-
- Soporte binarios: envía imágenes, archivos, audio, video sin base64
|
|
581
|
-
- `ctx.emitBinary('event', buffer)` y `client.emitBinary('event', buffer)`
|
|
582
|
-
- `client.sendFile(file)` y `client.sendImage(blob)`
|
|
583
|
-
- Eficiente: usa WebSocket binary diretamente, sin overhead
|
|
584
|
-
|
|
585
|
-
### v1.1.0
|
|
586
|
-
- Namespaces: `StelarServer.of('/chat')` para múltiples canales
|
|
587
|
-
- ACK personalizado: `ctx.ack('nombre', data)` y `client.request(event, data, 'ackName')`
|
|
588
|
-
- Sistema de request-response con Promesas, ultra eficiente
|
|
589
|
-
|
|
590
|
-
### v1.0.3
|
|
591
|
-
- Exportación mejorada: un solo import para servidor y cliente
|
|
592
|
-
- `import { StelarServer, StelarClient } from 'stelar-time-real'`
|
|
593
|
-
|
|
594
|
-
### v1.0.2
|
|
595
|
-
- Exportación mejorada: un solo import para servidor y cliente
|
|
596
|
-
|
|
597
|
-
### v1.0.0
|
|
598
|
-
- Lanzamiento inicial
|
|
599
|
-
- WebSockets con ws
|
|
600
|
-
- Heartbeat automático
|
|
601
|
-
- Reconexión cliente
|
|
602
|
-
- Middlewares
|
|
603
|
-
- Rooms y broadcast
|
|
604
|
-
- Soporte para servidor externo
|
|
605
|
-
|
|
606
559
|
## Licencia
|
|
607
560
|
|
|
608
561
|
MIT - Stelar
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stelar-time-real",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "WebSocket liviano y rápido sin dependendas en TypeScript. Alternativa a socket.io, namespaces, ACKs y archivos binarios.",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|