Remove torus from providers list because of the bug in their libraryy

This commit is contained in:
Mikhail Mikheev 2019-11-07 15:50:50 +04:00
parent bf8f8c430a
commit 38b2f4d513
3 changed files with 237 additions and 699 deletions

View File

@ -37,7 +37,7 @@
"@material-ui/icons": "4.5.1",
"@portis/web3": "^2.0.0-beta.45",
"@testing-library/jest-dom": "4.2.3",
"@toruslabs/torus-embed": "0.2.5",
"@toruslabs/torus-embed": "0.2.6",
"@walletconnect/web3-provider": "^1.0.0-beta.37",
"@welldone-software/why-did-you-render": "3.3.8",
"axios": "0.19.0",
@ -45,7 +45,7 @@
"connected-react-router": "6.5.2",
"date-fns": "2.6.0",
"ethereum-ens": "0.7.8",
"final-form": "4.18.5",
"final-form": "4.18.6",
"history": "4.10.1",
"immortal-db": "^1.0.2",
"immutable": "^4.0.0-rc.9",
@ -57,7 +57,7 @@
"react-dom": "16.11.0",
"react-final-form": "6.3.0",
"react-final-form-listeners": "^1.0.2",
"react-hot-loader": "4.12.15",
"react-hot-loader": "4.12.16",
"react-qr-reader": "^2.2.1",
"react-redux": "7.1.3",
"react-router-dom": "5.1.2",
@ -73,7 +73,7 @@
},
"devDependencies": {
"@babel/cli": "7.7.0",
"@babel/core": "7.7.0",
"@babel/core": "7.7.2",
"@babel/plugin-proposal-class-properties": "7.7.0",
"@babel/plugin-proposal-decorators": "7.7.0",
"@babel/plugin-proposal-do-expressions": "7.6.0",

View File

@ -6,7 +6,6 @@ import Web3Connect from 'web3connect'
import WalletConnectProvider from '@walletconnect/web3-provider'
import Portis from '@portis/web3'
import Squarelink from 'squarelink'
import Torus from '@toruslabs/torus-embed'
import Button from '~/components/layout/Button'
import { fetchProvider } from '~/logic/wallets/store/actions'
import { getNetwork } from '~/config'
@ -35,15 +34,15 @@ export const web3Connect = new Web3Connect.Core({
id: SQUARELINK_CLIENT_ID,
},
},
torus: {
package: Torus,
options: {
enableLogging: false,
buttonPosition: 'bottom-left',
buildEnv: process.env.NODE_ENV,
showTorusButton: true,
},
},
// torus: {
// package: Torus,
// options: {
// enableLogging: false,
// buttonPosition: 'bottom-left',
// buildEnv: process.env.NODE_ENV,
// showTorusButton: true,
// },
// },
},
})

909
yarn.lock

File diff suppressed because it is too large Load Diff