bump version to 1.0.4 and add IServerPropertiesUpdatedEvent interface

This commit is contained in:
2025-02-02 02:45:02 +01:00
parent 5925f9fca8
commit 32527f04d8
2 changed files with 10 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "react-teamspeak-remote-app-api-types",
"version": "1.0.3",
"version": "1.0.4",
"description": "Types for the TeamSpeak 5/6 Remote App API",
"license": "ISC",
"type": "commonjs",

View File

@@ -1,4 +1,4 @@
import { IChannelProperties, IClientProperties, IInvoker } from "../index";
import { IChannelProperties, IClientProperties, IInvoker, IServerProperties } from "../index";
export interface ILogEvent {
type: string;
@@ -70,4 +70,12 @@ export interface IClientSelfPropertiesUpdatedEvent {
newValue: string;
oldValue: string;
};
}
export interface IServerPropertiesUpdatedEvent {
type: string;
payload: {
connectionId: number;
properties: IServerProperties;
};
}