From dd3cc486e4a336ceaa58caa87dbdff82c01a3685 Mon Sep 17 00:00:00 2001 From: "Siyu Jiang (See-You John)" <91580504+jsy1218@users.noreply.github.com> Date: Mon, 13 Jan 2025 14:24:48 -0800 Subject: [PATCH] feat(router-sdk): bump sdk-core to 7.1.0 for base sepolia and monad testnet in router-sdk (#244) ## Description Release https://github.com/Uniswap/sdks/pull/243 https://github.com/Uniswap/sdks/pull/241 https://github.com/Uniswap/sdks/pull/242 ## How Has This Been Tested? _[e.g. Manually, E2E tests, unit tests, Storybook]_ ## Are there any breaking changes? _[e.g. Type definitions, API definitions]_ If there are breaking changes, please ensure you bump the major version Bump the major version (by using the title `feat(breaking): ...`), post a notice in #eng-sdks, and explicitly notify all Uniswap Labs consumers of the SDK. ## (Optional) Feedback Focus _[Specific parts of this PR you'd like feedback on, or that reviewers should pay closer attention to]_ ## (Optional) Follow Ups _[Things that weren't addressed in this PR, ways you plan to build on this work, or other ways this work could be extended]_ --- .github/workflows/monorepo-integrity.yml | 4 +- sdks/router-sdk/package.json | 8 ++-- yarn.lock | 50 ++++++++++++++++++++++-- 3 files changed, 52 insertions(+), 10 deletions(-) diff --git a/.github/workflows/monorepo-integrity.yml b/.github/workflows/monorepo-integrity.yml index 1467a8e1f..904743772 100644 --- a/.github/workflows/monorepo-integrity.yml +++ b/.github/workflows/monorepo-integrity.yml @@ -43,8 +43,8 @@ jobs: run: yarn g:check:deps:mismatch # This check will be disabled while a major version change of sdk-core is underway - - name: 👬🏽 Check for duplicate dependencies in lock file - run: yarn dedupe --check + # - name: 👬🏽 Check for duplicate dependencies in lock file + # run: yarn dedupe --check - name: 🧑‍⚖️ Check for yarn constraints.pro run: yarn constraints diff --git a/sdks/router-sdk/package.json b/sdks/router-sdk/package.json index f14c81c77..11135de22 100644 --- a/sdks/router-sdk/package.json +++ b/sdks/router-sdk/package.json @@ -21,11 +21,11 @@ }, "dependencies": { "@ethersproject/abi": "^5.5.0", - "@uniswap/sdk-core": "^6.1.1", + "@uniswap/sdk-core": "^7.1.0", "@uniswap/swap-router-contracts": "^1.3.0", - "@uniswap/v2-sdk": "^4.8.0", - "@uniswap/v3-sdk": "^3.20.0", - "@uniswap/v4-sdk": "^1.13.0" + "@uniswap/v2-sdk": "^4.9.0", + "@uniswap/v3-sdk": "^3.21.0", + "@uniswap/v4-sdk": "^1.14.0" }, "devDependencies": { "@types/jest": "^24.0.25", diff --git a/yarn.lock b/yarn.lock index 6487cb074..0c1945cfe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4529,11 +4529,11 @@ __metadata: dependencies: "@ethersproject/abi": ^5.5.0 "@types/jest": ^24.0.25 - "@uniswap/sdk-core": ^6.1.1 + "@uniswap/sdk-core": ^7.1.0 "@uniswap/swap-router-contracts": ^1.3.0 - "@uniswap/v2-sdk": ^4.8.0 - "@uniswap/v3-sdk": ^3.20.0 - "@uniswap/v4-sdk": ^1.13.0 + "@uniswap/v2-sdk": ^4.9.0 + "@uniswap/v3-sdk": ^3.21.0 + "@uniswap/v4-sdk": ^1.14.0 prettier: ^2.4.1 tsdx: ^0.14.1 languageName: unknown @@ -4718,6 +4718,19 @@ __metadata: languageName: node linkType: hard +"@uniswap/v2-sdk@npm:^4.9.0": + version: 4.9.0 + resolution: "@uniswap/v2-sdk@npm:4.9.0" + dependencies: + "@ethersproject/address": ^5.0.2 + "@ethersproject/solidity": ^5.0.9 + "@uniswap/sdk-core": ^7.1.0 + tiny-invariant: ^1.1.0 + tiny-warning: ^1.0.3 + checksum: 2612f8c8658ceee6856860674d7c1d01fa93501d1e6aef35c9e62746355c4838502b075a7def7e967f08932df117d48528377517c5d2eeab7a48d4a46711b147 + languageName: node + linkType: hard + "@uniswap/v2-sdk@workspace:sdks/v2-sdk": version: 0.0.0-use.local resolution: "@uniswap/v2-sdk@workspace:sdks/v2-sdk" @@ -4778,6 +4791,22 @@ __metadata: languageName: node linkType: hard +"@uniswap/v3-sdk@npm:^3.21.0": + version: 3.21.0 + resolution: "@uniswap/v3-sdk@npm:3.21.0" + dependencies: + "@ethersproject/abi": ^5.5.0 + "@ethersproject/solidity": ^5.0.9 + "@uniswap/sdk-core": ^7.1.0 + "@uniswap/swap-router-contracts": ^1.3.0 + "@uniswap/v3-periphery": ^1.1.1 + "@uniswap/v3-staker": 1.0.0 + tiny-invariant: ^1.1.0 + tiny-warning: ^1.0.3 + checksum: 252b6b4f53cad00147542f722cdd5bd7cf42085480c984e56fa3b02321b5fc41f866783d2be783020e9ee9b385510467656c55a2256889fe31092fec1f9ec7d8 + languageName: node + linkType: hard + "@uniswap/v3-sdk@workspace:sdks/v3-sdk": version: 0.0.0-use.local resolution: "@uniswap/v3-sdk@workspace:sdks/v3-sdk" @@ -4821,6 +4850,19 @@ __metadata: languageName: node linkType: hard +"@uniswap/v4-sdk@npm:^1.14.0": + version: 1.14.0 + resolution: "@uniswap/v4-sdk@npm:1.14.0" + dependencies: + "@ethersproject/solidity": ^5.0.9 + "@uniswap/sdk-core": ^7.1.0 + "@uniswap/v3-sdk": 3.20.0 + tiny-invariant: ^1.1.0 + tiny-warning: ^1.0.3 + checksum: 5a7b7c4558f99b8c283310ec9f538e41493b09d040323b7577c1066a6aa93bc926b8c66ce058c82053d1e0d96384ab3f028eb2f3e7e917bfc926d1d652704262 + languageName: node + linkType: hard + "@uniswap/v4-sdk@workspace:sdks/v4-sdk": version: 0.0.0-use.local resolution: "@uniswap/v4-sdk@workspace:sdks/v4-sdk"