@shapeshiftoss/swapper 15.5.2 → 15.7.0

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.
@@ -71,7 +71,7 @@ const getThorTradeQuote = async ({ deps, input }) => {
71
71
  case caip_1.CHAIN_NAMESPACE.Evm:
72
72
  return (async () => {
73
73
  const sellChainFeeAssetId = sellAdapter.getFeeAssetId();
74
- const evmAddressData = await (0, getInboundAddressDataForChain_1.getInboundAddressDataForChain)(deps.daemonUrl, sellChainFeeAssetId);
74
+ const evmAddressData = await (0, getInboundAddressDataForChain_1.getInboundAddressDataForChain)(deps.daemonUrl, sellChainFeeAssetId, false);
75
75
  const router = evmAddressData === null || evmAddressData === void 0 ? void 0 : evmAddressData.router;
76
76
  if (!router)
77
77
  throw new api_1.SwapError(`[getThorTradeQuote] No router address found for ${sellChainFeeAssetId}`);
@@ -7,7 +7,7 @@ const getLimit_1 = require("../../getLimit/getLimit");
7
7
  const makeSwapMemo_1 = require("../../makeSwapMemo/makeSwapMemo");
8
8
  const getThorTxInfo = async ({ deps, sellAsset, buyAsset, sellAmountCryptoBaseUnit, slippageTolerance, destinationAddress, xpub, buyAssetTradeFeeUsd, }) => {
9
9
  try {
10
- const inboundAddress = await (0, getInboundAddressDataForChain_1.getInboundAddressDataForChain)(deps.daemonUrl, sellAsset.assetId);
10
+ const inboundAddress = await (0, getInboundAddressDataForChain_1.getInboundAddressDataForChain)(deps.daemonUrl, sellAsset.assetId, false);
11
11
  const vault = inboundAddress === null || inboundAddress === void 0 ? void 0 : inboundAddress.address;
12
12
  if (!vault)
13
13
  throw new api_1.SwapError(`[getThorTxInfo]: vault not found for asset`, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/swapper",
3
- "version": "15.5.2",
3
+ "version": "15.7.0",
4
4
  "description": "An interface and implementations to trade coins via various protocols",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",