@block52/poker-vm-sdk 1.1.3 → 1.1.5
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 -4
- package/dist/index.esm.js +3 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/types/game.d.ts +7 -2
- package/dist/types/game.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -45266,8 +45266,7 @@ declare enum PlayerStatus {
|
|
|
45266
45266
|
SEATED = "seated",
|
|
45267
45267
|
SITTING_OUT = "sitting-out",
|
|
45268
45268
|
SITTING_IN = "sitting-in",
|
|
45269
|
-
SHOWING = "showing"
|
|
45270
|
-
WAITING = "waiting"
|
|
45269
|
+
SHOWING = "showing"
|
|
45271
45270
|
}
|
|
45272
45271
|
declare enum TexasHoldemRound {
|
|
45273
45272
|
ANTE = "ante",
|
|
@@ -45357,8 +45356,12 @@ type WinnerDTO = {
|
|
|
45357
45356
|
name: string | undefined;
|
|
45358
45357
|
description: string | undefined;
|
|
45359
45358
|
};
|
|
45359
|
+
type SitOutMethod = "next-hand" | "next-bb";
|
|
45360
|
+
declare const SIT_OUT_METHOD_NEXT_HAND: SitOutMethod;
|
|
45361
|
+
declare const SIT_OUT_METHOD_NEXT_BB: SitOutMethod;
|
|
45360
45362
|
type PlayerDTO = {
|
|
45361
45363
|
address: string;
|
|
45364
|
+
avatar?: string;
|
|
45362
45365
|
seat: number;
|
|
45363
45366
|
stack: string;
|
|
45364
45367
|
isSmallBlind: boolean;
|
|
@@ -45370,6 +45373,8 @@ type PlayerDTO = {
|
|
|
45370
45373
|
legalActions: LegalActionDTO[];
|
|
45371
45374
|
sumOfBets: string;
|
|
45372
45375
|
timeout: number;
|
|
45376
|
+
sitInMethod?: string;
|
|
45377
|
+
pendingSitOut?: string;
|
|
45373
45378
|
signature: string;
|
|
45374
45379
|
};
|
|
45375
45380
|
type ResultDTO = {
|
|
@@ -46697,5 +46702,5 @@ declare const Client: typeof IgniteClient & Constructor<{
|
|
|
46697
46702
|
}>;
|
|
46698
46703
|
declare const registry: Registry;
|
|
46699
46704
|
|
|
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 };
|
|
46705
|
+
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 };
|
|
46706
|
+
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
|
@@ -55772,7 +55772,6 @@ var PlayerStatus;
|
|
|
55772
55772
|
PlayerStatus["SITTING_OUT"] = "sitting-out";
|
|
55773
55773
|
PlayerStatus["SITTING_IN"] = "sitting-in";
|
|
55774
55774
|
PlayerStatus["SHOWING"] = "showing";
|
|
55775
|
-
PlayerStatus["WAITING"] = "waiting";
|
|
55776
55775
|
})(PlayerStatus || (PlayerStatus = {}));
|
|
55777
55776
|
var TexasHoldemRound;
|
|
55778
55777
|
(function (TexasHoldemRound) {
|
|
@@ -55784,6 +55783,8 @@ var TexasHoldemRound;
|
|
|
55784
55783
|
TexasHoldemRound["SHOWDOWN"] = "showdown";
|
|
55785
55784
|
TexasHoldemRound["END"] = "end";
|
|
55786
55785
|
})(TexasHoldemRound || (TexasHoldemRound = {}));
|
|
55786
|
+
const SIT_OUT_METHOD_NEXT_HAND = "next-hand";
|
|
55787
|
+
const SIT_OUT_METHOD_NEXT_BB = "next-bb";
|
|
55787
55788
|
var SUIT;
|
|
55788
55789
|
(function (SUIT) {
|
|
55789
55790
|
SUIT[SUIT["CLUBS"] = 1] = "CLUBS";
|
|
@@ -58155,5 +58156,5 @@ const registry = new Registry([
|
|
|
58155
58156
|
...msgTypes,
|
|
58156
58157
|
]);
|
|
58157
58158
|
|
|
58158
|
-
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 };
|
|
58159
|
+
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 };
|
|
58159
58160
|
//# sourceMappingURL=index.esm.js.map
|