From 2a2a9917469be1937acb0376e96ef9689d1551fb Mon Sep 17 00:00:00 2001 From: Florian Winkler Date: Sat, 6 Jan 2024 19:34:41 +0100 Subject: [PATCH] Update sdk version --- v3-sdk/collecting-fees/package.json | 2 +- v3-sdk/collecting-fees/yarn.lock | 18 +++++------------- v3-sdk/minting-position/package.json | 2 +- v3-sdk/minting-position/yarn.lock | 18 +++++------------- v3-sdk/modifying-position/package.json | 2 +- v3-sdk/modifying-position/yarn.lock | 18 +++++------------- v3-sdk/offchain-simulations/package.json | 2 +- v3-sdk/offchain-simulations/yarn.lock | 18 +++++------------- v3-sdk/oracle/package.json | 2 +- v3-sdk/oracle/src/example/Example.tsx | 2 +- v3-sdk/oracle/yarn.lock | 18 +++++------------- v3-sdk/pool-data/README.md | 5 +++++ v3-sdk/quoting/README.md | 2 +- v3-sdk/quoting/package.json | 2 +- v3-sdk/quoting/yarn.lock | 18 +++++------------- v3-sdk/range-order/package.json | 2 +- v3-sdk/range-order/yarn.lock | 18 +++++------------- v3-sdk/routing/package.json | 2 +- v3-sdk/routing/yarn.lock | 15 +++++++++++++++ v3-sdk/swap-and-add-liquidity/package.json | 2 +- v3-sdk/swap-and-add-liquidity/yarn.lock | 17 ++++++++++++++++- v3-sdk/trading/package.json | 2 +- v3-sdk/trading/yarn.lock | 18 +++++------------- 23 files changed, 88 insertions(+), 117 deletions(-) diff --git a/v3-sdk/collecting-fees/package.json b/v3-sdk/collecting-fees/package.json index dd33165b..9bd1cf50 100644 --- a/v3-sdk/collecting-fees/package.json +++ b/v3-sdk/collecting-fees/package.json @@ -7,7 +7,7 @@ "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@uniswap/sdk-core": "npm:@uniswapfoundation/sdk-core@^5.0.0", - "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@4.0.1", + "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@^4.0.2", "ethers": "^5.7.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/v3-sdk/collecting-fees/yarn.lock b/v3-sdk/collecting-fees/yarn.lock index 596f8454..143dbd3f 100644 --- a/v3-sdk/collecting-fees/yarn.lock +++ b/v3-sdk/collecting-fees/yarn.lock @@ -2531,10 +2531,10 @@ "@uniswap/v3-core" "1.0.0" base64-sol "1.0.1" -"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.1.tgz#3c296be898700937ca8c1de5967b3259e7f49d55" - integrity sha512-U9BH+gSp92uVNU9g+OUBaEAO/bnIqaSqU6qistzSDNZla3r65zapIhvEFbo3NxmkjoRdmqFF3WwYX4JsB0qvNg== +"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@^4.0.2": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.2.tgz#7dfb2308ae606cef9049ebea0bc78b3b65eac18f" + integrity sha512-0GhAMFx0yi4+gyjjf42pWTXqgcbz4zBcEdB+hGJ9Eohm4In3oelIGh2djirS/wDjYZXkolxxoWu0LwyusqKcfg== dependencies: "@ethersproject/abi" "^5.0.12" "@ethersproject/solidity" "^5.0.9" @@ -2543,7 +2543,6 @@ "@uniswap/v3-periphery" "^1.1.1" "@uniswap/v3-staker" "1.0.2" ethers "^5.7.2" - ethers-multicall "^0.2.3" tiny-invariant "^1.1.0" tiny-warning "^1.0.3" @@ -4576,14 +4575,7 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== -ethers-multicall@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/ethers-multicall/-/ethers-multicall-0.2.3.tgz#872b5ad7d6b5d4d7f2960c33bf36bd46d034ac41" - integrity sha512-RaWQuLy+HzeKOibptlc9RZ6j7bT1H6VnkdAKTHiLx2t/lpyfS2ckXHdQhhRbCaXNc1iu6CgoisgMejxKHg84tg== - dependencies: - ethers "^5.0.0" - -ethers@^5.0.0, ethers@^5.7.2: +ethers@^5.7.2: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== diff --git a/v3-sdk/minting-position/package.json b/v3-sdk/minting-position/package.json index 6d4d82ce..c859654f 100644 --- a/v3-sdk/minting-position/package.json +++ b/v3-sdk/minting-position/package.json @@ -7,7 +7,7 @@ "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@uniswap/sdk-core": "npm:@uniswapfoundation/sdk-core@^5.0.0", - "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@4.0.1", + "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@^4.0.2", "ethers": "^5.7.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/v3-sdk/minting-position/yarn.lock b/v3-sdk/minting-position/yarn.lock index 596f8454..143dbd3f 100644 --- a/v3-sdk/minting-position/yarn.lock +++ b/v3-sdk/minting-position/yarn.lock @@ -2531,10 +2531,10 @@ "@uniswap/v3-core" "1.0.0" base64-sol "1.0.1" -"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.1.tgz#3c296be898700937ca8c1de5967b3259e7f49d55" - integrity sha512-U9BH+gSp92uVNU9g+OUBaEAO/bnIqaSqU6qistzSDNZla3r65zapIhvEFbo3NxmkjoRdmqFF3WwYX4JsB0qvNg== +"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@^4.0.2": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.2.tgz#7dfb2308ae606cef9049ebea0bc78b3b65eac18f" + integrity sha512-0GhAMFx0yi4+gyjjf42pWTXqgcbz4zBcEdB+hGJ9Eohm4In3oelIGh2djirS/wDjYZXkolxxoWu0LwyusqKcfg== dependencies: "@ethersproject/abi" "^5.0.12" "@ethersproject/solidity" "^5.0.9" @@ -2543,7 +2543,6 @@ "@uniswap/v3-periphery" "^1.1.1" "@uniswap/v3-staker" "1.0.2" ethers "^5.7.2" - ethers-multicall "^0.2.3" tiny-invariant "^1.1.0" tiny-warning "^1.0.3" @@ -4576,14 +4575,7 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== -ethers-multicall@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/ethers-multicall/-/ethers-multicall-0.2.3.tgz#872b5ad7d6b5d4d7f2960c33bf36bd46d034ac41" - integrity sha512-RaWQuLy+HzeKOibptlc9RZ6j7bT1H6VnkdAKTHiLx2t/lpyfS2ckXHdQhhRbCaXNc1iu6CgoisgMejxKHg84tg== - dependencies: - ethers "^5.0.0" - -ethers@^5.0.0, ethers@^5.7.2: +ethers@^5.7.2: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== diff --git a/v3-sdk/modifying-position/package.json b/v3-sdk/modifying-position/package.json index 33821808..682c6d59 100644 --- a/v3-sdk/modifying-position/package.json +++ b/v3-sdk/modifying-position/package.json @@ -7,7 +7,7 @@ "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@uniswap/sdk-core": "npm:@uniswapfoundation/sdk-core@^5.0.0", - "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@4.0.1", + "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@^4.0.2", "ethers": "^5.7.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/v3-sdk/modifying-position/yarn.lock b/v3-sdk/modifying-position/yarn.lock index d58ecd1d..ae570dfd 100644 --- a/v3-sdk/modifying-position/yarn.lock +++ b/v3-sdk/modifying-position/yarn.lock @@ -2646,10 +2646,10 @@ "@uniswap/v3-core" "^1.0.0" base64-sol "1.0.1" -"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.1.tgz#3c296be898700937ca8c1de5967b3259e7f49d55" - integrity sha512-U9BH+gSp92uVNU9g+OUBaEAO/bnIqaSqU6qistzSDNZla3r65zapIhvEFbo3NxmkjoRdmqFF3WwYX4JsB0qvNg== +"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@^4.0.2": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.2.tgz#7dfb2308ae606cef9049ebea0bc78b3b65eac18f" + integrity sha512-0GhAMFx0yi4+gyjjf42pWTXqgcbz4zBcEdB+hGJ9Eohm4In3oelIGh2djirS/wDjYZXkolxxoWu0LwyusqKcfg== dependencies: "@ethersproject/abi" "^5.0.12" "@ethersproject/solidity" "^5.0.9" @@ -2658,7 +2658,6 @@ "@uniswap/v3-periphery" "^1.1.1" "@uniswap/v3-staker" "1.0.2" ethers "^5.7.2" - ethers-multicall "^0.2.3" tiny-invariant "^1.1.0" tiny-warning "^1.0.3" @@ -4806,14 +4805,7 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== -ethers-multicall@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/ethers-multicall/-/ethers-multicall-0.2.3.tgz#872b5ad7d6b5d4d7f2960c33bf36bd46d034ac41" - integrity sha512-RaWQuLy+HzeKOibptlc9RZ6j7bT1H6VnkdAKTHiLx2t/lpyfS2ckXHdQhhRbCaXNc1iu6CgoisgMejxKHg84tg== - dependencies: - ethers "^5.0.0" - -ethers@^5.0.0, ethers@^5.7.2: +ethers@^5.7.2: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== diff --git a/v3-sdk/offchain-simulations/package.json b/v3-sdk/offchain-simulations/package.json index bb31c820..c451057c 100644 --- a/v3-sdk/offchain-simulations/package.json +++ b/v3-sdk/offchain-simulations/package.json @@ -7,7 +7,7 @@ "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@uniswap/sdk-core": "npm:@uniswapfoundation/sdk-core@^5.0.0", - "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@4.0.1", + "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@^4.0.2", "ethers": "^5.7.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/v3-sdk/offchain-simulations/yarn.lock b/v3-sdk/offchain-simulations/yarn.lock index c0bc2447..ef364a33 100644 --- a/v3-sdk/offchain-simulations/yarn.lock +++ b/v3-sdk/offchain-simulations/yarn.lock @@ -2644,10 +2644,10 @@ "@uniswap/v3-core" "^1.0.0" base64-sol "1.0.1" -"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.1.tgz#3c296be898700937ca8c1de5967b3259e7f49d55" - integrity sha512-U9BH+gSp92uVNU9g+OUBaEAO/bnIqaSqU6qistzSDNZla3r65zapIhvEFbo3NxmkjoRdmqFF3WwYX4JsB0qvNg== +"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@^4.0.2": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.2.tgz#7dfb2308ae606cef9049ebea0bc78b3b65eac18f" + integrity sha512-0GhAMFx0yi4+gyjjf42pWTXqgcbz4zBcEdB+hGJ9Eohm4In3oelIGh2djirS/wDjYZXkolxxoWu0LwyusqKcfg== dependencies: "@ethersproject/abi" "^5.0.12" "@ethersproject/solidity" "^5.0.9" @@ -2656,7 +2656,6 @@ "@uniswap/v3-periphery" "^1.1.1" "@uniswap/v3-staker" "1.0.2" ethers "^5.7.2" - ethers-multicall "^0.2.3" tiny-invariant "^1.1.0" tiny-warning "^1.0.3" @@ -4804,14 +4803,7 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== -ethers-multicall@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/ethers-multicall/-/ethers-multicall-0.2.3.tgz#872b5ad7d6b5d4d7f2960c33bf36bd46d034ac41" - integrity sha512-RaWQuLy+HzeKOibptlc9RZ6j7bT1H6VnkdAKTHiLx2t/lpyfS2ckXHdQhhRbCaXNc1iu6CgoisgMejxKHg84tg== - dependencies: - ethers "^5.0.0" - -ethers@^5.0.0, ethers@^5.7.2: +ethers@^5.7.2: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== diff --git a/v3-sdk/oracle/package.json b/v3-sdk/oracle/package.json index cdd150d6..793d658c 100644 --- a/v3-sdk/oracle/package.json +++ b/v3-sdk/oracle/package.json @@ -7,7 +7,7 @@ "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@uniswap/sdk-core": "npm:@uniswapfoundation/sdk-core@^5.0.0", - "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@4.0.1", + "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@^4.0.2", "ethers": "5.7.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/v3-sdk/oracle/src/example/Example.tsx b/v3-sdk/oracle/src/example/Example.tsx index 66e9e4ff..2f17885c 100644 --- a/v3-sdk/oracle/src/example/Example.tsx +++ b/v3-sdk/oracle/src/example/Example.tsx @@ -49,7 +49,7 @@ const Example = () => { )}

