@block52/poker-vm-sdk 1.4.0 → 1.5.1
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/IClient.d.ts +0 -1
- package/dist/IClient.d.ts.map +1 -1
- package/dist/cosmosClient.d.ts +0 -1
- package/dist/cosmosClient.d.ts.map +1 -1
- package/dist/index.d.ts +133 -33
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +10361 -592
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +10366 -589
- package/dist/index.js.map +1 -1
- package/dist/pokerchain.poker.v1/module.d.ts +1 -12
- package/dist/pokerchain.poker.v1/module.d.ts.map +1 -1
- package/dist/pokerchain.poker.v1/registry.d.ts.map +1 -1
- package/dist/pokerchain.poker.v1/types/pokerchain/poker/v1/tx.d.ts +0 -26
- package/dist/pokerchain.poker.v1/types/pokerchain/poker/v1/tx.d.ts.map +1 -1
- package/dist/signingClient.d.ts +24 -5
- package/dist/signingClient.d.ts.map +1 -1
- package/dist/staking.d.ts +37 -0
- package/dist/staking.d.ts.map +1 -0
- package/dist/txResult.d.ts +63 -0
- package/dist/txResult.d.ts.map +1 -0
- package/dist/types/game.d.ts +9 -0
- package/dist/types/game.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/IClient.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ export interface IClient {
|
|
|
25
25
|
joinGame(gameId: string, seat: number, buyInAmount: bigint): Promise<string>;
|
|
26
26
|
createGame(gameFormat: string, gameVariant: string, minPlayers: number, maxPlayers: number, minBuyInB52USDC: bigint, maxBuyInB52USDC: bigint, smallBlindB52USDC: bigint, bigBlindB52USDC: bigint, timeout: number): Promise<string>;
|
|
27
27
|
initiateWithdrawal(baseAddress: string, amount: bigint): Promise<string>;
|
|
28
|
-
signWithdrawal(nonce: string, validatorEthKeyHex: string): Promise<string>;
|
|
29
28
|
listWithdrawalRequests(cosmosAddress?: string): Promise<any[]>;
|
|
30
29
|
disconnect(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MAAM,EAClB,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,EACvB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,EAAE,MAAM,GAChB,OAAO,CAAC,MAAM,CAAC,CAAC;IACnB,kBAAkB,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACzE,sBAAsB,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;IAC/D,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/B"}
|
package/dist/cosmosClient.d.ts
CHANGED
|
@@ -94,7 +94,6 @@ export declare class CosmosClient implements IClient {
|
|
|
94
94
|
* Initiate a withdrawal request via REST API
|
|
95
95
|
*/
|
|
96
96
|
initiateWithdrawal(baseAddress: string, amount: bigint): Promise<string>;
|
|
97
|
-
signWithdrawal(nonce: string, validatorEthKeyHex: string): Promise<string>;
|
|
98
97
|
/**
|
|
99
98
|
* List withdrawal requests via REST API
|
|
100
99
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmosClient.d.ts","sourceRoot":"","sources":["../src/cosmosClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAExH,qBAAa,YAAa,YAAW,OAAO;IACxC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IACxC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgB;gBAE/B,MAAM,EAAE,YAAY;IAahC;;OAEG;IACG,UAAU,CAAC,OAAO,EAAE,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EAClB,KAAK,SAAS,EACd,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACtB,MAAM,YAAY,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -45030,20 +45030,6 @@ interface MsgInitiateWithdrawal {
|
|
|
45030
45030
|
baseAddress: string;
|
|
45031
45031
|
}
|
|
45032
45032
|
declare const MsgInitiateWithdrawal: MessageFns<MsgInitiateWithdrawal>;
|
|
45033
|
-
/**
|
|
45034
|
-
* MsgSignWithdrawal defines the MsgSignWithdrawal message.
|
|
45035
|
-
* Allows validators to manually sign pending withdrawal requests.
|
|
45036
|
-
* The signer must provide their Ethereum private key to generate the signature.
|
|
45037
|
-
*/
|
|
45038
|
-
interface MsgSignWithdrawal {
|
|
45039
|
-
/** Validator address */
|
|
45040
|
-
signer: string;
|
|
45041
|
-
/** Withdrawal nonce to sign */
|
|
45042
|
-
nonce: string;
|
|
45043
|
-
/** Validator's Ethereum private key (hex format, 64 chars without 0x prefix) */
|
|
45044
|
-
validatorEthKeyHex: string;
|
|
45045
|
-
}
|
|
45046
|
-
declare const MsgSignWithdrawal: MessageFns<MsgSignWithdrawal>;
|
|
45047
45033
|
/**
|
|
45048
45034
|
* MsgTopUp defines the MsgTopUp message.
|
|
45049
45035
|
* Allows a player to add chips to their stack when not in an active hand.
|
|
@@ -45135,11 +45121,6 @@ type sendMsgInitiateWithdrawalParams = {
|
|
|
45135
45121
|
fee?: StdFee;
|
|
45136
45122
|
memo?: string;
|
|
45137
45123
|
};
|
|
45138
|
-
type sendMsgSignWithdrawalParams = {
|
|
45139
|
-
value: MsgSignWithdrawal;
|
|
45140
|
-
fee?: StdFee;
|
|
45141
|
-
memo?: string;
|
|
45142
|
-
};
|
|
45143
45124
|
type sendMsgTopUpParams = {
|
|
45144
45125
|
value: MsgTopUp;
|
|
45145
45126
|
fee?: StdFee;
|
|
@@ -45180,9 +45161,6 @@ type msgProcessDepositParams = {
|
|
|
45180
45161
|
type msgInitiateWithdrawalParams = {
|
|
45181
45162
|
value: MsgInitiateWithdrawal;
|
|
45182
45163
|
};
|
|
45183
|
-
type msgSignWithdrawalParams = {
|
|
45184
|
-
value: MsgSignWithdrawal;
|
|
45185
|
-
};
|
|
45186
45164
|
type msgTopUpParams = {
|
|
45187
45165
|
value: MsgTopUp;
|
|
45188
45166
|
};
|
|
@@ -45205,7 +45183,6 @@ declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
|
45205
45183
|
sendMsgBurn({ value, fee, memo }: sendMsgBurnParams): Promise<DeliverTxResponse>;
|
|
45206
45184
|
sendMsgProcessDeposit({ value, fee, memo }: sendMsgProcessDepositParams): Promise<DeliverTxResponse>;
|
|
45207
45185
|
sendMsgInitiateWithdrawal({ value, fee, memo }: sendMsgInitiateWithdrawalParams): Promise<DeliverTxResponse>;
|
|
45208
|
-
sendMsgSignWithdrawal({ value, fee, memo }: sendMsgSignWithdrawalParams): Promise<DeliverTxResponse>;
|
|
45209
45186
|
sendMsgTopUp({ value, fee, memo }: sendMsgTopUpParams): Promise<DeliverTxResponse>;
|
|
45210
45187
|
sendMsgDeleteGame({ value, fee, memo }: sendMsgDeleteGameParams): Promise<DeliverTxResponse>;
|
|
45211
45188
|
msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
|
|
@@ -45218,7 +45195,6 @@ declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
|
45218
45195
|
msgBurn({ value }: msgBurnParams): EncodeObject;
|
|
45219
45196
|
msgProcessDeposit({ value }: msgProcessDepositParams): EncodeObject;
|
|
45220
45197
|
msgInitiateWithdrawal({ value }: msgInitiateWithdrawalParams): EncodeObject;
|
|
45221
|
-
msgSignWithdrawal({ value }: msgSignWithdrawalParams): EncodeObject;
|
|
45222
45198
|
msgTopUp({ value }: msgTopUpParams): EncodeObject;
|
|
45223
45199
|
msgDeleteGame({ value }: msgDeleteGameParams): EncodeObject;
|
|
45224
45200
|
};
|
|
@@ -45265,6 +45241,8 @@ declare enum NonPlayerActionType {
|
|
|
45265
45241
|
SIT_IN = "sit-in",
|
|
45266
45242
|
SIT_IN_AND_WAIT = "sit-in-and-wait",
|
|
45267
45243
|
SIT_OUT = "sit-out",
|
|
45244
|
+
TIMEOUT = "timeout",
|
|
45245
|
+
TIME_BANK = "time-bank",
|
|
45268
45246
|
TOP_UP = "top-up"
|
|
45269
45247
|
}
|
|
45270
45248
|
declare const AllPlayerActions: {
|
|
@@ -45278,6 +45256,8 @@ declare const AllPlayerActions: {
|
|
|
45278
45256
|
SIT_IN: NonPlayerActionType.SIT_IN;
|
|
45279
45257
|
SIT_IN_AND_WAIT: NonPlayerActionType.SIT_IN_AND_WAIT;
|
|
45280
45258
|
SIT_OUT: NonPlayerActionType.SIT_OUT;
|
|
45259
|
+
TIMEOUT: NonPlayerActionType.TIMEOUT;
|
|
45260
|
+
TIME_BANK: NonPlayerActionType.TIME_BANK;
|
|
45281
45261
|
TOP_UP: NonPlayerActionType.TOP_UP;
|
|
45282
45262
|
SMALL_BLIND: PlayerActionType.SMALL_BLIND;
|
|
45283
45263
|
BIG_BLIND: PlayerActionType.BIG_BLIND;
|
|
@@ -45370,6 +45350,8 @@ type GameOptions = {
|
|
|
45370
45350
|
blindLevel?: number;
|
|
45371
45351
|
sngStartTime?: number;
|
|
45372
45352
|
levelStartTime?: number;
|
|
45353
|
+
timeBankMs?: number;
|
|
45354
|
+
timeBankCapMs?: number;
|
|
45373
45355
|
otherOptions?: Record<string, any>;
|
|
45374
45356
|
};
|
|
45375
45357
|
/**
|
|
@@ -45403,6 +45385,8 @@ type GameOptionsDTO = {
|
|
|
45403
45385
|
nextBigBlind?: string;
|
|
45404
45386
|
sngStartTime?: number;
|
|
45405
45387
|
levelStartTime?: number;
|
|
45388
|
+
timeBankMs?: number;
|
|
45389
|
+
timeBankCapMs?: number;
|
|
45406
45390
|
otherOptions?: Record<string, any>;
|
|
45407
45391
|
};
|
|
45408
45392
|
type ActionDTO = {
|
|
@@ -45453,6 +45437,7 @@ type PlayerDTO = {
|
|
|
45453
45437
|
sitInMethod?: SitInMethod;
|
|
45454
45438
|
pendingSitOut?: string;
|
|
45455
45439
|
pendingTopUpAmount?: string;
|
|
45440
|
+
timeBankRemainingMs?: number;
|
|
45456
45441
|
signature: string;
|
|
45457
45442
|
};
|
|
45458
45443
|
type ResultDTO = {
|
|
@@ -46403,7 +46388,6 @@ interface IClient {
|
|
|
46403
46388
|
joinGame(gameId: string, seat: number, buyInAmount: bigint): Promise<string>;
|
|
46404
46389
|
createGame(gameFormat: string, gameVariant: string, minPlayers: number, maxPlayers: number, minBuyInB52USDC: bigint, maxBuyInB52USDC: bigint, smallBlindB52USDC: bigint, bigBlindB52USDC: bigint, timeout: number): Promise<string>;
|
|
46405
46390
|
initiateWithdrawal(baseAddress: string, amount: bigint): Promise<string>;
|
|
46406
|
-
signWithdrawal(nonce: string, validatorEthKeyHex: string): Promise<string>;
|
|
46407
46391
|
listWithdrawalRequests(cosmosAddress?: string): Promise<any[]>;
|
|
46408
46392
|
disconnect(): Promise<void>;
|
|
46409
46393
|
}
|
|
@@ -46501,7 +46485,6 @@ declare class CosmosClient implements IClient {
|
|
|
46501
46485
|
* Initiate a withdrawal request via REST API
|
|
46502
46486
|
*/
|
|
46503
46487
|
initiateWithdrawal(baseAddress: string, amount: bigint): Promise<string>;
|
|
46504
|
-
signWithdrawal(nonce: string, validatorEthKeyHex: string): Promise<string>;
|
|
46505
46488
|
/**
|
|
46506
46489
|
* List withdrawal requests via REST API
|
|
46507
46490
|
*/
|
|
@@ -46528,6 +46511,42 @@ declare class CosmosClient implements IClient {
|
|
|
46528
46511
|
}
|
|
46529
46512
|
declare const getDefaultCosmosConfig: (domain?: string) => CosmosConfig;
|
|
46530
46513
|
|
|
46514
|
+
declare const MSG_CREATE_VALIDATOR_TYPE_URL = "/cosmos.staking.v1beta1.MsgCreateValidator";
|
|
46515
|
+
interface CreateValidatorParams {
|
|
46516
|
+
/** The operator's account address (b52…); the validator address is its valoper form. */
|
|
46517
|
+
operatorAddress: string;
|
|
46518
|
+
/**
|
|
46519
|
+
* The node's consensus key — the base64 `key` from `pokerchaind comet show-validator`
|
|
46520
|
+
* (`{"@type":"/cosmos.crypto.ed25519.PubKey","key":"…"}`). Ed25519 only.
|
|
46521
|
+
*/
|
|
46522
|
+
consensusPubkeyBase64: string;
|
|
46523
|
+
/** Self-bond in the bond denom's base units (e.g. micro-USDC). */
|
|
46524
|
+
amount: bigint;
|
|
46525
|
+
denom: string;
|
|
46526
|
+
moniker: string;
|
|
46527
|
+
identity?: string;
|
|
46528
|
+
website?: string;
|
|
46529
|
+
securityContact?: string;
|
|
46530
|
+
details?: string;
|
|
46531
|
+
/** Decimal fractions as strings, e.g. "0.10". */
|
|
46532
|
+
commissionRate: string;
|
|
46533
|
+
commissionMaxRate: string;
|
|
46534
|
+
commissionMaxChangeRate: string;
|
|
46535
|
+
/** In base units; must be positive and ≤ amount. */
|
|
46536
|
+
minSelfDelegation: bigint;
|
|
46537
|
+
}
|
|
46538
|
+
/** "0.1" → "100000000000000000" (LegacyDec atomics). Rejects anything outside [0, 1]. */
|
|
46539
|
+
declare function decToAtomics(value: string): string;
|
|
46540
|
+
/** b52… account address → b52valoper… (same bytes, `<prefix>valoper` HRP). */
|
|
46541
|
+
declare function toValoperAddress(accountAddress: string): string;
|
|
46542
|
+
/**
|
|
46543
|
+
* Build a MsgCreateValidator encode object. Pure — no network — so the wire
|
|
46544
|
+
* shape can be unit-tested. Mirrors the chain's MsgCreateValidator.Validate
|
|
46545
|
+
* (x/staking/types/msg.go, SDK 0.53) so obvious mistakes fail before signing:
|
|
46546
|
+
* the chain still enforces its own rules (e.g. pokerchain's min_validator_bond).
|
|
46547
|
+
*/
|
|
46548
|
+
declare function buildMsgCreateValidator(p: CreateValidatorParams): EncodeObject;
|
|
46549
|
+
|
|
46531
46550
|
/**
|
|
46532
46551
|
* Extended configuration for signing client
|
|
46533
46552
|
*/
|
|
@@ -46558,6 +46577,7 @@ interface SNGConfig {
|
|
|
46558
46577
|
declare class SigningCosmosClient extends CosmosClient {
|
|
46559
46578
|
private wallet?;
|
|
46560
46579
|
private signingClient?;
|
|
46580
|
+
private readonly accountNumbers;
|
|
46561
46581
|
private gasPrice;
|
|
46562
46582
|
constructor(config: SigningCosmosConfig);
|
|
46563
46583
|
/**
|
|
@@ -46568,6 +46588,16 @@ declare class SigningCosmosClient extends CosmosClient {
|
|
|
46568
46588
|
* Get the wallet address
|
|
46569
46589
|
*/
|
|
46570
46590
|
getWalletAddress(): Promise<string>;
|
|
46591
|
+
/**
|
|
46592
|
+
* Bond a new validator: MsgCreateValidator signed by this wallet, whose
|
|
46593
|
+
* account becomes the operator (validator address = its valoper form).
|
|
46594
|
+
* The node itself must already run with the given consensus key and be
|
|
46595
|
+
* synced; the chain enforces min_validator_bond and the bond denom.
|
|
46596
|
+
* Returns the tx hash; throws TxExecutionError if the chain rejects it.
|
|
46597
|
+
*/
|
|
46598
|
+
createValidator(params: Omit<CreateValidatorParams, "operatorAddress" | "denom"> & {
|
|
46599
|
+
denom?: string;
|
|
46600
|
+
}): Promise<string>;
|
|
46571
46601
|
/**
|
|
46572
46602
|
* Send tokens from one address to another
|
|
46573
46603
|
*/
|
|
@@ -46656,6 +46686,11 @@ declare class SigningCosmosClient extends CosmosClient {
|
|
|
46656
46686
|
*
|
|
46657
46687
|
* Returns the tx hash on CheckTx success; throws if CheckTx
|
|
46658
46688
|
* rejects (invalid signature, malformed msg, insufficient gas).
|
|
46689
|
+
*
|
|
46690
|
+
* Deliberately NOT routed through `assertExecuted` (#2609): there is no
|
|
46691
|
+
* DeliverTx result to check at this point — the hash is a CheckTx receipt,
|
|
46692
|
+
* and the execution outcome arrives over the WebSocket. Every other
|
|
46693
|
+
* broadcasting method in this class waits for inclusion and must check.
|
|
46659
46694
|
*/
|
|
46660
46695
|
performActionSync(gameId: string, action: string, amount?: bigint, data?: string): Promise<string>;
|
|
46661
46696
|
/**
|
|
@@ -46709,6 +46744,13 @@ declare class SigningCosmosClient extends CosmosClient {
|
|
|
46709
46744
|
* long a replay of this exact tx is rejected.
|
|
46710
46745
|
*/
|
|
46711
46746
|
private signUnordered;
|
|
46747
|
+
/**
|
|
46748
|
+
* account_number for the unordered sign doc. It is assigned once when the
|
|
46749
|
+
* account is created and never changes, so look it up once per signer —
|
|
46750
|
+
* performActionSync signs on every player action and shouldn't pay a REST
|
|
46751
|
+
* round trip (or inherit its failure modes) each time.
|
|
46752
|
+
*/
|
|
46753
|
+
private unorderedAccountNumber;
|
|
46712
46754
|
/**
|
|
46713
46755
|
* Sign-only MsgJoinGame: builds and signs the player's buy-in tx WITHOUT
|
|
46714
46756
|
* broadcasting, returning the base64 TxRaw for the gateway to relay
|
|
@@ -46766,11 +46808,6 @@ declare class SigningCosmosClient extends CosmosClient {
|
|
|
46766
46808
|
* Burns USDC on Cosmos and creates a withdrawal request that can be completed on Base
|
|
46767
46809
|
*/
|
|
46768
46810
|
initiateWithdrawal(baseAddress: string, amount: bigint): Promise<string>;
|
|
46769
|
-
/**
|
|
46770
|
-
* Sign a pending withdrawal request (validator/relayer operation)
|
|
46771
|
-
* Generates an ECDSA signature compatible with the Base chain CosmosBridge contract
|
|
46772
|
-
*/
|
|
46773
|
-
signWithdrawal(nonce: string, validatorEthKeyHex: string): Promise<string>;
|
|
46774
46811
|
/**
|
|
46775
46812
|
* Query a specific withdrawal request by nonce
|
|
46776
46813
|
*/
|
|
@@ -46816,6 +46853,69 @@ declare class SigningCosmosClient extends CosmosClient {
|
|
|
46816
46853
|
*/
|
|
46817
46854
|
declare function createSigningClientFromMnemonic(config: CosmosConfig, mnemonic: string): Promise<SigningCosmosClient>;
|
|
46818
46855
|
|
|
46856
|
+
/**
|
|
46857
|
+
* The part of a broadcast result this module reads. Structurally a subset of
|
|
46858
|
+
* CosmJS's `DeliverTxResponse`, so both the real response and a test double fit.
|
|
46859
|
+
*/
|
|
46860
|
+
interface ExecutionResult {
|
|
46861
|
+
transactionHash: string;
|
|
46862
|
+
code: number;
|
|
46863
|
+
rawLog?: string;
|
|
46864
|
+
}
|
|
46865
|
+
/**
|
|
46866
|
+
* Thrown when a transaction was broadcast and included in a block but its
|
|
46867
|
+
* EXECUTION failed (nonzero `DeliverTxResponse.code`). The hash, code and raw
|
|
46868
|
+
* log are retained so the failure can be looked up and shown. (#2609)
|
|
46869
|
+
*/
|
|
46870
|
+
declare class TxExecutionError extends Error {
|
|
46871
|
+
readonly transactionHash: string;
|
|
46872
|
+
readonly code: number;
|
|
46873
|
+
readonly rawLog?: string;
|
|
46874
|
+
constructor(operation: string, result: ExecutionResult);
|
|
46875
|
+
}
|
|
46876
|
+
/**
|
|
46877
|
+
* Assert that a broadcast transaction actually EXECUTED successfully.
|
|
46878
|
+
*
|
|
46879
|
+
* CosmJS resolves `signAndBroadcast` normally when execution fails — a nonzero
|
|
46880
|
+
* `DeliverTxResponse.code` is the only failure signal, and it is easy to miss
|
|
46881
|
+
* because nothing throws. Returning `result.transactionHash` without checking
|
|
46882
|
+
* reports "insufficient funds" and "invalid request" to the caller as success.
|
|
46883
|
+
*
|
|
46884
|
+
* Every SDK method that broadcasts and waits for inclusion goes through this.
|
|
46885
|
+
* The exception is `performActionSync`, which returns a CheckTx-only hash by
|
|
46886
|
+
* design and whose caller waits on a WebSocket push for the committed result —
|
|
46887
|
+
* see the comment there before adding a check to it.
|
|
46888
|
+
*/
|
|
46889
|
+
declare function assertExecuted(operation: string, result: ExecutionResult): void;
|
|
46890
|
+
/**
|
|
46891
|
+
* Where a failed SDK transaction call stopped. Lets a caller decide whether
|
|
46892
|
+
* chain state may have changed and whether resubmitting is safe:
|
|
46893
|
+
*
|
|
46894
|
+
* - `"not-broadcast"`: the node rejected the tx at CheckTx (CosmJS
|
|
46895
|
+
* `BroadcastTxError`). It never entered a block; nothing changed; fix the
|
|
46896
|
+
* cause and resubmit.
|
|
46897
|
+
* - `"execution-failed"`: the tx was included in a block but failed there
|
|
46898
|
+
* ({@link TxExecutionError}). The state change did not happen, the hash
|
|
46899
|
+
* exists, and resubmitting the same tx fails the same way unless the cause
|
|
46900
|
+
* changed.
|
|
46901
|
+
* - `"unknown"`: the mempool accepted the tx but inclusion was not observed
|
|
46902
|
+
* before CosmJS's timeout (`TimeoutError`). It MAY still execute — look the
|
|
46903
|
+
* hash up before retrying, or the retry can double-submit.
|
|
46904
|
+
*/
|
|
46905
|
+
type TxFailurePhase = "not-broadcast" | "execution-failed" | "unknown";
|
|
46906
|
+
/**
|
|
46907
|
+
* Classify an error thrown by an SDK broadcast method. Returns `undefined` for
|
|
46908
|
+
* errors raised before any broadcast (argument validation, no wallet, signing)
|
|
46909
|
+
* or by another layer (REST queries, network) — those carry no transaction.
|
|
46910
|
+
*/
|
|
46911
|
+
declare function txFailurePhase(error: unknown): TxFailurePhase | undefined;
|
|
46912
|
+
/**
|
|
46913
|
+
* The hash of the transaction behind a failed broadcast call, when one exists:
|
|
46914
|
+
* the included-but-failed tx for `"execution-failed"`, the pending tx for
|
|
46915
|
+
* `"unknown"`. `"not-broadcast"` and pre-broadcast errors have none.
|
|
46916
|
+
*/
|
|
46917
|
+
declare function txFailureHash(error: unknown): string | undefined;
|
|
46918
|
+
|
|
46819
46919
|
declare const Client: typeof IgniteClient & Constructor<{
|
|
46820
46920
|
PokerchainPokerV_1: {
|
|
46821
46921
|
query: ReturnType<typeof queryClient>;
|
|
@@ -47067,5 +47167,5 @@ declare const Client: typeof IgniteClient & Constructor<{
|
|
|
47067
47167
|
}>;
|
|
47068
47168
|
declare const registry: Registry;
|
|
47069
47169
|
|
|
47070
|
-
export { AllPlayerActions, BLOCK52_HD_PATH, Board, COSMOS_CONSTANTS, Client, CosmosClient, Deck, GAME_NAME_MICRO_PER_CHAR, GameFormat, GameStatus, GameVariant, HandType, KEYS, MAX_GAME_NAME_LENGTH, MissingWalletError, NonPlayerActionType, Params, PlayerActionType, PlayerStatus, PokerGameIntegration, PokerSolver, RPCMethods, SIT_IN_METHOD_NEXT_BB, SIT_IN_METHOD_POST_NOW, SIT_OUT_METHOD_NEXT_BB, SIT_OUT_METHOD_NEXT_HAND, SUIT, SigningCosmosClient, TexasHoldemRound, ValidatorBond, WithdrawalRequest, computeGameNameFee, createSigningClientFromMnemonic, createWalletFromMnemonic, formatGameFormatDisplay, formatGameVariantDisplay, generateWallet, getActionByType, getAddressFromMnemonic, getDefaultCosmosConfig, getGameFormat, getGameFormatForCosmos, getGameFormatFromObject, getGameVariant, hasAction, isCashFormat, isEmptyAddress, isSitAndGoFormat, isTournamentFormat, isValidMnemonic, isValidPlayerAddress, parseGameFormat, parseGameVariant, registry };
|
|
47071
|
-
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, PayoutPlaceDTO, PerformActionResponse, PlayerDTO, RPCRequest, RPCRequestParams, RPCResponse, RakeConfig, RakeConfigDTO, ResultDTO, SitInMethod, SitOutMethod, TexasHoldemGameState, TexasHoldemStateDTO, TransactionDTO, TransactionResponse, WalletInfo, WinnerDTO, WithdrawResponseDTO };
|
|
47170
|
+
export { AllPlayerActions, BLOCK52_HD_PATH, Board, COSMOS_CONSTANTS, Client, CosmosClient, Deck, GAME_NAME_MICRO_PER_CHAR, GameFormat, GameStatus, GameVariant, HandType, KEYS, MAX_GAME_NAME_LENGTH, MSG_CREATE_VALIDATOR_TYPE_URL, MissingWalletError, NonPlayerActionType, Params, PlayerActionType, PlayerStatus, PokerGameIntegration, PokerSolver, RPCMethods, SIT_IN_METHOD_NEXT_BB, SIT_IN_METHOD_POST_NOW, SIT_OUT_METHOD_NEXT_BB, SIT_OUT_METHOD_NEXT_HAND, SUIT, SigningCosmosClient, TexasHoldemRound, TxExecutionError, ValidatorBond, WithdrawalRequest, assertExecuted, buildMsgCreateValidator, computeGameNameFee, createSigningClientFromMnemonic, createWalletFromMnemonic, decToAtomics, formatGameFormatDisplay, formatGameVariantDisplay, generateWallet, getActionByType, getAddressFromMnemonic, getDefaultCosmosConfig, getGameFormat, getGameFormatForCosmos, getGameFormatFromObject, getGameVariant, hasAction, isCashFormat, isEmptyAddress, isSitAndGoFormat, isTournamentFormat, isValidMnemonic, isValidPlayerAddress, parseGameFormat, parseGameVariant, registry, toValoperAddress, txFailureHash, txFailurePhase };
|
|
47171
|
+
export type { AccountDTO, ActionDTO, Block, BlockDTO, BlockHeader, BlockHeaderDTO, BlockID, BlockResponse, BurnResponseDTO, Card, CreateValidatorParams, EquityHand, EquityRequest, EquityResponse, EquityResult, ExecutionResult, GameListItem, GameOptions, GameOptionsDTO, GameOptionsResponse, GameStateResponse, GameStateResponseDTO, HandEvaluation, ISignedResponse, LegalActionDTO, PayoutPlaceDTO, PerformActionResponse, PlayerDTO, RPCRequest, RPCRequestParams, RPCResponse, RakeConfig, RakeConfigDTO, ResultDTO, SitInMethod, SitOutMethod, TexasHoldemGameState, TexasHoldemStateDTO, TransactionDTO, TransactionResponse, TxFailurePhase, WalletInfo, WinnerDTO, WithdrawResponseDTO };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAkC/C,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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