@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.
- package/dist/bridging/types.d.ts +12 -3
- package/dist/index-53d0fdf8.js +29 -0
- package/dist/index-53d0fdf8.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/{utils-a4bdf15a.js → utils-1a8aba1e.js} +1 -1
- package/dist/{utils-a4bdf15a.js.map → utils-1a8aba1e.js.map} +1 -1
- package/dist/{utils-2c641bba.js → utils-ba963681.js} +1 -1
- package/dist/{utils-2c641bba.js.map → utils-ba963681.js.map} +1 -1
- package/dist/{utils-c1446f6a.js → utils-bd186ead.js} +2 -2
- package/dist/{utils-c1446f6a.js.map → utils-bd186ead.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-4e45cdb3.js +0 -29
- package/dist/index-4e45cdb3.js.map +0 -1
package/dist/bridging/types.d.ts
CHANGED
|
@@ -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
|
-
|
|
304
|
+
statusResult: BridgeStatusResult;
|
|
295
305
|
bridgingParams: BridgingDepositParams;
|
|
296
306
|
tradeTxHash: string;
|
|
297
307
|
explorerUrl?: string;
|
|
298
|
-
fillTimeInSeconds?: number;
|
|
299
308
|
}
|
|
300
309
|
export {};
|