{`Block Number: ${blockNumber + 1}`}

-

Time weighted average liqudity:

+

Time weighted average liquidity:

{TWAL === undefined ? 'Fetching...' : TWAL.toString()}

Time weighted average Price:

diff --git a/v3-sdk/oracle/yarn.lock b/v3-sdk/oracle/yarn.lock index bf7b39d2..0a9d4cc4 100644 --- a/v3-sdk/oracle/yarn.lock +++ b/v3-sdk/oracle/yarn.lock @@ -2575,10 +2575,10 @@ "@uniswap/v3-core" "1.0.0" base64-sol "1.0.1" -"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.1.tgz#3c296be898700937ca8c1de5967b3259e7f49d55" - integrity sha512-U9BH+gSp92uVNU9g+OUBaEAO/bnIqaSqU6qistzSDNZla3r65zapIhvEFbo3NxmkjoRdmqFF3WwYX4JsB0qvNg== +"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@^4.0.2": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.2.tgz#7dfb2308ae606cef9049ebea0bc78b3b65eac18f" + integrity sha512-0GhAMFx0yi4+gyjjf42pWTXqgcbz4zBcEdB+hGJ9Eohm4In3oelIGh2djirS/wDjYZXkolxxoWu0LwyusqKcfg== dependencies: "@ethersproject/abi" "^5.0.12" "@ethersproject/solidity" "^5.0.9" @@ -2587,7 +2587,6 @@ "@uniswap/v3-periphery" "^1.1.1" "@uniswap/v3-staker" "1.0.2" ethers "^5.7.2" - ethers-multicall "^0.2.3" tiny-invariant "^1.1.0" tiny-warning "^1.0.3" @@ -4620,13 +4619,6 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== -ethers-multicall@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/ethers-multicall/-/ethers-multicall-0.2.3.tgz#872b5ad7d6b5d4d7f2960c33bf36bd46d034ac41" - integrity sha512-RaWQuLy+HzeKOibptlc9RZ6j7bT1H6VnkdAKTHiLx2t/lpyfS2ckXHdQhhRbCaXNc1iu6CgoisgMejxKHg84tg== - dependencies: - ethers "^5.0.0" - ethers@5.7.0: version "5.7.0" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.0.tgz#0055da174b9e076b242b8282638bc94e04b39835" @@ -4663,7 +4655,7 @@ ethers@5.7.0: "@ethersproject/web" "5.7.0" "@ethersproject/wordlists" "5.7.0" -ethers@^5.0.0, ethers@^5.7.2: +ethers@^5.7.2: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== diff --git a/v3-sdk/pool-data/README.md b/v3-sdk/pool-data/README.md index 9b16cb77..653509c7 100644 --- a/v3-sdk/pool-data/README.md +++ b/v3-sdk/pool-data/README.md @@ -1,3 +1,8 @@ +## Deprecated Example + +This Example accompanied a guide that is no longer present in the Uniswap docs. +The functionality demonstrated here can be considered out of date. + ## Overview This is an example of: diff --git a/v3-sdk/quoting/README.md b/v3-sdk/quoting/README.md index 85bd4e35..450ea8d1 100644 --- a/v3-sdk/quoting/README.md +++ b/v3-sdk/quoting/README.md @@ -18,7 +18,7 @@ Run `yarn install` to install the project dependencies ### Get a mainnet RPC URL -1. Create aun API key using any of the [Ethereum API providers](https://docs.ethers.io/v5/api/providers/) and grab the respective RPC URL, eg `https://mainnet.infura.io/v3/0ac57a06f2994538829c14745750d721` +1. Create an API key using any of the [Ethereum API providers](https://docs.ethers.io/v5/api/providers/) and grab the respective RPC URL, eg `https://mainnet.infura.io/v3/0ac57a06f2994538829c14745750d721` 2. Set that as the value of the `mainnet` `rpc` vale inside the [config](./src/config.ts). ### Start the web interface diff --git a/v3-sdk/quoting/package.json b/v3-sdk/quoting/package.json index 8c9f6336..d0f299e4 100644 --- a/v3-sdk/quoting/package.json +++ b/v3-sdk/quoting/package.json @@ -7,7 +7,7 @@ "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@uniswap/sdk-core": "npm:@uniswapfoundation/sdk-core@^5.0.0", - "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@4.0.1", + "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@^4.0.2", "ethers": "^5.7.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/v3-sdk/quoting/yarn.lock b/v3-sdk/quoting/yarn.lock index d1a8ad61..109476d5 100644 --- a/v3-sdk/quoting/yarn.lock +++ b/v3-sdk/quoting/yarn.lock @@ -2663,10 +2663,10 @@ "@uniswap/v3-core" "^1.0.0" base64-sol "1.0.1" -"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.1.tgz#3c296be898700937ca8c1de5967b3259e7f49d55" - integrity sha512-U9BH+gSp92uVNU9g+OUBaEAO/bnIqaSqU6qistzSDNZla3r65zapIhvEFbo3NxmkjoRdmqFF3WwYX4JsB0qvNg== +"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@^4.0.2": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.2.tgz#7dfb2308ae606cef9049ebea0bc78b3b65eac18f" + integrity sha512-0GhAMFx0yi4+gyjjf42pWTXqgcbz4zBcEdB+hGJ9Eohm4In3oelIGh2djirS/wDjYZXkolxxoWu0LwyusqKcfg== dependencies: "@ethersproject/abi" "^5.0.12" "@ethersproject/solidity" "^5.0.9" @@ -2675,7 +2675,6 @@ "@uniswap/v3-periphery" "^1.1.1" "@uniswap/v3-staker" "1.0.2" ethers "^5.7.2" - ethers-multicall "^0.2.3" tiny-invariant "^1.1.0" tiny-warning "^1.0.3" @@ -4833,14 +4832,7 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== -ethers-multicall@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/ethers-multicall/-/ethers-multicall-0.2.3.tgz#872b5ad7d6b5d4d7f2960c33bf36bd46d034ac41" - integrity sha512-RaWQuLy+HzeKOibptlc9RZ6j7bT1H6VnkdAKTHiLx2t/lpyfS2ckXHdQhhRbCaXNc1iu6CgoisgMejxKHg84tg== - dependencies: - ethers "^5.0.0" - -ethers@^5.0.0, ethers@^5.7.2: +ethers@^5.7.2: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== diff --git a/v3-sdk/range-order/package.json b/v3-sdk/range-order/package.json index 06837aed..d65afdf6 100644 --- a/v3-sdk/range-order/package.json +++ b/v3-sdk/range-order/package.json @@ -7,7 +7,7 @@ "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@uniswap/sdk-core": "npm:@uniswapfoundation/sdk-core@^5.0.0", - "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@4.0.1", + "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@^4.0.2", "ethers": "^5.7.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/v3-sdk/range-order/yarn.lock b/v3-sdk/range-order/yarn.lock index 596f8454..143dbd3f 100644 --- a/v3-sdk/range-order/yarn.lock +++ b/v3-sdk/range-order/yarn.lock @@ -2531,10 +2531,10 @@ "@uniswap/v3-core" "1.0.0" base64-sol "1.0.1" -"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.1.tgz#3c296be898700937ca8c1de5967b3259e7f49d55" - integrity sha512-U9BH+gSp92uVNU9g+OUBaEAO/bnIqaSqU6qistzSDNZla3r65zapIhvEFbo3NxmkjoRdmqFF3WwYX4JsB0qvNg== +"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@^4.0.2": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.2.tgz#7dfb2308ae606cef9049ebea0bc78b3b65eac18f" + integrity sha512-0GhAMFx0yi4+gyjjf42pWTXqgcbz4zBcEdB+hGJ9Eohm4In3oelIGh2djirS/wDjYZXkolxxoWu0LwyusqKcfg== dependencies: "@ethersproject/abi" "^5.0.12" "@ethersproject/solidity" "^5.0.9" @@ -2543,7 +2543,6 @@ "@uniswap/v3-periphery" "^1.1.1" "@uniswap/v3-staker" "1.0.2" ethers "^5.7.2" - ethers-multicall "^0.2.3" tiny-invariant "^1.1.0" tiny-warning "^1.0.3" @@ -4576,14 +4575,7 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== -ethers-multicall@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/ethers-multicall/-/ethers-multicall-0.2.3.tgz#872b5ad7d6b5d4d7f2960c33bf36bd46d034ac41" - integrity sha512-RaWQuLy+HzeKOibptlc9RZ6j7bT1H6VnkdAKTHiLx2t/lpyfS2ckXHdQhhRbCaXNc1iu6CgoisgMejxKHg84tg== - dependencies: - ethers "^5.0.0" - -ethers@^5.0.0, ethers@^5.7.2: +ethers@^5.7.2: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== diff --git a/v3-sdk/routing/package.json b/v3-sdk/routing/package.json index d63214ee..a90142c1 100644 --- a/v3-sdk/routing/package.json +++ b/v3-sdk/routing/package.json @@ -7,7 +7,7 @@ "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@uniswap/sdk-core": "npm:@uniswapfoundation/sdk-core@^5.0.0", - "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@^4.0.1", + "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@^4.0.2", "@uniswap/smart-order-router": "npm:@uniswapfoundation/smart-order-router@^3.19.0", "ethers": "^5.7.2", "react": "^18.2.0", diff --git a/v3-sdk/routing/yarn.lock b/v3-sdk/routing/yarn.lock index 4a7ea486..64469216 100644 --- a/v3-sdk/routing/yarn.lock +++ b/v3-sdk/routing/yarn.lock @@ -2756,6 +2756,21 @@ tiny-invariant "^1.1.0" tiny-warning "^1.0.3" +"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@^4.0.2": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.2.tgz#7dfb2308ae606cef9049ebea0bc78b3b65eac18f" + integrity sha512-0GhAMFx0yi4+gyjjf42pWTXqgcbz4zBcEdB+hGJ9Eohm4In3oelIGh2djirS/wDjYZXkolxxoWu0LwyusqKcfg== + dependencies: + "@ethersproject/abi" "^5.0.12" + "@ethersproject/solidity" "^5.0.9" + "@uniswap/sdk-core" "npm:@uniswapfoundation/sdk-core@^5.0.0" + "@uniswap/swap-router-contracts" "^1.2.1" + "@uniswap/v3-periphery" "^1.1.1" + "@uniswap/v3-staker" "1.0.2" + ethers "^5.7.2" + tiny-invariant "^1.1.0" + tiny-warning "^1.0.3" + "@uniswap/v3-staker@1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@uniswap/v3-staker/-/v3-staker-1.0.2.tgz#febad4905903032bb114ab58138c2d5200c87a3c" diff --git a/v3-sdk/swap-and-add-liquidity/package.json b/v3-sdk/swap-and-add-liquidity/package.json index 960be428..c7a1c401 100644 --- a/v3-sdk/swap-and-add-liquidity/package.json +++ b/v3-sdk/swap-and-add-liquidity/package.json @@ -7,7 +7,7 @@ "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@uniswap/sdk-core": "npm:@uniswapfoundation/sdk-core@^5.0.0", - "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@4.0.1", + "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@^4.0.2", "@uniswap/smart-order-router": "npm:@uniswapfoundation/smart-order-router@^3.19.0", "ethers": "^5.7.2", "react": "^18.2.0", diff --git a/v3-sdk/swap-and-add-liquidity/yarn.lock b/v3-sdk/swap-and-add-liquidity/yarn.lock index 5ea207fe..12ae5fa5 100644 --- a/v3-sdk/swap-and-add-liquidity/yarn.lock +++ b/v3-sdk/swap-and-add-liquidity/yarn.lock @@ -2742,7 +2742,7 @@ "@uniswap/v3-core" "^1.0.0" base64-sol "1.0.1" -"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@4.0.1", "@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@^4.0.1": +"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@^4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.1.tgz#3c296be898700937ca8c1de5967b3259e7f49d55" integrity sha512-U9BH+gSp92uVNU9g+OUBaEAO/bnIqaSqU6qistzSDNZla3r65zapIhvEFbo3NxmkjoRdmqFF3WwYX4JsB0qvNg== @@ -2758,6 +2758,21 @@ tiny-invariant "^1.1.0" tiny-warning "^1.0.3" +"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@^4.0.2": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.2.tgz#7dfb2308ae606cef9049ebea0bc78b3b65eac18f" + integrity sha512-0GhAMFx0yi4+gyjjf42pWTXqgcbz4zBcEdB+hGJ9Eohm4In3oelIGh2djirS/wDjYZXkolxxoWu0LwyusqKcfg== + dependencies: + "@ethersproject/abi" "^5.0.12" + "@ethersproject/solidity" "^5.0.9" + "@uniswap/sdk-core" "npm:@uniswapfoundation/sdk-core@^5.0.0" + "@uniswap/swap-router-contracts" "^1.2.1" + "@uniswap/v3-periphery" "^1.1.1" + "@uniswap/v3-staker" "1.0.2" + ethers "^5.7.2" + tiny-invariant "^1.1.0" + tiny-warning "^1.0.3" + "@uniswap/v3-staker@1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@uniswap/v3-staker/-/v3-staker-1.0.2.tgz#febad4905903032bb114ab58138c2d5200c87a3c" diff --git a/v3-sdk/trading/package.json b/v3-sdk/trading/package.json index 238dea5b..e551d94b 100644 --- a/v3-sdk/trading/package.json +++ b/v3-sdk/trading/package.json @@ -7,7 +7,7 @@ "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "@uniswap/sdk-core": "npm:@uniswapfoundation/sdk-core@^5.0.0", - "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@4.0.1", + "@uniswap/v3-sdk": "npm:@uniswapfoundation/v3-sdk@^4.0.2", "ethers": "^5.7.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/v3-sdk/trading/yarn.lock b/v3-sdk/trading/yarn.lock index c0bc2447..ef364a33 100644 --- a/v3-sdk/trading/yarn.lock +++ b/v3-sdk/trading/yarn.lock @@ -2644,10 +2644,10 @@ "@uniswap/v3-core" "^1.0.0" base64-sol "1.0.1" -"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.1.tgz#3c296be898700937ca8c1de5967b3259e7f49d55" - integrity sha512-U9BH+gSp92uVNU9g+OUBaEAO/bnIqaSqU6qistzSDNZla3r65zapIhvEFbo3NxmkjoRdmqFF3WwYX4JsB0qvNg== +"@uniswap/v3-sdk@npm:@uniswapfoundation/v3-sdk@^4.0.2": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@uniswapfoundation/v3-sdk/-/v3-sdk-4.0.2.tgz#7dfb2308ae606cef9049ebea0bc78b3b65eac18f" + integrity sha512-0GhAMFx0yi4+gyjjf42pWTXqgcbz4zBcEdB+hGJ9Eohm4In3oelIGh2djirS/wDjYZXkolxxoWu0LwyusqKcfg== dependencies: "@ethersproject/abi" "^5.0.12" "@ethersproject/solidity" "^5.0.9" @@ -2656,7 +2656,6 @@ "@uniswap/v3-periphery" "^1.1.1" "@uniswap/v3-staker" "1.0.2" ethers "^5.7.2" - ethers-multicall "^0.2.3" tiny-invariant "^1.1.0" tiny-warning "^1.0.3" @@ -4804,14 +4803,7 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== -ethers-multicall@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/ethers-multicall/-/ethers-multicall-0.2.3.tgz#872b5ad7d6b5d4d7f2960c33bf36bd46d034ac41" - integrity sha512-RaWQuLy+HzeKOibptlc9RZ6j7bT1H6VnkdAKTHiLx2t/lpyfS2ckXHdQhhRbCaXNc1iu6CgoisgMejxKHg84tg== - dependencies: - ethers "^5.0.0" - -ethers@^5.0.0, ethers@^5.7.2: +ethers@^5.7.2: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==