@kwirthmagnify/kwirth-common-back 0.5.44 → 0.5.45

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.
@@ -6,8 +6,9 @@ export interface IClusterEndpoint {
6
6
  id?: string;
7
7
  }
8
8
  export declare enum ERemoteConnState {
9
- CONNECTED = "connected",
10
- RECONNECTING = "reconnecting",
9
+ CONNECTED = "connected",// socket abierto Y instance válido capturado → operativo
10
+ HANDSHAKING = "handshaking",// socket abierto pero SIN instance aún (canal remoto arrancando / re-handshake)
11
+ RECONNECTING = "reconnecting",// sin socket, reintentando con backoff
11
12
  DOWN = "down"
12
13
  }
13
14
  export interface IRemoteChannelHandlers {
@@ -2,9 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ERemoteConnState = void 0;
4
4
  // Estado de una conexión remota gestionada por el core. Nunca string literals.
5
+ // Progresión al establecerse: DOWN → RECONNECTING (buscando socket) → HANDSHAKING (socket abierto, pidiendo
6
+ // instance al canal remoto) → CONNECTED (socket + instance = operativo). CONNECTED es el ÚNICO estado en el
7
+ // que un comando llega de verdad al canal remoto.
5
8
  var ERemoteConnState;
6
9
  (function (ERemoteConnState) {
7
10
  ERemoteConnState["CONNECTED"] = "connected";
11
+ ERemoteConnState["HANDSHAKING"] = "handshaking";
8
12
  ERemoteConnState["RECONNECTING"] = "reconnecting";
9
- ERemoteConnState["DOWN"] = "down";
13
+ ERemoteConnState["DOWN"] = "down"; // conexión cerrada / nunca establecida (terminal o sin credenciales)
10
14
  })(ERemoteConnState || (exports.ERemoteConnState = ERemoteConnState = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kwirthmagnify/kwirth-common-back",
3
- "version": "0.5.44",
3
+ "version": "0.5.45",
4
4
  "description": "Backend interfaces for building Kwirth provider and channel plugins",
5
5
  "scripts": {
6
6
  "build": "tsc",