@skip-go/client 0.14.7 → 0.15.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 CHANGED
@@ -1262,6 +1262,7 @@ type MsgsDirectRequestBaseJSON = {
1262
1262
  smart_swap_options?: SmartSwapOptionsJSON;
1263
1263
  allow_swaps?: boolean;
1264
1264
  enable_gas_warnings?: boolean;
1265
+ go_fast?: boolean;
1265
1266
  };
1266
1267
  type MsgsDirectRequestGivenInJSON = MsgsDirectRequestBaseJSON & {
1267
1268
  amount_in: string;
@@ -1295,6 +1296,7 @@ type MsgsDirectRequestBase = {
1295
1296
  smartSwapOptions?: SmartSwapOptions;
1296
1297
  allowSwaps?: boolean;
1297
1298
  enableGasWarnings?: boolean;
1299
+ goFast?: boolean;
1298
1300
  };
1299
1301
  type MsgsDirectRequestGivenIn = MsgsDirectRequestBase & {
1300
1302
  amountIn: string;
@@ -1772,7 +1774,7 @@ type ExecuteRouteOptions = SignerGetters & GasOptions & TransactionCallbacks & {
1772
1774
  * Addresses should be in the same order with the `chainIDs` in the `route`
1773
1775
  */
1774
1776
  userAddresses: UserAddress[];
1775
- validateGasBalance?: boolean;
1777
+ simulate?: boolean;
1776
1778
  slippageTolerancePercent?: string;
1777
1779
  /**
1778
1780
  * Arbitrary Tx to be executed before or after route msgs
@@ -1973,24 +1975,26 @@ declare class SkipClient {
1973
1975
  getFeeInfoForChain(chainID: string): Promise<FeeAsset | undefined>;
1974
1976
  private getDefaultGasTokenForChain;
1975
1977
  private getStakingTokensForChain;
1976
- validateGasBalances({ txs, getOfflineSigner, onValidateGasBalance, getFallbackGasAmount, }: {
1978
+ validateGasBalances({ txs, getOfflineSigner, onValidateGasBalance, getFallbackGasAmount, simulate, }: {
1977
1979
  txs: Tx[];
1978
1980
  getOfflineSigner?: (chainID: string) => Promise<OfflineSigner>;
1979
1981
  onValidateGasBalance?: ExecuteRouteOptions['onValidateGasBalance'];
1980
1982
  getFallbackGasAmount?: GetFallbackGasAmount;
1983
+ simulate?: ExecuteRouteOptions['simulate'];
1981
1984
  }): Promise<Gas[]>;
1982
1985
  /**
1983
1986
  *
1984
1987
  * Validate gas balance for cosmos messages returns a fee asset and StdFee to be used
1985
1988
  *
1986
1989
  */
1987
- validateCosmosGasBalance({ chainID, signerAddress, client, messages, getFallbackGasAmount, txIndex, }: {
1990
+ validateCosmosGasBalance({ chainID, signerAddress, client, messages, getFallbackGasAmount, txIndex, simulate }: {
1988
1991
  chainID: string;
1989
1992
  signerAddress: string;
1990
1993
  client: SigningStargateClient;
1991
1994
  messages?: CosmosMsg[];
1992
1995
  getFallbackGasAmount?: GetFallbackGasAmount;
1993
1996
  txIndex?: number;
1997
+ simulate?: ExecuteRouteOptions['simulate'];
1994
1998
  }): Promise<{
1995
1999
  error: string;
1996
2000
  asset?: undefined;