@block52/poker-vm-sdk 1.1.4 → 1.1.6
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 +9 -2
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/types/game.d.ts +7 -0
- package/dist/types/game.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -45209,6 +45209,7 @@ declare enum PlayerActionType {
|
|
|
45209
45209
|
SHOW = "show"
|
|
45210
45210
|
}
|
|
45211
45211
|
declare enum NonPlayerActionType {
|
|
45212
|
+
DEAD_SMALL_BLIND = "dead-small-blind",
|
|
45212
45213
|
DEAL = "deal",
|
|
45213
45214
|
JOIN = "join",
|
|
45214
45215
|
LEAVE = "leave",
|
|
@@ -45218,6 +45219,7 @@ declare enum NonPlayerActionType {
|
|
|
45218
45219
|
TOP_UP = "top-up"
|
|
45219
45220
|
}
|
|
45220
45221
|
declare const AllPlayerActions: {
|
|
45222
|
+
DEAD_SMALL_BLIND: NonPlayerActionType.DEAD_SMALL_BLIND;
|
|
45221
45223
|
DEAL: NonPlayerActionType.DEAL;
|
|
45222
45224
|
JOIN: NonPlayerActionType.JOIN;
|
|
45223
45225
|
LEAVE: NonPlayerActionType.LEAVE;
|
|
@@ -45356,8 +45358,12 @@ type WinnerDTO = {
|
|
|
45356
45358
|
name: string | undefined;
|
|
45357
45359
|
description: string | undefined;
|
|
45358
45360
|
};
|
|
45361
|
+
type SitOutMethod = "next-hand" | "next-bb";
|
|
45362
|
+
declare const SIT_OUT_METHOD_NEXT_HAND: SitOutMethod;
|
|
45363
|
+
declare const SIT_OUT_METHOD_NEXT_BB: SitOutMethod;
|
|
45359
45364
|
type PlayerDTO = {
|
|
45360
45365
|
address: string;
|
|
45366
|
+
avatar?: string;
|
|
45361
45367
|
seat: number;
|
|
45362
45368
|
stack: string;
|
|
45363
45369
|
isSmallBlind: boolean;
|
|
@@ -45370,6 +45376,7 @@ type PlayerDTO = {
|
|
|
45370
45376
|
sumOfBets: string;
|
|
45371
45377
|
timeout: number;
|
|
45372
45378
|
sitInMethod?: string;
|
|
45379
|
+
pendingSitOut?: string;
|
|
45373
45380
|
signature: string;
|
|
45374
45381
|
};
|
|
45375
45382
|
type ResultDTO = {
|
|
@@ -46697,5 +46704,5 @@ declare const Client: typeof IgniteClient & Constructor<{
|
|
|
46697
46704
|
}>;
|
|
46698
46705
|
declare const registry: Registry;
|
|
46699
46706
|
|
|
46700
|
-
export { AllPlayerActions, BLOCK52_HD_PATH, COSMOS_CONSTANTS, Client, CosmosClient, Deck, GameFormat, GameStatus, GameVariant, HandType, KEYS, MissingWalletError, NonPlayerActionType, Params, PlayerActionType, PlayerStatus, PokerGameIntegration, PokerSolver, RPCMethods, SUIT, SigningCosmosClient, TexasHoldemRound, WithdrawalRequest, createSigningClientFromMnemonic, createWalletFromMnemonic, formatGameFormatDisplay, formatGameVariantDisplay, generateWallet, getActionByType, getAddressFromMnemonic, getDefaultCosmosConfig, getGameFormat, getGameFormatForCosmos, getGameFormatFromObject, getGameVariant, hasAction, isCashFormat, isEmptyAddress, isSitAndGoFormat, isTournamentFormat, isValidMnemonic, isValidPlayerAddress, parseGameFormat, parseGameVariant, registry };
|
|
46701
|
-
export type { AccountDTO, ActionDTO, Block, BlockDTO, BlockHeader, BlockHeaderDTO, BlockID, BlockResponse, BurnResponseDTO, Card, EquityHand, EquityRequest, EquityResponse, EquityResult, GameListItem, GameOptions, GameOptionsDTO, GameOptionsResponse, GameStateResponse, GameStateResponseDTO, HandEvaluation, ISignedResponse, LegalActionDTO, PerformActionResponse, PlayerDTO, RPCRequest, RPCRequestParams, RPCResponse, RakeConfig, RakeConfigDTO, ResultDTO, TexasHoldemGameState, TexasHoldemStateDTO, TransactionDTO, TransactionResponse, WalletInfo, WinnerDTO, WithdrawResponseDTO };
|
|
46707
|
+
export { AllPlayerActions, BLOCK52_HD_PATH, COSMOS_CONSTANTS, Client, CosmosClient, Deck, GameFormat, GameStatus, GameVariant, HandType, KEYS, MissingWalletError, NonPlayerActionType, Params, PlayerActionType, PlayerStatus, PokerGameIntegration, PokerSolver, RPCMethods, SIT_OUT_METHOD_NEXT_BB, SIT_OUT_METHOD_NEXT_HAND, SUIT, SigningCosmosClient, TexasHoldemRound, WithdrawalRequest, createSigningClientFromMnemonic, createWalletFromMnemonic, formatGameFormatDisplay, formatGameVariantDisplay, generateWallet, getActionByType, getAddressFromMnemonic, getDefaultCosmosConfig, getGameFormat, getGameFormatForCosmos, getGameFormatFromObject, getGameVariant, hasAction, isCashFormat, isEmptyAddress, isSitAndGoFormat, isTournamentFormat, isValidMnemonic, isValidPlayerAddress, parseGameFormat, parseGameVariant, registry };
|
|
46708
|
+
export type { AccountDTO, ActionDTO, Block, BlockDTO, BlockHeader, BlockHeaderDTO, BlockID, BlockResponse, BurnResponseDTO, Card, EquityHand, EquityRequest, EquityResponse, EquityResult, GameListItem, GameOptions, GameOptionsDTO, GameOptionsResponse, GameStateResponse, GameStateResponseDTO, HandEvaluation, ISignedResponse, LegalActionDTO, PerformActionResponse, PlayerDTO, RPCRequest, RPCRequestParams, RPCResponse, RakeConfig, RakeConfigDTO, ResultDTO, SitOutMethod, TexasHoldemGameState, TexasHoldemStateDTO, TransactionDTO, TransactionResponse, WalletInfo, WinnerDTO, WithdrawResponseDTO };
|
package/dist/index.esm.js
CHANGED
|
@@ -55728,6 +55728,7 @@ var PlayerActionType;
|
|
|
55728
55728
|
})(PlayerActionType || (PlayerActionType = {}));
|
|
55729
55729
|
var NonPlayerActionType;
|
|
55730
55730
|
(function (NonPlayerActionType) {
|
|
55731
|
+
NonPlayerActionType["DEAD_SMALL_BLIND"] = "dead-small-blind";
|
|
55731
55732
|
NonPlayerActionType["DEAL"] = "deal";
|
|
55732
55733
|
NonPlayerActionType["JOIN"] = "join";
|
|
55733
55734
|
NonPlayerActionType["LEAVE"] = "leave";
|
|
@@ -55783,6 +55784,8 @@ var TexasHoldemRound;
|
|
|
55783
55784
|
TexasHoldemRound["SHOWDOWN"] = "showdown";
|
|
55784
55785
|
TexasHoldemRound["END"] = "end";
|
|
55785
55786
|
})(TexasHoldemRound || (TexasHoldemRound = {}));
|
|
55787
|
+
const SIT_OUT_METHOD_NEXT_HAND = "next-hand";
|
|
55788
|
+
const SIT_OUT_METHOD_NEXT_BB = "next-bb";
|
|
55786
55789
|
var SUIT;
|
|
55787
55790
|
(function (SUIT) {
|
|
55788
55791
|
SUIT[SUIT["CLUBS"] = 1] = "CLUBS";
|
|
@@ -58154,5 +58157,5 @@ const registry = new Registry([
|
|
|
58154
58157
|
...msgTypes,
|
|
58155
58158
|
]);
|
|
58156
58159
|
|
|
58157
|
-
export { AllPlayerActions, BLOCK52_HD_PATH, COSMOS_CONSTANTS, Client, CosmosClient, Deck, GameFormat, GameStatus, GameVariant, HandType, KEYS, MissingWalletError, NonPlayerActionType, Params$c as Params, PlayerActionType, PlayerStatus, PokerGameIntegration, PokerSolver, RPCMethods, SUIT, SigningCosmosClient, TexasHoldemRound, WithdrawalRequest, createSigningClientFromMnemonic, createWalletFromMnemonic, formatGameFormatDisplay, formatGameVariantDisplay, generateWallet, getActionByType, getAddressFromMnemonic, getDefaultCosmosConfig, getGameFormat, getGameFormatForCosmos, getGameFormatFromObject, getGameVariant, hasAction, isCashFormat, isEmptyAddress, isSitAndGoFormat, isTournamentFormat, isValidMnemonic, isValidPlayerAddress, parseGameFormat, parseGameVariant, registry };
|
|
58160
|
+
export { AllPlayerActions, BLOCK52_HD_PATH, COSMOS_CONSTANTS, Client, CosmosClient, Deck, GameFormat, GameStatus, GameVariant, HandType, KEYS, MissingWalletError, NonPlayerActionType, Params$c as Params, PlayerActionType, PlayerStatus, PokerGameIntegration, PokerSolver, RPCMethods, SIT_OUT_METHOD_NEXT_BB, SIT_OUT_METHOD_NEXT_HAND, SUIT, SigningCosmosClient, TexasHoldemRound, WithdrawalRequest, createSigningClientFromMnemonic, createWalletFromMnemonic, formatGameFormatDisplay, formatGameVariantDisplay, generateWallet, getActionByType, getAddressFromMnemonic, getDefaultCosmosConfig, getGameFormat, getGameFormatForCosmos, getGameFormatFromObject, getGameVariant, hasAction, isCashFormat, isEmptyAddress, isSitAndGoFormat, isTournamentFormat, isValidMnemonic, isValidPlayerAddress, parseGameFormat, parseGameVariant, registry };
|
|
58158
58161
|
//# sourceMappingURL=index.esm.js.map
|