@rhea-finance/cross-chain-aggregation-dex 0.2.2 → 0.2.3
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/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2852,7 +2852,9 @@ async function completeQuote(params, config) {
|
|
|
2852
2852
|
normalizedSourceAsset = sourceTokenConfig.assetId;
|
|
2853
2853
|
} else {
|
|
2854
2854
|
normalizedSourceAsset = normalizeTokenId(sourceToken.address, wrapNearContractId);
|
|
2855
|
-
if (
|
|
2855
|
+
if (normalizedSourceAsset === "zec.omft.near" && sourceToken.chain === "near") {
|
|
2856
|
+
normalizedSourceAsset = "1cs_v1:near:nep141:zec.omft.near";
|
|
2857
|
+
} else if (!normalizedSourceAsset.startsWith("nep141:")) {
|
|
2856
2858
|
normalizedSourceAsset = `nep141:${normalizedSourceAsset}`;
|
|
2857
2859
|
}
|
|
2858
2860
|
}
|