diff --git a/package.json b/package.json index bb91196..c5829dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-teamspeak-remote-app-api-types", - "version": "1.1.2", + "version": "1.1.3", "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 03188ef..211d273 100644 --- a/src/types/entities.ts +++ b/src/types/entities.ts @@ -234,15 +234,15 @@ export interface IGroup { type: number; } -export interface IConnectionStatus { +export interface IConnectStatus { connectionId: number; error: string; hotReload: boolean; - info?: IConnectionStatusInfo; + info?: IConnectStatusInfo; status: number; } -export interface IConnectionStatusInfo { +export interface IConnectStatusInfo { clientId: number; serverName: string; serverUid: string; diff --git a/src/types/events.ts b/src/types/events.ts index 3194c1c..a0a1d8d 100644 --- a/src/types/events.ts +++ b/src/types/events.ts @@ -1,4 +1,4 @@ -import { IChannelInfos, IChannelProperties, IClientProperties, IConnectionStatus, IGroup, IInvoker, IServerProperties } from "../index"; +import { IChannelInfos, IChannelProperties, IClientProperties, IConnectStatus, IGroup, IInvoker, IServerProperties } from "../index"; export interface ILogEvent { type: string; @@ -110,5 +110,5 @@ export interface IChannelsEvent { export interface IConnectStatusChangedEvent { type: string; - payload: IConnectionStatus; + payload: IConnectStatus; } \ No newline at end of file