Skip to content

Commit

Permalink
Update web3modal and walletconnect provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Alirun committed Dec 10, 2020
1 parent e6ac959 commit fbde9e4
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 42 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opiumteam/mobx-web3",
"version": "1.0.2",
"version": "1.0.3",
"description": "Opium mobx-web3",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -29,15 +29,15 @@
},
"dependencies": {
"@browser-bunyan/console-formatted-stream": "^1.5.3",
"@opiumteam/web3modal": "^1.9.1",
"@types/browser-bunyan": "^0.4.5",
"@types/bunyan": "^1.8.6",
"@walletconnect/web3-provider": "^1.0.0-beta.47",
"@walletconnect/web3-provider": "^1.3.1",
"browser-bunyan": "^1.5.3",
"csstype": "^3.0.5",
"fortmatic": "^2.0.6",
"mobx": "^5.15.4",
"web3": "^1.2.7"
"web3": "^1.2.7",
"web3modal": "^1.9.2"
},
"devDependencies": {
"@types/node": "^12.11.5",
Expand Down
2 changes: 1 addition & 1 deletion src/Classes/Blockchain.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Theirs
import Web3Modal, { getProviderInfo } from '@opiumteam/web3modal'
import Web3Modal, { getProviderInfo } from 'web3modal'
import { observable, computed, action } from 'mobx'
// @ts-ignore
import WalletConnectProvider from '@walletconnect/web3-provider'
Expand Down
83 changes: 46 additions & 37 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@
dependencies:
"@babel/highlight" "^7.10.4"

"@babel/generator@^7.12.5":
version "7.12.5"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.12.5.tgz#a2c50de5c8b6d708ab95be5e6053936c1884a4de"
integrity sha512-m16TQQJ8hPt7E+OS/XVQg/7U184MLXtvuGbCdA7na61vha+ImkyyNM/9DDA0unYCVZn3ZOhng+qz48/KBOT96A==
"@babel/generator@^7.12.10":
version "7.12.10"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.12.10.tgz#2b188fc329fb8e4f762181703beffc0fe6df3460"
integrity sha512-6mCdfhWgmqLdtTkhXjnIz0LcdVCd26wS2JXRtj2XY0u5klDsXBREA/pG5NVOuVnF2LUrBGNFtQkIqqTbblg0ww==
dependencies:
"@babel/types" "^7.12.5"
"@babel/types" "^7.12.10"
jsesc "^2.5.1"
source-map "^0.5.0"

"@babel/helper-annotate-as-pure@^7.0.0":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.4.tgz#5bf0d495a3f757ac3bda48b5bf3b3ba309c72ba3"
integrity sha512-XQlqKQP4vXFB7BN8fEEerrmYvHp3fK/rBkRFz9jaJbzK0B1DSfej9Kc7ZzE8Z/OnId1jpJdNAZ3BFQjWG68rcA==
version "7.12.10"
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.10.tgz#54ab9b000e60a93644ce17b3f37d313aaf1d115d"
integrity sha512-XplmVbC1n+KY6jL8/fgLVXXUauDIB+lD5+GsQEh6F6GBF1dq1qy4DP4yXWzDKcoqXB3X58t61e85Fitoww4JVQ==
dependencies:
"@babel/types" "^7.10.4"
"@babel/types" "^7.12.10"

"@babel/helper-function-name@^7.10.4":
version "7.10.4"
Expand All @@ -35,11 +35,11 @@
"@babel/types" "^7.10.4"

"@babel/helper-get-function-arity@^7.10.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz#98c1cbea0e2332f33f9a4661b8ce1505b2c19ba2"
integrity sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A==
version "7.12.10"
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.10.tgz#b158817a3165b5faa2047825dfa61970ddcc16cf"
integrity sha512-mm0n5BPjR06wh9mPQaDdXWDoll/j5UpCAPl1x8fS71GHm7HA6Ua2V4ylG1Ju8lvcTOietbPNNPaSilKj+pj+Ag==
dependencies:
"@babel/types" "^7.10.4"
"@babel/types" "^7.12.10"

"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.12.1":
version "7.12.5"
Expand Down Expand Up @@ -74,10 +74,10 @@
chalk "^2.0.0"
js-tokens "^4.0.0"

"@babel/parser@^7.12.7":
version "7.12.7"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.7.tgz#fee7b39fe809d0e73e5b25eecaf5780ef3d73056"
integrity sha512-oWR02Ubp4xTLCAqPRiNIuMVgNO5Aif/xpXtabhzW2HWUD47XJsAB4Zd/Rg30+XeQA3juXigV7hlquOTmwqLiwg==
"@babel/parser@^7.12.10", "@babel/parser@^7.12.7":
version "7.12.10"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.10.tgz#824600d59e96aea26a5a2af5a9d812af05c3ae81"
integrity sha512-PJdRPwyoOqFAWfLytxrWwGrAxghCgh/yTNCYciOz8QgjflA7aZhECPZAa2VUedKg2+QMWkI0L9lynh2SNmNEgA==

"@babel/plugin-transform-runtime@^7.5.5":
version "7.12.1"
Expand Down Expand Up @@ -106,21 +106,30 @@
"@babel/types" "^7.12.7"

"@babel/traverse@^7.4.5":
version "7.12.7"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.7.tgz#572a722408681cef17d6b0bef69ef2e728ca69f1"
integrity sha512-nMWaqsQEeSvMNypswUDzjqQ+0rR6pqCtoQpsqGJC4/Khm9cISwPTSpai57F6/jDaOoEGz8yE/WxcO3PV6tKSmQ==
version "7.12.10"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.12.10.tgz#2d1f4041e8bf42ea099e5b2dc48d6a594c00017a"
integrity sha512-6aEtf0IeRgbYWzta29lePeYSk+YAFIC3kyqESeft8o5CkFlYIMX+EQDDWEiAQ9LHOA3d0oHdgrSsID/CKqXJlg==
dependencies:
"@babel/code-frame" "^7.10.4"
"@babel/generator" "^7.12.5"
"@babel/generator" "^7.12.10"
"@babel/helper-function-name" "^7.10.4"
"@babel/helper-split-export-declaration" "^7.11.0"
"@babel/parser" "^7.12.7"
"@babel/types" "^7.12.7"
"@babel/parser" "^7.12.10"
"@babel/types" "^7.12.10"
debug "^4.1.0"
globals "^11.1.0"
lodash "^4.17.19"

"@babel/types@^7.10.4", "@babel/types@^7.11.0", "@babel/types@^7.12.5", "@babel/types@^7.12.7":
"@babel/types@^7.10.4", "@babel/types@^7.11.0", "@babel/types@^7.12.10", "@babel/types@^7.12.7":
version "7.12.10"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.10.tgz#7965e4a7260b26f09c56bcfcb0498af1f6d9b260"
integrity sha512-sf6wboJV5mGyip2hIpDSKsr80RszPinEFjsHTalMxZAZkoQ2/2yQzxlcFN52SJqsyPfLtPmenL4g2KB3KJXPDw==
dependencies:
"@babel/helper-validator-identifier" "^7.10.4"
lodash "^4.17.19"
to-fast-properties "^2.0.0"

"@babel/types@^7.12.5":
version "7.12.7"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.12.7.tgz#6039ff1e242640a29452c9ae572162ec9a8f5d13"
integrity sha512-MNyI92qZq6jrQkXvtIiykvl4WtoRrVV9MPn+ZfsoEENjiWcBQ3ZSHrkxnJWgWtLX3XXqX5hrSQ+X69wkmesXuQ==
Expand Down Expand Up @@ -351,18 +360,6 @@
"@ethersproject/properties" "^5.0.3"
"@ethersproject/strings" "^5.0.4"

"@opiumteam/web3modal@^1.9.1":
version "1.9.1"
resolved "https://registry.yarnpkg.com/@opiumteam/web3modal/-/web3modal-1.9.1.tgz#ff3faf6df6fba75667405159b7c3a2d858918c18"
integrity sha512-CSDEalSy/yKWmIVRZWOD3Mn+6gyvHP5LugJo5GN0JK0BlgOnUGDlQBjSqodq2BW017R0QmMo9rOg5DIM6518Gw==
dependencies:
detect-browser "^5.1.0"
prop-types "^15.7.2"
react "^16.8.6"
react-dom "^16.8.6"
styled-components "^5.1.1"
tslib "^1.10.0"

"@sindresorhus/is@^0.14.0":
version "0.14.0"
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"
Expand Down Expand Up @@ -560,7 +557,7 @@
window-getters "1.0.0"
window-metadata "1.0.0"

"@walletconnect/web3-provider@^1.0.0-beta.47":
"@walletconnect/web3-provider@^1.3.1":
version "1.3.1"
resolved "https://registry.yarnpkg.com/@walletconnect/web3-provider/-/web3-provider-1.3.1.tgz#031c1cc7a52ea12287f1278929501ee91847e237"
integrity sha512-sOLtEbNLFrD8DgbvE0P/vRrmdPbF6Zufhn3gAo6/lxDQGH0ajHGmkl04sq/qcwMHKK0zHjYKRSFEG2VqNIThHg==
Expand Down Expand Up @@ -4711,6 +4708,18 @@ web3@^1.2.7:
web3-shh "1.3.0"
web3-utils "1.3.0"

web3modal@^1.9.2:
version "1.9.2"
resolved "https://registry.yarnpkg.com/web3modal/-/web3modal-1.9.2.tgz#cada568ef17a06ae4eaa31fc6ec0bc31c25cc769"
integrity sha512-wxUpMPwFwjjTnhSSXbWY49Nrn9VAz9RRZpVmfFI2tMny26rsjqdBfYKiRNuMF2Y0Ui9gG4KiUtVkS7DJ2qfo2Q==
dependencies:
detect-browser "^5.1.0"
prop-types "^15.7.2"
react "^16.8.6"
react-dom "^16.8.6"
styled-components "^5.1.1"
tslib "^1.10.0"

websocket@^1.0.32:
version "1.0.32"
resolved "https://registry.yarnpkg.com/websocket/-/websocket-1.0.32.tgz#1f16ddab3a21a2d929dec1687ab21cfdc6d3dbb1"
Expand Down

0 comments on commit fbde9e4

Please sign in to comment.