feat: update widget with client side SOR (#3210)
* start SOR by creating custom widget hook * update best trade hook to use SOR in widget * update organization for client side SOR logic * fix auto router chain id import * remove dependency on react GA for widget * update dependencies for SOr * remove new useBestTrade.ts * update loading logic for fetching hook * update dependencies with import from ethersproject * update import version * add try catch on SOR usage * code cleanup, nit fixes
Showing
... | ... | @@ -60,7 +60,6 @@ |
"@uniswap/governance": "^1.0.2", | ||
"@uniswap/liquidity-staker": "^1.0.2", | ||
"@uniswap/merkle-distributor": "1.0.1", | ||
"@uniswap/smart-order-router": "^2.5.10", | ||
"@uniswap/v2-core": "1.0.0", | ||
"@uniswap/v2-periphery": "^1.1.0-beta.0", | ||
"@uniswap/v3-core": "1.0.0", | ||
... | ... | @@ -162,7 +161,7 @@ |
"@ethersproject/constants": "^5.4.0", | ||
"@ethersproject/contracts": "^5.4.1", | ||
"@ethersproject/hash": "^5.4.0", | ||
"@ethersproject/providers": "^5.4.5", | ||
"@ethersproject/providers": "5.4.0", | ||
"@ethersproject/solidity": "^5.4.0", | ||
"@ethersproject/strings": "^5.4.0", | ||
"@ethersproject/units": "^5.4.0", | ||
... | ... | @@ -176,6 +175,7 @@ |
"@uniswap/redux-multicall": "^1.0.0", | ||
"@uniswap/router-sdk": "^1.0.3", | ||
"@uniswap/sdk-core": "^3.0.1", | ||
"@uniswap/smart-order-router": "^2.5.10", | ||
"@uniswap/token-lists": "^1.0.0-beta.27", | ||
"@uniswap/v2-sdk": "^3.0.1", | ||
"@uniswap/v3-sdk": "^3.7.1", | ||
... | ... |
File moved
Please register or sign in to comment