From 81eee0018cbac037d832f70ed1f2645e8426ec61 Mon Sep 17 00:00:00 2001 From: jsy1218 <91580504+jsy1218@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:30:26 -0700 Subject: [PATCH 1/2] remove token validators provider from token properties provider ctor --- lib/handlers/injector-sor.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/handlers/injector-sor.ts b/lib/handlers/injector-sor.ts index 37241118e9..69a3f4e063 100644 --- a/lib/handlers/injector-sor.ts +++ b/lib/handlers/injector-sor.ts @@ -204,7 +204,6 @@ export abstract class InjectorSOR extends Injector< ) const tokenPropertiesProvider = new TokenPropertiesProvider( chainId, - tokenValidatorProvider, new NodeJSCache(new NodeCache({ stdTTL: 30000, useClones: false })), tokenFeeFetcher ) From b1e1764b319f173e72f798d79a56fb2d7385f0c3 Mon Sep 17 00:00:00 2001 From: jsy1218 <91580504+jsy1218@users.noreply.github.com> Date: Mon, 25 Sep 2023 17:37:21 -0700 Subject: [PATCH 2/2] bump sor to 3.16.27 --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index da02066ce5..7d680c2ab5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "@uniswap/permit2-sdk": "^1.2.0", "@uniswap/router-sdk": "^1.6.0", "@uniswap/sdk-core": "^4.0.7", - "@uniswap/smart-order-router": "3.16.26", + "@uniswap/smart-order-router": "3.16.27", "@uniswap/token-lists": "^1.0.0-beta.33", "@uniswap/universal-router-sdk": "^1.5.7", "@uniswap/v2-sdk": "^3.2.1", @@ -4310,9 +4310,9 @@ } }, "node_modules/@uniswap/smart-order-router": { - "version": "3.16.26", - "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-3.16.26.tgz", - "integrity": "sha512-2qvlQA+j4MvKw8TuVv9pUKFVjnGM/mFWcTfXT+pxvKVtbVGDvQ622KwMthXu6VRETX+MrCxCHjsXB4y+84ZBXg==", + "version": "3.16.27", + "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-3.16.27.tgz", + "integrity": "sha512-8iRGbQvUjQk9FK5dWM+p14ZnHkfIKfWKVb8Bgsbtnt02Ehi58a1G0/7Dc3v3O8VnUDMBilsDk0EnGnAr5RKtHg==", "dependencies": { "@uniswap/default-token-list": "^11.2.0", "@uniswap/permit2-sdk": "^1.2.0", @@ -27386,9 +27386,9 @@ } }, "@uniswap/smart-order-router": { - "version": "3.16.26", - "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-3.16.26.tgz", - "integrity": "sha512-2qvlQA+j4MvKw8TuVv9pUKFVjnGM/mFWcTfXT+pxvKVtbVGDvQ622KwMthXu6VRETX+MrCxCHjsXB4y+84ZBXg==", + "version": "3.16.27", + "resolved": "https://registry.npmjs.org/@uniswap/smart-order-router/-/smart-order-router-3.16.27.tgz", + "integrity": "sha512-8iRGbQvUjQk9FK5dWM+p14ZnHkfIKfWKVb8Bgsbtnt02Ehi58a1G0/7Dc3v3O8VnUDMBilsDk0EnGnAr5RKtHg==", "requires": { "@uniswap/default-token-list": "^11.2.0", "@uniswap/permit2-sdk": "^1.2.0", diff --git a/package.json b/package.json index 82d3dfde9d..e630fc6ff3 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "@uniswap/permit2-sdk": "^1.2.0", "@uniswap/router-sdk": "^1.6.0", "@uniswap/sdk-core": "^4.0.7", - "@uniswap/smart-order-router": "3.16.26", + "@uniswap/smart-order-router": "3.16.27", "@uniswap/token-lists": "^1.0.0-beta.33", "@uniswap/universal-router-sdk": "^1.5.7", "@uniswap/v2-sdk": "^3.2.1",