@cowprotocol/cow-sdk 6.0.0-RC.47 → 6.0.0-RC.49

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.
@@ -83,11 +83,21 @@ export declare enum BridgeStatus {
83
83
  IN_PROGRESS = "in_progress",
84
84
  EXECUTED = "executed",
85
85
  EXPIRED = "expired",
86
- REFUND = "refund"
86
+ REFUND = "refund",
87
+ UNKNOWN = "unknown"
87
88
  }
88
89
  export interface BridgeStatusResult {
89
90
  status: BridgeStatus;
90
91
  fillTimeInSeconds?: number;
92
+ /**
93
+ * Transaction hash of the deposit on the origin chain.
94
+ */
95
+ depositTxHash?: string;
96
+ /**
97
+ * Transaction hash of the fill on the destination chain.
98
+ * Only present when fillStatus is 'filled'.
99
+ */
100
+ fillTxHash?: string;
91
101
  }
92
102
  /**
93
103
  * A bridge deposit. It includes the provideer information, sell amount and the minimum buy amount.
@@ -291,10 +301,9 @@ export interface BridgingDepositParams {
291
301
  export interface CrossChainOrder {
292
302
  chainId: SupportedChainId;
293
303
  order: EnrichedOrder;
294
- status: BridgeStatus;
304
+ statusResult: BridgeStatusResult;
295
305
  bridgingParams: BridgingDepositParams;
296
306
  tradeTxHash: string;
297
307
  explorerUrl?: string;
298
- fillTimeInSeconds?: number;
299
308
  }
300
309
  export {};