ttfm-socket 1.2.36 → 1.2.38

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.
@@ -45,7 +45,9 @@ export type PlayedOneTimeAnimationParams<O extends OneTimeAnimationType = OneTim
45
45
  animation: O;
46
46
  emoji: O extends typeof OneTimeAnimation.emoji ? string : undefined;
47
47
  };
48
- export type KickedFromRoomParams = Record<string, never>;
48
+ export type KickedFromRoomParams = {
49
+ banReason?: string;
50
+ };
49
51
  export type StatelessServerMessageParams = PlayedOneTimeAnimationParams | KickedFromRoomParams;
50
52
  export declare const OneTimeAnimation: {
51
53
  readonly emoji: "emoji";
@@ -63,7 +65,7 @@ export type PlayedOneTimeAnimationMessage = {
63
65
  };
64
66
  export type KickedFromRoomMessage = {
65
67
  name: typeof StatelessServerMessageName.kickedFromRoom;
66
- params?: undefined;
68
+ params: KickedFromRoomParams;
67
69
  };
68
70
  export type StatelessServerMessage = {
69
71
  statePatch?: undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ttfm-socket",
3
- "version": "1.2.36",
3
+ "version": "1.2.38",
4
4
  "main": "./dist-client/client/index.js",
5
5
  "typings": "./dist-client/client/index.d.ts",
6
6
  "devDependencies": {