Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Add new web3-react
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed May 5, 2021
1 parent 38574c4 commit 36dd7a1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 22 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@
},
"license": "GPL-3.0-or-later",
"dependencies": {
"@anxolin/walletconnect-connector": "6.1.9",
"@web3-react/walletconnect-connector": "^6.2.0",
"@gnosis.pm/gp-v2-contracts": "^0.0.1-alpha.17",
"@uniswap/default-token-list": "^2.0.0",
"react-router-hash-link": "^2.4.0"
}
}
}
5 changes: 1 addition & 4 deletions src/custom/connectors/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { Web3Provider } from '@ethersproject/providers'
import { InjectedConnector } from '@web3-react/injected-connector'
// TODO: Use any network when this PR is merged https://github.com/NoahZinsmeister/web3-react/pull/185
// import { WalletConnectConnector } from '@web3-react/walletconnect-connector'
import { WalletConnectConnector } from '@anxolin/walletconnect-connector'
// End of TODO ----
import { WalletConnectConnector } from '@web3-react/walletconnect-connector'
import { WalletLinkConnector } from '@web3-react/walletlink-connector'
import { PortisConnector } from '@web3-react/portis-connector'

Expand Down
22 changes: 6 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@
# yarn lockfile v1


"@anxolin/[email protected]":
version "6.1.9"
resolved "https://registry.yarnpkg.com/@anxolin/walletconnect-connector/-/walletconnect-connector-6.1.9.tgz#0e26e2fa717ac91805d9c28736a289ddc9364ab1"
integrity sha512-5maloIbnVoNCWQvzCdKmH5bbBSOdRjpkOKhHGshRpCGSuj/66XEiNgOEsX/uylMurlb8LFGA6Ql2coidq92+Bw==
dependencies:
"@walletconnect/web3-provider" "^1.4.1"
"@web3-react/abstract-connector" "^6.0.7"
"@web3-react/types" "^6.0.7"
tiny-invariant "^1.0.6"

"@babel/[email protected]":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e"
Expand Down Expand Up @@ -3009,7 +2999,7 @@
js-sha3 "0.8.0"
query-string "6.13.5"

"@walletconnect/[email protected]", "@walletconnect/web3-provider@^1.3.6", "@walletconnect/web3-provider@^1.4.1":
"@walletconnect/[email protected]", "@walletconnect/web3-provider@^1.4.1":
version "1.1.1-alpha.0"
resolved "https://registry.yarnpkg.com/@walletconnect/web3-provider/-/web3-provider-1.1.1-alpha.0.tgz#b8ca2158da4974b692f57e4f939b5128d8e4696f"
integrity sha512-1AoTeCOtK8u2jIH+0NsvisPv2TySZLWHwWu0BIb72wzvzJeG3uD383/stHX8mBOI6a0aPoyDEYzA2R4c/O0vWQ==
Expand Down Expand Up @@ -3073,12 +3063,12 @@
resolved "https://registry.yarnpkg.com/@web3-react/types/-/types-6.0.7.tgz#34a6204224467eedc6123abaf55fbb6baeb2809f"
integrity sha512-ofGmfDhxmNT1/P/MgVa8IKSkCStFiyvXe+U5tyZurKdrtTDFU+wJ/LxClPDtFerWpczNFPUSrKcuhfPX1sI6+A==

"@web3-react/walletconnect-connector@^6.1.1":
version "6.1.9"
resolved "https://registry.yarnpkg.com/@web3-react/walletconnect-connector/-/walletconnect-connector-6.1.9.tgz#3459ccf2a2ac7ae8f155645d29a517712afeb731"
integrity sha512-gPtcFFRAnRgqhmBjhH+dtuG3cx23X+JOX+mRO1D7dN+8yxLZhLhjOZlJFECH5hkC20KMM/sk+rq2yy6Vqp76PQ==
"@web3-react/walletconnect-connector@^6.2.0":
version "6.2.0"
resolved "https://registry.yarnpkg.com/@web3-react/walletconnect-connector/-/walletconnect-connector-6.2.0.tgz#5451f332a25b94cf7e615a20cc7d22a27532629d"
integrity sha512-F6xYwI3MKiSdKa0248y2wBW0kTDddc2/IGn4CjMSYe0DJFggtxFsAAGHQTRmvwDcLlgQwtemJJ0cTA82MOVfEg==
dependencies:
"@walletconnect/web3-provider" "^1.3.6"
"@walletconnect/web3-provider" "^1.4.1"
"@web3-react/abstract-connector" "^6.0.7"
"@web3-react/types" "^6.0.7"
tiny-invariant "^1.0.6"
Expand Down

0 comments on commit 36dd7a1

Please sign in to comment.