From 9f147c218cc0e8755e94ce16dd528d61e8f56dc0 Mon Sep 17 00:00:00 2001 From: chen pin <1137057407@qq.com> Date: Tue, 25 Apr 2023 13:00:08 +0800 Subject: [PATCH] fix: publiash sdk package to npm --- .gitignore | 3 ++- README.md | 1 + package.json | 2 +- yarn.lock | 4 +++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 5195fe8..8d715af 100644 --- a/.gitignore +++ b/.gitignore @@ -31,4 +31,5 @@ package-lock.json cypress/videos cypress/screenshots -cypress/fixtures/example.json \ No newline at end of file +cypress/fixtures/example.json +.vercel diff --git a/README.md b/README.md index 6b5f0c1..89e1007 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ "@uniswap/sdk": "3.0.3-beta.1", "@uniswap/sdk": "file:../SwapV2-sdk", +"@uniswap/sdk": "npm:mxcswap-sdk", # Uniswap Interface diff --git a/package.json b/package.json index 9ea916d..cf92389 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@typescript-eslint/eslint-plugin": "^2.31.0", "@typescript-eslint/parser": "^2.31.0", "@uniswap/default-token-list": "^1.3.1", - "@uniswap/sdk": "file:../SwapV2-sdk", + "@uniswap/sdk": "npm:mxcswap-sdk", "@uniswap/token-lists": "^1.0.0-beta.15", "@uniswap/v2-core": "1.0.0", "@uniswap/v2-periphery": "^1.1.0-beta.0", diff --git a/yarn.lock b/yarn.lock index 9d1e485..574d99d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2574,8 +2574,10 @@ resolved "https://registry.yarnpkg.com/@uniswap/lib/-/lib-1.1.1.tgz#0afd29601846c16e5d082866cbb24a9e0758e6bc" integrity sha512-2yK7sLpKIT91TiS5sewHtOa7YuM8IuBXVl4GZv2jZFys4D2sY7K5vZh6MqD25TPA95Od+0YzCVq6cTF2IKrOmg== -"@uniswap/sdk@file:../SwapV2-sdk": +"@uniswap/sdk@npm:mxcswap-sdk": version "1.0.0" + resolved "https://registry.npmjs.org/mxcswap-sdk/-/mxcswap-sdk-1.0.0.tgz#740147b8b4be9a7bd99fa6a39a19abbf6ab66c47" + integrity sha512-KIXNNJMEM4lb3RRlFJmhc0dGutzndfgrHZFLE+6ZrbdCfC+8L1Lt7bVVwwhLUtkdeNZSzEXT84NYdI1m7y3r6w== dependencies: "@uniswap/v2-core" "^1.0.0" big.js "^5.2.2"