Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
11 changes: 11 additions & 0 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ export type GetStatusRequest = {
bridge?: string
fromChain?: number | string
toChain?: number | string
depositAddress?: string
} & ({ txHash: string } | { taskId: string })

export interface BaseTransactionInfo {
Expand Down Expand Up @@ -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]

Expand Down
Loading