trucoshi 4.0.4 → 5.0.0
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 +2 -1
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -207,7 +207,7 @@ export interface IRandom {
|
|
|
207
207
|
clients: string[];
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
export type IPublicPlayer = Pick<IPlayer, "idx" | "key" | "name" | "disabled" | "abandoned" | "ready" | "hand" | "usedHand" | "prevHand" | "teamIdx" | "isTurn" | "turnExpiresAt" | "turnExtensionExpiresAt" | "isEnvidoTurn" | "isOwner"> & ({
|
|
210
|
+
export type IPublicPlayer = Pick<IPlayer, "idx" | "key" | "name" | "accountId" | "avatarUrl" | "disabled" | "abandoned" | "ready" | "hand" | "usedHand" | "prevHand" | "teamIdx" | "isTurn" | "turnExpiresAt" | "turnExtensionExpiresAt" | "isEnvidoTurn" | "isOwner"> & ({
|
|
211
211
|
isMe?: true;
|
|
212
212
|
commands: IPlayer["commands"];
|
|
213
213
|
hasFlor: IPlayer["hasFlor"];
|
|
@@ -229,6 +229,7 @@ export interface IPlayer {
|
|
|
229
229
|
teamIdx: number;
|
|
230
230
|
accountId: number | undefined;
|
|
231
231
|
matchPlayerId: number | undefined;
|
|
232
|
+
avatarUrl: string | undefined;
|
|
232
233
|
name: string;
|
|
233
234
|
key: string;
|
|
234
235
|
session: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trucoshi",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Lightning Truco Server",
|
|
5
5
|
"main": "dist/types.js",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"dotenv-cli": "^7.3.0",
|
|
72
72
|
"form-data": "^4.0.0",
|
|
73
73
|
"jsonwebtoken": "^9.0.2",
|
|
74
|
-
"lightning-accounts": "
|
|
74
|
+
"lightning-accounts": "3.0.0",
|
|
75
75
|
"node-forge": "^1.3.1",
|
|
76
76
|
"path-scurry": "^1.9.2",
|
|
77
77
|
"pino": "^8.11.0",
|