diff --git a/package.json b/package.json index 1f48ae5a..9bfab0b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/types", - "version": "17.72.0", + "version": "17.73.0-beta.0", "description": "Types for the LI.FI stack", "keywords": [ "sdk", diff --git a/src/api.ts b/src/api.ts index 72c81e9f..06c5e904 100644 --- a/src/api.ts +++ b/src/api.ts @@ -500,6 +500,7 @@ export type GetStatusRequest = { bridge?: string fromChain?: number | string toChain?: number | string + depositAddress?: string } & ({ txHash: string } | { taskId: string }) export interface BaseTransactionInfo { @@ -553,6 +554,16 @@ const _SubstatusPending = [ 'REFUND_IN_PROGRESS', // We cannot determine the status of the transfer 'UNKNOWN_ERROR', + // Intent is waiting for funds to arrive at the smart contract account + 'INTENT_AWAITING_FUNDS', + // Intent funds detected, preparing execution + 'INTENT_READY', + // Intent is being executed by solver + 'INTENT_EXECUTING', + // Intent execution failed, solver retrying + 'INTENT_FAILED_RETRYABLE', + // Intent simulation failed, solver retrying + 'INTENT_SIMULATION_FAILURE', ] as const export type SubstatusPending = (typeof _SubstatusPending)[number]