@dzapio/sdk 2.0.8 → 2.0.9

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.
@@ -896,10 +896,11 @@ declare class DZapClient {
896
896
  batchTransaction?: boolean;
897
897
  rpcUrls?: string[];
898
898
  }): Promise<import("../types").DZapTransactionResponse>;
899
- tradeGasless({ request, signer, txnData, }: {
899
+ tradeGasless({ request, signer, txnData, txnStatusCallback, }: {
900
900
  request: TradeBuildTxnRequest;
901
901
  signer: Signer | WalletClient;
902
902
  txnData?: GaslessTradeBuildTxnResponse;
903
+ txnStatusCallback?: (status: TxnStatus) => void;
903
904
  }): Promise<import("../types").DZapTransactionResponse>;
904
905
  sendTransaction({ chainId, signer, txnData }: {
905
906
  chainId: number;
@@ -28,7 +28,8 @@ export declare enum TxnStatus {
28
28
  error = "error",
29
29
  reverted = "reverted",
30
30
  pendingWalletConfirmation = "pendingWalletConfirmation",
31
- partialSuccess = "partialSuccess"
31
+ partialSuccess = "partialSuccess",
32
+ waitingForExecution = "waitingForExecution"
32
33
  }
33
34
  export declare enum Versions {
34
35
  V1 = "v1",