@ring-protocol/router-sdk 0.1.28 → 0.1.30
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/router-sdk.cjs.development.js +0 -2
- package/dist/router-sdk.cjs.development.js.map +1 -1
- package/dist/router-sdk.cjs.production.min.js +1 -1
- package/dist/router-sdk.cjs.production.min.js.map +1 -1
- package/dist/router-sdk.esm.js +0 -2
- package/dist/router-sdk.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -1081,7 +1081,6 @@ var MixedRouteTrade = /*#__PURE__*/function () {
|
|
|
1081
1081
|
function getPathToken(currency, pool) {
|
|
1082
1082
|
var isSupportFewV2 = currency.chainId !== sdkCore.ChainId.POLYGON;
|
|
1083
1083
|
if (isSupportFewV2) {
|
|
1084
|
-
console.log('isSupportFewV2 16', isSupportFewV2, currency.chainId);
|
|
1085
1084
|
var fewToken = fewV2Sdk.getFewTokenFromOriginalToken(currency.wrapped, currency.chainId);
|
|
1086
1085
|
if (pool instanceof fewV2Sdk.Pair || pool instanceof v2Sdk.Pair) {
|
|
1087
1086
|
if (pool.token0.wrapped.equals(fewToken)) {
|
|
@@ -1096,7 +1095,6 @@ function getPathToken(currency, pool) {
|
|
|
1096
1095
|
throw new Error("Expected fewToken " + currency.symbol + " to be either " + pool.token0.symbol + " or " + pool.token1.symbol);
|
|
1097
1096
|
}
|
|
1098
1097
|
} else {
|
|
1099
|
-
console.log('isSupportFewV2 33', isSupportFewV2, currency.chainId);
|
|
1100
1098
|
if (pool.token0.wrapped.equals(currency.wrapped)) {
|
|
1101
1099
|
return pool.token0;
|
|
1102
1100
|
} else if (pool.token1.wrapped.equals(currency.wrapped)) {
|