trucoshi 8.5.0 → 8.5.2

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.
package/dist/types.d.ts CHANGED
@@ -15,7 +15,7 @@ export declare enum EMatchState {
15
15
  }
16
16
  export type IPlayerRanking = Omit<UserStats, "id" | "satsBet" | "satsWon" | "satsLost"> & Pick<User, "name" | "avatarUrl">;
17
17
  export interface IMatchDetails extends Match {
18
- players: Array<Pick<MatchPlayer, "id" | "accountId" | "teamIdx" | "name" | "idx" | "bot">>;
18
+ players: Array<Pick<MatchPlayer, "accountId" | "teamIdx" | "name" | "idx" | "bot">>;
19
19
  hands: Array<MatchHand>;
20
20
  }
21
21
  export interface IAccountDetails {
@@ -128,7 +128,7 @@ export interface IChatRoom {
128
128
  card(user: IChatMessage["user"], card: ICard, sound?: string | boolean): void;
129
129
  command(team: 0 | 1, command: ECommand | number, sound?: string | boolean): void;
130
130
  system(message: string, sound?: string | boolean): void;
131
- sound(sound: string, toTeamIdx?: "0" | "1", fromUser?: IChatMessage['user']): void;
131
+ sound(sound: string, toTeamIdx?: "0" | "1", fromUser?: IChatMessage["user"]): void;
132
132
  emit(message?: IChatMessage, teamIdxs?: string): void;
133
133
  }
134
134
  export declare enum EChatSystem {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trucoshi",
3
- "version": "8.5.0",
3
+ "version": "8.5.2",
4
4
  "description": "Lightning Truco Server",
5
5
  "main": "dist/types.js",
6
6
  "license": "GPL-3.0",