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