@block52/poker-vm-sdk 1.1.15 → 1.1.17
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 +5 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/game.d.ts +4 -0
- package/dist/types/game.d.ts.map +1 -1
- package/dist/types/rpc.d.ts +1 -1
- package/dist/types/rpc.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -45339,6 +45339,9 @@ type GameOptionsDTO = {
|
|
|
45339
45339
|
rake?: RakeConfigDTO;
|
|
45340
45340
|
startingStack?: string;
|
|
45341
45341
|
blindLevelDuration?: number;
|
|
45342
|
+
blindLevel?: number;
|
|
45343
|
+
nextSmallBlind?: string;
|
|
45344
|
+
nextBigBlind?: string;
|
|
45342
45345
|
otherOptions?: Record<string, any>;
|
|
45343
45346
|
};
|
|
45344
45347
|
type ActionDTO = {
|
|
@@ -45431,6 +45434,7 @@ type TexasHoldemStateDTO = {
|
|
|
45431
45434
|
results: ResultDTO[];
|
|
45432
45435
|
legalActions: LegalActionDTO[];
|
|
45433
45436
|
availableSeats: number[];
|
|
45437
|
+
rakeCollected?: string;
|
|
45434
45438
|
signature: string;
|
|
45435
45439
|
};
|
|
45436
45440
|
/**
|
|
@@ -45658,7 +45662,7 @@ type RPCRequestParams = {
|
|
|
45658
45662
|
[RPCMethods.MINT]: [string];
|
|
45659
45663
|
[RPCMethods.NEW_HAND]: [string, string, number, string];
|
|
45660
45664
|
[RPCMethods.NEW_TABLE]: [string, string, number];
|
|
45661
|
-
[RPCMethods.PERFORM_ACTION]: [string, string, string, string | null, number, string, string, string];
|
|
45665
|
+
[RPCMethods.PERFORM_ACTION]: [string, string, string, string | null, number, string, string, string, number?, string?];
|
|
45662
45666
|
[RPCMethods.PURGE]: [string, string];
|
|
45663
45667
|
[RPCMethods.RESET_BLOCKCHAIN]: [string, string];
|
|
45664
45668
|
[RPCMethods.SHUTDOWN]: [string, string];
|