diff --git a/package.json b/package.json index 67bf1ee1..c9894cb4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@nitrots/nitro-renderer", "description": "Javascript library for rendering Nitro in the browser using PixiJS", - "version": "1.2.5", + "version": "1.2.6", "publishConfig": { "access": "public" }, diff --git a/src/core/NitroVersion.ts b/src/core/NitroVersion.ts index 33abe52d..57ed6e47 100644 --- a/src/core/NitroVersion.ts +++ b/src/core/NitroVersion.ts @@ -1,5 +1,5 @@ export class NitroVersion { - public static RENDERER_VERSION: string = '1.2.5'; + public static RENDERER_VERSION: string = '1.2.6'; public static UI_VERSION: string = ''; } diff --git a/src/nitro/communication/messages/outgoing/room/data/SaveRoomSettingsComposer.ts b/src/nitro/communication/messages/outgoing/room/data/SaveRoomSettingsComposer.ts index 72b45056..ddd1ba3c 100644 --- a/src/nitro/communication/messages/outgoing/room/data/SaveRoomSettingsComposer.ts +++ b/src/nitro/communication/messages/outgoing/room/data/SaveRoomSettingsComposer.ts @@ -1,10 +1,15 @@ import { IMessageComposer } from '../../../../../../core/communication/messages/IMessageComposer'; -export class SaveRoomSettingsComposer implements IMessageComposer> +export class SaveRoomSettingsComposer +implements + IMessageComposer< + ConstructorParameters + > { private _data: ConstructorParameters; - constructor(roomId: number, + constructor( + roomId: number, roomName: string, roomDescription: string, lockState: number, @@ -30,16 +35,22 @@ export class SaveRoomSettingsComposer implements IMessageComposer