trucoshi 0.5.1 → 0.5.3

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.
@@ -0,0 +1,4 @@
1
+ export declare const PREVIOUS_HAND_ACK_TIMEOUT: number;
2
+ export declare const PLAYER_ABANDON_TIMEOUT: number;
3
+ export declare const PLAYER_TURN_TIMEOUT: number;
4
+ export declare const PLAYER_TIMEOUT_GRACE = 500;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PLAYER_TIMEOUT_GRACE = exports.PLAYER_TURN_TIMEOUT = exports.PLAYER_ABANDON_TIMEOUT = exports.PREVIOUS_HAND_ACK_TIMEOUT = void 0;
4
+ exports.PREVIOUS_HAND_ACK_TIMEOUT = 1000 * 6;
5
+ exports.PLAYER_ABANDON_TIMEOUT = 1000 * 45;
6
+ exports.PLAYER_TURN_TIMEOUT = 1000 * 30;
7
+ exports.PLAYER_TIMEOUT_GRACE = 500;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trucoshi",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "main": "dist/types.js",
5
5
  "license": "GPL-3.0",
6
6
  "scripts": {
@@ -27,7 +27,9 @@
27
27
  "dist/lib/constants.js",
28
28
  "dist/lib/constants.d.ts",
29
29
  "dist/types.js",
30
- "dist/types.d.ts"
30
+ "dist/types.d.ts",
31
+ "dist/server/constants.js",
32
+ "dist/server/constants.d.ts"
31
33
  ],
32
34
  "dependencies": {
33
35
  "@types/pino": "^7.0.5",