mirror of
https://github.com/Instadapp/vue-web3.git
synced 2024-07-29 21:48:25 +00:00
wip
This commit is contained in:
parent
338b1fff5c
commit
e562a91b2e
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@kabbouchi/vue-web3",
|
||||
"version": "0.2.7",
|
||||
"version": "0.2.8",
|
||||
"description": "Vue web3 composition api",
|
||||
"license": "MIT",
|
||||
"main": "dist/cjs/index.js",
|
||||
|
|
|
|||
|
|
@ -85,7 +85,10 @@ export const useWeb3 = () => {
|
|||
update.chainId === undefined
|
||||
? undefined
|
||||
: normalizeChainId(update.chainId)
|
||||
account.value = update.account
|
||||
account.value =
|
||||
typeof update.account === 'string'
|
||||
? normalizeAccount(update.account)
|
||||
: update.account
|
||||
}
|
||||
|
||||
const handleError = (e: Error): void => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user