@skip-go/client 0.17.0 → 0.17.2

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
@@ -2243,13 +2243,14 @@ declare class SkipClient {
2243
2243
  getFeeInfoForChain(chainID: string): Promise<FeeAsset | undefined>;
2244
2244
  private getDefaultGasTokenForChain;
2245
2245
  private getStakingTokensForChain;
2246
- validateGasBalances({ txs, onValidateGasBalance, getFallbackGasAmount, getCosmosSigner, getEVMSigner, simulate, disabledChainIds, enabledChainIds, }: {
2246
+ validateGasBalances({ txs, onValidateGasBalance, getFallbackGasAmount, getCosmosSigner, getEVMSigner, simulate, disabledChainIds, enabledChainIds, useUnlimitedApproval, }: {
2247
2247
  txs: Tx[];
2248
2248
  onValidateGasBalance?: ExecuteRouteOptions["onValidateGasBalance"];
2249
2249
  getFallbackGasAmount?: GetFallbackGasAmount;
2250
2250
  simulate?: ExecuteRouteOptions["simulate"];
2251
2251
  disabledChainIds?: string[];
2252
2252
  enabledChainIds?: string[];
2253
+ useUnlimitedApproval?: boolean;
2253
2254
  } & Pick<SignerGetters, "getCosmosSigner" | "getEVMSigner">): Promise<void>;
2254
2255
  /**
2255
2256
  *
@@ -2277,10 +2278,23 @@ declare class SkipClient {
2277
2278
  asset: FeeAsset;
2278
2279
  fee: StdFee;
2279
2280
  }>;
2280
- validateEvmGasBalance({ signer, tx, getFallbackGasAmount, }: {
2281
+ validateEvmGasBalance({ signer, tx, getFallbackGasAmount, useUnlimitedApproval, }: {
2281
2282
  signer: WalletClient;
2282
2283
  tx: EvmTx;
2283
2284
  getFallbackGasAmount?: GetFallbackGasAmount;
2285
+ useUnlimitedApproval?: boolean;
2286
+ }): Promise<{
2287
+ error: string;
2288
+ asset: null;
2289
+ fee: null;
2290
+ } | undefined>;
2291
+ validateEvmTokenApproval({ requiredERC20Approvals, signer, chain, gasBalance, tx, useUnlimitedApproval, }: {
2292
+ requiredERC20Approvals: ERC20Approval[];
2293
+ signer: WalletClient;
2294
+ gasBalance?: BalanceResponseDenomEntry | undefined;
2295
+ chain: Chain;
2296
+ tx: EvmTx;
2297
+ useUnlimitedApproval?: boolean;
2284
2298
  }): Promise<{
2285
2299
  error: string;
2286
2300
  asset: null;