@uniswap/router-sdk 1.14.1 → 1.14.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.
@@ -650,7 +650,7 @@ function getPathCurrency(currency, pool) {
650
650
  return currency.wrapped;
651
651
  // return native currency if pool involves native version of wrapped currency (only applies to V4)
652
652
  } else if (pool instanceof Pool) {
653
- if (pool.currency0.wrapped.equals(currency)) {
653
+ if (pool.token0.wrapped.equals(currency)) {
654
654
  return pool.token0;
655
655
  } else if (pool.token1.wrapped.equals(currency)) {
656
656
  return pool.token1;
@@ -2329,5 +2329,5 @@ var SwapRouter = /*#__PURE__*/function () {
2329
2329
  }();
2330
2330
  SwapRouter.INTERFACE = /*#__PURE__*/new Interface(abi$3);
2331
2331
 
2332
- export { ADDRESS_THIS, ADDRESS_ZERO, ApprovalTypes, ApproveAndCall, MIXED_QUOTER_V1_V2_FEE_PATH_PLACEHOLDER, MIXED_QUOTER_V2_V2_FEE_PATH_PLACEHOLDER, MIXED_QUOTER_V2_V3_FEE_PATH_PLACEHOLDER, MIXED_QUOTER_V2_V4_FEE_PATH_PLACEHOLDER, MSG_SENDER, MixedRoute, MixedRouteSDK, MixedRouteTrade, MulticallExtended, ONE, ONE_HUNDRED_PERCENT, PaymentsExtended, Protocol, RouteV2, RouteV3, RouteV4, SwapRouter, Trade, ZERO, ZERO_PERCENT, encodeMixedRouteToPath, getOutputOfPools, isMint, partitionMixedRouteByProtocol, tradeComparator };
2332
+ export { ADDRESS_THIS, ADDRESS_ZERO, ApprovalTypes, ApproveAndCall, MIXED_QUOTER_V1_V2_FEE_PATH_PLACEHOLDER, MIXED_QUOTER_V2_V2_FEE_PATH_PLACEHOLDER, MIXED_QUOTER_V2_V3_FEE_PATH_PLACEHOLDER, MIXED_QUOTER_V2_V4_FEE_PATH_PLACEHOLDER, MSG_SENDER, MixedRoute, MixedRouteSDK, MixedRouteTrade, MulticallExtended, ONE, ONE_HUNDRED_PERCENT, PaymentsExtended, Protocol, RouteV2, RouteV3, RouteV4, SwapRouter, Trade, ZERO, ZERO_PERCENT, amountWithPathCurrency, encodeMixedRouteToPath, getOutputOfPools, getPathCurrency, isMint, partitionMixedRouteByProtocol, tradeComparator };
2333
2333
  //# sourceMappingURL=router-sdk.esm.js.map