Skip to content

Commit

Permalink
upgrade coinbase wallet sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNe0x1 committed Jan 4, 2024
1 parent 383c1ef commit 55bc60c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected]"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/walletconnect-v1@1"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/[email protected]"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/coinbase-wallet-sdk@3.6.4"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/coinbase-wallet-sdk@3.8.2"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/@depay/web3-tokens@10"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/qr-code-styling@1"></script>
<script src="tmp/index.dev.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion package.evm.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"private": false,
"dependencies": {},
"peerDependencies": {
"@depay/coinbase-wallet-sdk": "3.6.4",
"@depay/coinbase-wallet-sdk": "3.8.2",
"@depay/walletconnect-v1": "^1.8.0",
"@depay/walletconnect-v2": "^2.9.2",
"@depay/web3-blockchains": "^9.1.4",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"homepage": "https://depay.com",
"private": false,
"peerDependencies": {
"@depay/coinbase-wallet-sdk": "3.6.4",
"@depay/coinbase-wallet-sdk": "3.8.2",
"@depay/solana-web3.js": "^1.26.0",
"@depay/walletconnect-v1": "^1.8.0",
"@depay/walletconnect-v2": "^2.9.2",
Expand All @@ -46,7 +46,7 @@
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/preset-env": "^7.12.7",
"@depay/coinbase-wallet-sdk": "3.6.4",
"@depay/coinbase-wallet-sdk": "3.8.2",
"@depay/solana-web3.js": "^1.26.0",
"@depay/walletconnect-v1": "^1.8.0",
"@depay/walletconnect-v2": "^2.9.2",
Expand Down
2 changes: 1 addition & 1 deletion package.solana.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"private": false,
"dependencies": {},
"peerDependencies": {
"@depay/coinbase-wallet-sdk": "3.6.4",
"@depay/coinbase-wallet-sdk": "3.8.2",
"@depay/solana-web3.js": "^1.26.0",
"@depay/walletconnect-v1": "^1.8.0",
"@depay/walletconnect-v2": "^2.9.2",
Expand Down
1 change: 1 addition & 0 deletions src/wallets/WalletLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class WalletLink {

await connect({ uri: this.connector.qrUrl })

document.querySelector('.-cbwsdk-css-reset')?.setAttribute('style', 'display: none;')
document.querySelector('.-cbwsdk-extension-dialog-container')?.setAttribute('style', 'display: none;')
setTimeout(()=>{
if(this?.connector?._relay?.ui?.linkFlow?.isOpen){
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -903,10 +903,10 @@
"@babel/helper-validator-identifier" "^7.14.9"
to-fast-properties "^2.0.0"

"@coinbase/wallet-sdk@^3.6.4":
version "3.7.1"
resolved "https://registry.yarnpkg.com/@coinbase/wallet-sdk/-/wallet-sdk-3.7.1.tgz#44b3b7a925ff5cc974e4cbf7a44199ffdcf03541"
integrity sha512-LjyoDCB+7p0waQXfK+fUgcAs3Ezk6S6e+LYaoFjpJ6c9VTop3NyZF40Pi7df4z7QJohCwzuIDjz0Rhtig6Y7Pg==
"@coinbase/wallet-sdk@3.7.2":
version "3.7.2"
resolved "https://registry.yarnpkg.com/@coinbase/wallet-sdk/-/wallet-sdk-3.7.2.tgz#7a89bd9e3a06a1f26d4480d8642af33fb0c7e3aa"
integrity sha512-lIGvXMsgpsQWci/XOMQIJ2nIZ8JUy/L+bvC0wkRaYarr0YylwpXrJ2gRM3hCXPS477pkyO7N/kSiAoRgEXUdJQ==
dependencies:
"@metamask/safe-event-emitter" "2.0.0"
"@solana/web3.js" "^1.70.1"
Expand All @@ -926,12 +926,12 @@
stream-browserify "^3.0.0"
util "^0.12.4"

"@depay/coinbase-wallet-sdk@3.6.4":
version "3.6.4"
resolved "https://registry.yarnpkg.com/@depay/coinbase-wallet-sdk/-/coinbase-wallet-sdk-3.6.4.tgz#2adb0275d11cf43566bbaabc9eaa667c76d8477f"
integrity sha512-/+iN4K5AignOiGaahsgxKUWnlx2GnjG4fwgeht4y73o7h+/D4w3x1ZTMqTTBH1O0aiWm9fl83jJF10Aso1b0GQ==
"@depay/coinbase-wallet-sdk@3.8.2":
version "3.8.2"
resolved "https://registry.yarnpkg.com/@depay/coinbase-wallet-sdk/-/coinbase-wallet-sdk-3.8.2.tgz#f27ab1bde4042bcb233c7d57c19feffb2d9f1e84"
integrity sha512-x3vJifXaae6gA+YS+6tAv7nRyHW2yYSLlD/F1GPK4cC2q70sbZ90wJ9DzyHADn2Fwh0iMA8/c4p7TdVk3WwgNQ==
dependencies:
"@coinbase/wallet-sdk" "^3.6.4"
"@coinbase/wallet-sdk" "3.7.2"

"@depay/solana-web3.js@^1.25.1":
version "1.25.1"
Expand Down

0 comments on commit 55bc60c

Please sign in to comment.