Bump useDApp version (#179)

This commit is contained in:
Szymon Szlachtowicz 2021-08-04 15:47:10 +02:00 committed by GitHub
parent cedc2c9296
commit 2b6440fc8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 348 additions and 643 deletions

View File

@ -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"
}
}

View File

@ -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'

View File

@ -33,6 +33,6 @@
"typescript": "^4.3.3"
},
"dependencies": {
"ethers": "^5.3.1"
"ethers": "5.4.1"
}
}

View File

@ -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)

978
yarn.lock

File diff suppressed because it is too large Load Diff