Skip to content

Commit

Permalink
fix: retain ethers as dep for factories (#84)
Browse files Browse the repository at this point in the history
* fix: retain ethers as dep for factories

* Fix code style issues with Prettier

* chore: simplify ethers deps

* chore: update lockfile

Co-authored-by: Lint Action <[email protected]>
  • Loading branch information
zzmp and lint-action authored Mar 29, 2022
1 parent 5bf26a4 commit a24b0b2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 36 deletions.
36 changes: 6 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
"node": ">=10"
},
"dependencies": {
"@ethersproject/abi": "^5.4.0",
"@ethersproject/bignumber": "^5.4.0",
"@ethersproject/logger": "^5.4.0",
"@ethersproject/providers": "^5.4.0",
"@types/async-retry": "^1.4.2",
"@types/await-timeout": "^0.3.1",
"@types/bunyan": "^1.8.6",
Expand All @@ -53,6 +49,7 @@
"bunyan": "^1.8.15",
"bunyan-blackhole": "^1.1.1",
"bunyan-debug-stream": "^2.0.0",
"ethers": "^5.1.4",
"graphql": "^15.5.0",
"graphql-request": "^3.4.0",
"lodash": "^4.17.21",
Expand Down Expand Up @@ -80,7 +77,6 @@
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.22.0",
"ethers": "^5.1.4",
"jest": "^27.0.6",
"jest-expect-message": "^1.0.2",
"jest-mock": "^27.0.6",
Expand Down
2 changes: 1 addition & 1 deletion src/util/amounts.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { parseUnits } from '@ethersproject/units';
import {
Currency,
CurrencyAmount as CurrencyAmountRaw,
} from '@uniswap/sdk-core';
import { FeeAmount } from '@uniswap/v3-sdk';
import { parseUnits } from 'ethers/lib/utils';
import JSBI from 'jsbi';

export class CurrencyAmount extends CurrencyAmountRaw<Currency> {}
Expand Down

0 comments on commit a24b0b2

Please sign in to comment.