@rhea-finance/cross-chain-aggregation-dex 2.0.0 → 2.0.2
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/README.md +536 -205
- package/dist/executors/aptos.d.mts +2 -2
- package/dist/executors/aptos.d.ts +2 -2
- package/dist/executors/aptos.js.map +1 -1
- package/dist/executors/aptos.mjs.map +1 -1
- package/dist/executors/bitcoin.d.mts +2 -2
- package/dist/executors/bitcoin.d.ts +2 -2
- package/dist/executors/bitcoin.js.map +1 -1
- package/dist/executors/bitcoin.mjs.map +1 -1
- package/dist/executors/evm.d.mts +2 -2
- package/dist/executors/evm.d.ts +2 -2
- package/dist/executors/evm.js.map +1 -1
- package/dist/executors/evm.mjs.map +1 -1
- package/dist/executors/near.d.mts +2 -2
- package/dist/executors/near.d.ts +2 -2
- package/dist/executors/near.js.map +1 -1
- package/dist/executors/near.mjs.map +1 -1
- package/dist/executors/solana.d.mts +2 -2
- package/dist/executors/solana.d.ts +2 -2
- package/dist/executors/solana.js.map +1 -1
- package/dist/executors/solana.mjs.map +1 -1
- package/dist/executors/sui.d.mts +2 -2
- package/dist/executors/sui.d.ts +2 -2
- package/dist/executors/sui.js.map +1 -1
- package/dist/executors/sui.mjs.map +1 -1
- package/dist/executors/tron.d.mts +2 -2
- package/dist/executors/tron.d.ts +2 -2
- package/dist/executors/tron.js.map +1 -1
- package/dist/executors/tron.mjs.map +1 -1
- package/dist/executors/zcash.d.mts +3 -3
- package/dist/executors/zcash.d.ts +3 -3
- package/dist/executors/zcash.js +2 -8
- package/dist/executors/zcash.js.map +1 -1
- package/dist/executors/zcash.mjs +2 -8
- package/dist/executors/zcash.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -15
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-DRYUqs7T.d.mts → registry-DjohbPPm.d.mts} +2 -5
- package/dist/{registry-DRYUqs7T.d.ts → registry-DjohbPPm.d.ts} +2 -5
- package/dist/{shared-BdH3hWuP.d.ts → shared-BbfGrWrJ.d.ts} +2 -7
- package/dist/{shared-BqpFeosz.d.mts → shared-BxJ0H20s.d.mts} +2 -7
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2108,24 +2108,17 @@ var SwapClient = class {
|
|
|
2108
2108
|
report: { status: "skipped" },
|
|
2109
2109
|
raw: chainResult.raw ?? build.raw
|
|
2110
2110
|
};
|
|
2111
|
-
|
|
2111
|
+
emit({
|
|
2112
|
+
type: "submitted",
|
|
2113
|
+
executionId: build.executionId,
|
|
2114
|
+
...chainResult.txHash ? { txHash: chainResult.txHash } : {},
|
|
2115
|
+
...orderId ? { orderId } : {}
|
|
2116
|
+
});
|
|
2117
|
+
if (chainResult.status === "source-confirmed") {
|
|
2112
2118
|
emit({
|
|
2113
|
-
type: "
|
|
2119
|
+
type: "source-confirmed",
|
|
2114
2120
|
executionId: build.executionId
|
|
2115
2121
|
});
|
|
2116
|
-
} else {
|
|
2117
|
-
emit({
|
|
2118
|
-
type: "submitted",
|
|
2119
|
-
executionId: build.executionId,
|
|
2120
|
-
...chainResult.txHash ? { txHash: chainResult.txHash } : {},
|
|
2121
|
-
...orderId ? { orderId } : {}
|
|
2122
|
-
});
|
|
2123
|
-
if (chainResult.status === "source-confirmed") {
|
|
2124
|
-
emit({
|
|
2125
|
-
type: "source-confirmed",
|
|
2126
|
-
executionId: build.executionId
|
|
2127
|
-
});
|
|
2128
|
-
}
|
|
2129
2122
|
}
|
|
2130
2123
|
const reportRequest = this.createReportRequest(build, result);
|
|
2131
2124
|
if (reportRequest) {
|