trucoshi 13.2.1 → 13.2.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 +3 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -157,6 +157,7 @@ export interface IMatchFlorBattle {
157
157
  winnerTeamIdx: 0 | 1 | null;
158
158
  winner: IPublicPlayer | null;
159
159
  }
160
+ export type PublicRoundResult = 0 | 1 | "tie" | null;
160
161
  export interface IMatchPreviousHand {
161
162
  envido: {
162
163
  winner: IPublicPlayer;
@@ -178,6 +179,7 @@ export interface IMatchPreviousHand {
178
179
  cards: ICard[];
179
180
  }>;
180
181
  rounds: IPlayedCard[][];
182
+ roundResults: PublicRoundResult[];
181
183
  points: IHandPoints;
182
184
  matchSessionId: string;
183
185
  }
@@ -200,6 +202,7 @@ export interface IPublicMatch {
200
202
  me: IPublicPlayer | null;
201
203
  freshHand: boolean;
202
204
  rounds: IPlayedCard[][];
205
+ roundResults: PublicRoundResult[];
203
206
  lastCard?: ICard | null;
204
207
  lastCommand?: ECommand | number | null;
205
208
  awardedSatsPerPlayer?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trucoshi",
3
- "version": "13.2.1",
3
+ "version": "13.2.2",
4
4
  "description": "Truco Game Server",
5
5
  "main": "dist/types.js",
6
6
  "license": "GPL-3.0",