@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.mjs CHANGED
@@ -2846,7 +2846,9 @@ async function completeQuote(params, config) {
2846
2846
  normalizedSourceAsset = sourceTokenConfig.assetId;
2847
2847
  } else {
2848
2848
  normalizedSourceAsset = normalizeTokenId(sourceToken.address, wrapNearContractId);
2849
- if (!normalizedSourceAsset.startsWith("nep141:")) {
2849
+ if (normalizedSourceAsset === "zec.omft.near" && sourceToken.chain === "near") {
2850
+ normalizedSourceAsset = "1cs_v1:near:nep141:zec.omft.near";
2851
+ } else if (!normalizedSourceAsset.startsWith("nep141:")) {
2850
2852
  normalizedSourceAsset = `nep141:${normalizedSourceAsset}`;
2851
2853
  }
2852
2854
  }