Bump useDApp version (#179)
This commit is contained in:
parent
cedc2c9296
commit
2b6440fc8f
|
@ -15,7 +15,7 @@
|
|||
"lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'"
|
||||
},
|
||||
"dependencies": {
|
||||
"@usedapp/core": "^0.3.24",
|
||||
"@usedapp/core": "^0.4.3",
|
||||
"buffer": "^6.0.3",
|
||||
"crypto-browserify": "^3.12.0",
|
||||
"humanize-duration": "^3.27.0",
|
||||
|
@ -68,5 +68,8 @@
|
|||
"webpack": "^5.38.1",
|
||||
"webpack-cli": "^4.7.0",
|
||||
"webpack-dev-server": "^3.11.2"
|
||||
},
|
||||
"resolutions": {
|
||||
"ethers": "5.4.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { useEthers } from '@usedapp/core'
|
||||
import { useConfig } from '../providers/config'
|
||||
import { Contract } from '@usedapp/core/node_modules/ethers'
|
||||
import { Contract } from 'ethers'
|
||||
import { Interface } from '@ethersproject/abi'
|
||||
import { VotingContract, Directory } from '@status-community-dapp/contracts/abi'
|
||||
import { useEffect, useState } from 'react'
|
||||
|
|
|
@ -33,6 +33,6 @@
|
|||
"typescript": "^4.3.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"ethers": "^5.3.1"
|
||||
"ethers": "5.4.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
import { expect, use } from 'chai'
|
||||
import { loadFixture, deployContract, MockProvider, solidity } from 'ethereum-waffle'
|
||||
import { VotingContract, Directory, ERC20Mock } from '../abi'
|
||||
import { utils, BigNumber, Wallet, Contract } from 'ethers'
|
||||
import { utils, Wallet, Contract } from 'ethers'
|
||||
|
||||
import { BigNumber } from '@ethersproject/bignumber'
|
||||
|
||||
use(solidity)
|
||||
|
||||
|
|
Loading…
Reference in New Issue