trucoshi 8.12.0 → 8.12.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.
Files changed (2) hide show
  1. package/dist/types.d.ts +1 -0
  2. package/package.json +3 -1
package/dist/types.d.ts CHANGED
@@ -107,6 +107,7 @@ export interface IPublicMatchInfo {
107
107
  players: number;
108
108
  options: ILobbyOptions;
109
109
  state: EMatchState;
110
+ winnerTeamIdx: 0 | 1 | undefined;
110
111
  }
111
112
  export type IPublicChatRoom = Pick<IChatRoom, "id" | "messages">;
112
113
  export interface IChatMessage {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trucoshi",
3
- "version": "8.12.0",
3
+ "version": "8.12.2",
4
4
  "description": "Lightning Truco Server",
5
5
  "main": "dist/types.js",
6
6
  "license": "GPL-3.0",
@@ -47,6 +47,7 @@
47
47
  "@types/lodash.throttle": "^4.1.9",
48
48
  "@types/mocha": "^10.0.1",
49
49
  "@types/node": "^24.1.0",
50
+ "@types/sanitize-html": "^2.16.0",
50
51
  "chai": "^5.2.1",
51
52
  "mocha": "^11.7.1",
52
53
  "nodemon": "^3.1.10",
@@ -87,6 +88,7 @@
87
88
  "pino-pretty": "^13.1.1",
88
89
  "rimraf": "^6.0.1",
89
90
  "safe-rng": "^1.0.4",
91
+ "sanitize-html": "^2.17.0",
90
92
  "socket.io": "4.8.1",
91
93
  "ts-node": "^10.9.1",
92
94
  "tsc": "^2.0.4",