From 6a9e97f18321d8856c3cb9b1a0e0b136ba7873a7 Mon Sep 17 00:00:00 2001 From: DerTyp7 Date: Sun, 9 Feb 2025 20:58:52 +0100 Subject: [PATCH] bump version to 1.1.2 and add IConnectionStatusInfo interface for enhanced connection details --- package.json | 2 +- src/types/entities.ts | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index fcb2383..bb91196 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-teamspeak-remote-app-api-types", - "version": "1.1.1", + "version": "1.1.2", "description": "Types for the TeamSpeak 5/6 Remote App API", "license": "ISC", "type": "commonjs", diff --git a/src/types/entities.ts b/src/types/entities.ts index a65efa5..03188ef 100644 --- a/src/types/entities.ts +++ b/src/types/entities.ts @@ -238,10 +238,12 @@ export interface IConnectionStatus { connectionId: number; error: string; hotReload: boolean; - info?: { - clientId: number; - serverName: string; - serverUid: string; - } + info?: IConnectionStatusInfo; status: number; +} + +export interface IConnectionStatusInfo { + clientId: number; + serverName: string; + serverUid: string; } \ No newline at end of file