Refactor core (#58)
* fix module reference * modernize v2-sdk
Showing
| ... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
| "uniswap", | "uniswap", | ||
| "ethereum" | "ethereum" | ||
| ], | ], | ||
| "module": "dist/sdk.esm.js", | "module": "dist/v2-sdk.esm.js", | ||
| "scripts": { | "scripts": { | ||
| "lint": "tsdx lint src test", | "lint": "tsdx lint src test", | ||
| "build": "tsdx build", | "build": "tsdx build", | ||
| ... | @@ -22,20 +22,18 @@ | ... | @@ -22,20 +22,18 @@ |
| "prepublishOnly": "tsdx build" | "prepublishOnly": "tsdx build" | ||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "@uniswap/v2-core": "^1.0.0", | "@uniswap/sdk-core": "^1.0.6", | ||
| "big.js": "^5.2.2", | |||
| "decimal.js-light": "^2.5.0", | |||
| "jsbi": "^3.1.1", | |||
| "tiny-invariant": "^1.1.0", | "tiny-invariant": "^1.1.0", | ||
| "tiny-warning": "^1.0.3", | "tiny-warning": "^1.0.3" | ||
| "toformat": "^2.0.0" | |||
| }, | }, | ||
| "peerDependencies": { | "peerDependencies": { | ||
| "@ethersproject/address": "^5.0.0-beta", | "@ethersproject/address": "^5.0.0", | ||
| "@ethersproject/contracts": "^5.0.0-beta", | "@ethersproject/contracts": "^5.0.0" | ||
| "@ethersproject/networks": "^5.0.0-beta", | }, | ||
| "@ethersproject/providers": "^5.0.0-beta", | "optionalDependencies": { | ||
| "@ethersproject/solidity": "^5.0.0-beta" | "@uniswap/v2-core": "^1.0.1", | ||
| "@ethersproject/networks": "^5.0.2", | |||
| "@ethersproject/providers": "^5.0.5" | |||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@ethersproject/address": "^5.0.2", | "@ethersproject/address": "^5.0.2", | ||
| ... | @@ -45,8 +43,8 @@ | ... | @@ -45,8 +43,8 @@ |
| "@ethersproject/solidity": "^5.0.2", | "@ethersproject/solidity": "^5.0.2", | ||
| "@types/big.js": "^4.0.5", | "@types/big.js": "^4.0.5", | ||
| "@types/jest": "^24.0.25", | "@types/jest": "^24.0.25", | ||
| "babel-plugin-transform-jsbi-to-bigint": "^1.3.1", | "@uniswap/v2-core": "^1.0.1", | ||
| "tsdx": "^0.12.3" | "tsdx": "^0.14.1" | ||
| }, | }, | ||
| "engines": { | "engines": { | ||
| "node": ">=10" | "node": ">=10" | ||
| ... | ... |
test/token.test.ts
deleted
100644 → 0
This diff is collapsed.
Please register or sign in to comment