@block52/poker-vm-sdk 1.8.0 → 1.10.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/index.d.ts +115 -3
- package/dist/index.esm.js +11 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/types/game.d.ts +114 -1
- package/dist/types/game.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -56115,6 +56115,14 @@ exports.NonPlayerActionType = void 0;
|
|
|
56115
56115
|
// starts the sit-and-go once gameOptions.scheduledStartTime has passed and
|
|
56116
56116
|
// at least minPlayers are seated. Offered in legalActions when it is due.
|
|
56117
56117
|
NonPlayerActionType["START"] = "start";
|
|
56118
|
+
// Sealed hands (poker-vm#2695, commit-reveal phase 1). Submitted by the
|
|
56119
|
+
// dealer, never by a player. REVEAL_BOARD supplies the next street's cards
|
|
56120
|
+
// (`cards=Xx-Yy-Zz`: 3 for the flop, 1 for the turn, 1 for the river) while
|
|
56121
|
+
// `sealed.awaiting === "board"`. REVEAL_DEAL supplies the full deck
|
|
56122
|
+
// (`deck=<52 cards>`) at showdown while `sealed.awaiting === "deal"`; the
|
|
56123
|
+
// engine replays the deal in `sealed.dealtSeats` order and settles.
|
|
56124
|
+
NonPlayerActionType["REVEAL_BOARD"] = "reveal-board";
|
|
56125
|
+
NonPlayerActionType["REVEAL_DEAL"] = "reveal-deal";
|
|
56118
56126
|
})(exports.NonPlayerActionType || (exports.NonPlayerActionType = {}));
|
|
56119
56127
|
const AllPlayerActions = { ...exports.PlayerActionType, ...exports.NonPlayerActionType };
|
|
56120
56128
|
/**
|
|
@@ -56187,6 +56195,8 @@ exports.TexasHoldemRound = void 0;
|
|
|
56187
56195
|
TexasHoldemRound["SHOWDOWN"] = "showdown";
|
|
56188
56196
|
TexasHoldemRound["END"] = "end";
|
|
56189
56197
|
})(exports.TexasHoldemRound || (exports.TexasHoldemRound = {}));
|
|
56198
|
+
const BLIND_PRESETS = ["turbo", "standard", "deep_stack", "hyper_turbo"];
|
|
56199
|
+
const BLIND_PROGRESSIONS = ["double", "linear", "percentage", "table"];
|
|
56190
56200
|
const SIT_OUT_METHOD_NEXT_HAND = "next-hand";
|
|
56191
56201
|
const SIT_OUT_METHOD_NEXT_BB = "next-bb";
|
|
56192
56202
|
exports.SUIT = void 0;
|
|
@@ -72171,6 +72181,8 @@ const registry = new protoSigning.Registry([
|
|
|
72171
72181
|
]);
|
|
72172
72182
|
|
|
72173
72183
|
exports.AllPlayerActions = AllPlayerActions;
|
|
72184
|
+
exports.BLIND_PRESETS = BLIND_PRESETS;
|
|
72185
|
+
exports.BLIND_PROGRESSIONS = BLIND_PROGRESSIONS;
|
|
72174
72186
|
exports.BLOCK52_HD_PATH = BLOCK52_HD_PATH;
|
|
72175
72187
|
exports.Board = Board;
|
|
72176
72188
|
exports.COSMOS_CONSTANTS = COSMOS_CONSTANTS;
|