Skip to content

Commit

Permalink
fix: adjust z-index key for walletConnect modal (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
manasovdan authored Apr 12, 2024
1 parent 6adbe73 commit 58dbdf8
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/wallet-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@lifi/sdk": "^2.5.0",
"@safe-global/safe-apps-provider": "^0.18.1",
"@safe-global/safe-apps-sdk": "^8.1.0",
"@walletconnect/ethereum-provider": "^2.10.6",
"@walletconnect/ethereum-provider": "^2.12.2",
"@walletconnect/modal": "^2.6.2",
"events": "^3.3.0",
"react": "^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-management/src/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const walletConnect: Wallet = new WalletConnectConnector({
showQrModal: true,
qrModalOptions: {
themeVariables: {
'--w3m-z-index': '3000',
'--wcm-z-index': '3000',
},
},
},
Expand Down
146 changes: 143 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3276,7 +3276,7 @@ __metadata:
"@lifi/sdk": "npm:^2.5.0"
"@safe-global/safe-apps-provider": "npm:^0.18.1"
"@safe-global/safe-apps-sdk": "npm:^8.1.0"
"@walletconnect/ethereum-provider": "npm:^2.10.6"
"@walletconnect/ethereum-provider": "npm:^2.12.2"
"@walletconnect/modal": "npm:^2.6.2"
cpy-cli: "npm:^5.0.0"
events: "npm:^3.3.0"
Expand Down Expand Up @@ -5558,6 +5558,31 @@ __metadata:
languageName: node
linkType: hard

"@walletconnect/core@npm:2.12.2":
version: 2.12.2
resolution: "@walletconnect/core@npm:2.12.2"
dependencies:
"@walletconnect/heartbeat": "npm:1.2.1"
"@walletconnect/jsonrpc-provider": "npm:1.0.13"
"@walletconnect/jsonrpc-types": "npm:1.0.3"
"@walletconnect/jsonrpc-utils": "npm:1.0.8"
"@walletconnect/jsonrpc-ws-connection": "npm:1.0.14"
"@walletconnect/keyvaluestorage": "npm:^1.1.1"
"@walletconnect/logger": "npm:^2.1.2"
"@walletconnect/relay-api": "npm:^1.0.9"
"@walletconnect/relay-auth": "npm:^1.0.4"
"@walletconnect/safe-json": "npm:^1.0.2"
"@walletconnect/time": "npm:^1.0.2"
"@walletconnect/types": "npm:2.12.2"
"@walletconnect/utils": "npm:2.12.2"
events: "npm:^3.3.0"
isomorphic-unfetch: "npm:3.1.0"
lodash.isequal: "npm:4.5.0"
uint8arrays: "npm:^3.1.0"
checksum: 640b6ef23115d98c9d7cc465a7a09c96bb36384fca9d4dafdc8d1e6b82ae05317aae84d0ebd22175d40d52a44beaa6f98458d3b7822e247b672dd3e77c576489
languageName: node
linkType: hard

"@walletconnect/crypto@npm:^1.0.3":
version: 1.0.3
resolution: "@walletconnect/crypto@npm:1.0.3"
Expand Down Expand Up @@ -5592,7 +5617,7 @@ __metadata:
languageName: node
linkType: hard

"@walletconnect/ethereum-provider@npm:2.10.6, @walletconnect/ethereum-provider@npm:^2.10.6":
"@walletconnect/ethereum-provider@npm:2.10.6":
version: 2.10.6
resolution: "@walletconnect/ethereum-provider@npm:2.10.6"
dependencies:
Expand All @@ -5610,6 +5635,24 @@ __metadata:
languageName: node
linkType: hard

"@walletconnect/ethereum-provider@npm:^2.12.2":
version: 2.12.2
resolution: "@walletconnect/ethereum-provider@npm:2.12.2"
dependencies:
"@walletconnect/jsonrpc-http-connection": "npm:^1.0.7"
"@walletconnect/jsonrpc-provider": "npm:^1.0.13"
"@walletconnect/jsonrpc-types": "npm:^1.0.3"
"@walletconnect/jsonrpc-utils": "npm:^1.0.8"
"@walletconnect/modal": "npm:^2.6.2"
"@walletconnect/sign-client": "npm:2.12.2"
"@walletconnect/types": "npm:2.12.2"
"@walletconnect/universal-provider": "npm:2.12.2"
"@walletconnect/utils": "npm:2.12.2"
events: "npm:^3.3.0"
checksum: 740a9c5deeb28cbeb5f0cae5e353303db0dce4a4b9ab71caeaae531efeb8dc126f7e8bd6258c2ba4573d85200413aa87696fe8da01283f7f7c0338e9f649a38e
languageName: node
linkType: hard

"@walletconnect/events@npm:^1.0.1":
version: 1.0.1
resolution: "@walletconnect/events@npm:1.0.1"
Expand Down Expand Up @@ -5801,6 +5844,16 @@ __metadata:
languageName: node
linkType: hard

"@walletconnect/logger@npm:^2.1.2":
version: 2.1.2
resolution: "@walletconnect/logger@npm:2.1.2"
dependencies:
"@walletconnect/safe-json": "npm:^1.0.2"
pino: "npm:7.11.0"
checksum: 2e6d438bd352595fff6691712c83953e3ad6b2b9ab298c5a8b670a024f53a3f744b165e5aa081a79261ee4801b93b6c60698a39947d613d49a8f6e6215ecd4c2
languageName: node
linkType: hard

"@walletconnect/modal-core@npm:2.6.2":
version: 2.6.2
resolution: "@walletconnect/modal-core@npm:2.6.2"
Expand Down Expand Up @@ -5894,6 +5947,23 @@ __metadata:
languageName: node
linkType: hard

"@walletconnect/sign-client@npm:2.12.2":
version: 2.12.2
resolution: "@walletconnect/sign-client@npm:2.12.2"
dependencies:
"@walletconnect/core": "npm:2.12.2"
"@walletconnect/events": "npm:^1.0.1"
"@walletconnect/heartbeat": "npm:1.2.1"
"@walletconnect/jsonrpc-utils": "npm:1.0.8"
"@walletconnect/logger": "npm:^2.1.2"
"@walletconnect/time": "npm:^1.0.2"
"@walletconnect/types": "npm:2.12.2"
"@walletconnect/utils": "npm:2.12.2"
events: "npm:^3.3.0"
checksum: 1c123659b304e80694c2ffa3a151ca66d1b06791f9741217ad3e9f9acb83aa591052f68a3202f5f2c50f5ca816b5d1e6a736bd1a8957fe97cb2118e8ae4c7fa3
languageName: node
linkType: hard

"@walletconnect/time@npm:^1.0.2":
version: 1.0.2
resolution: "@walletconnect/time@npm:1.0.2"
Expand Down Expand Up @@ -5931,6 +6001,20 @@ __metadata:
languageName: node
linkType: hard

"@walletconnect/types@npm:2.12.2":
version: 2.12.2
resolution: "@walletconnect/types@npm:2.12.2"
dependencies:
"@walletconnect/events": "npm:^1.0.1"
"@walletconnect/heartbeat": "npm:1.2.1"
"@walletconnect/jsonrpc-types": "npm:1.0.3"
"@walletconnect/keyvaluestorage": "npm:^1.1.1"
"@walletconnect/logger": "npm:^2.0.1"
events: "npm:^3.3.0"
checksum: 7e90d57dbbb5998141953f9887b1cd591a486eaf98b344718f206c479c5d20aa8c6133c893b770b8a0e21649f7dcd8aa373ed82621b70a060df44e0c119cd2a3
languageName: node
linkType: hard

"@walletconnect/universal-provider@npm:2.10.6":
version: 2.10.6
resolution: "@walletconnect/universal-provider@npm:2.10.6"
Expand All @@ -5948,6 +6032,23 @@ __metadata:
languageName: node
linkType: hard

"@walletconnect/universal-provider@npm:2.12.2":
version: 2.12.2
resolution: "@walletconnect/universal-provider@npm:2.12.2"
dependencies:
"@walletconnect/jsonrpc-http-connection": "npm:^1.0.7"
"@walletconnect/jsonrpc-provider": "npm:1.0.13"
"@walletconnect/jsonrpc-types": "npm:^1.0.2"
"@walletconnect/jsonrpc-utils": "npm:^1.0.7"
"@walletconnect/logger": "npm:^2.1.2"
"@walletconnect/sign-client": "npm:2.12.2"
"@walletconnect/types": "npm:2.12.2"
"@walletconnect/utils": "npm:2.12.2"
events: "npm:^3.3.0"
checksum: c30a245b24f3fb0a155bf8493bf252f973f279be9b4294550d3deb08f57b354064f7594afe3daa3fec552176a7d346b31230b9e32279b76b27d9f0e9994881bb
languageName: node
linkType: hard

"@walletconnect/utils@npm:2.10.2":
version: 2.10.2
resolution: "@walletconnect/utils@npm:2.10.2"
Expand Down Expand Up @@ -5992,6 +6093,28 @@ __metadata:
languageName: node
linkType: hard

"@walletconnect/utils@npm:2.12.2":
version: 2.12.2
resolution: "@walletconnect/utils@npm:2.12.2"
dependencies:
"@stablelib/chacha20poly1305": "npm:1.0.1"
"@stablelib/hkdf": "npm:1.0.1"
"@stablelib/random": "npm:^1.0.2"
"@stablelib/sha256": "npm:1.0.1"
"@stablelib/x25519": "npm:^1.0.3"
"@walletconnect/relay-api": "npm:^1.0.9"
"@walletconnect/safe-json": "npm:^1.0.2"
"@walletconnect/time": "npm:^1.0.2"
"@walletconnect/types": "npm:2.12.2"
"@walletconnect/window-getters": "npm:^1.0.1"
"@walletconnect/window-metadata": "npm:^1.0.1"
detect-browser: "npm:5.3.0"
query-string: "npm:7.1.3"
uint8arrays: "npm:^3.1.0"
checksum: 088d7623ba39c10239f47a9fe30704daaf2569534c2d5bf3c8f5827a01f7ace4d0e5da9f22b8e5ec520abfa5fafebfa0112ec74994f96e5d98c7cfa373d4b02a
languageName: node
linkType: hard

"@walletconnect/window-getters@npm:^1.0.1":
version: 1.0.1
resolution: "@walletconnect/window-getters@npm:1.0.1"
Expand Down Expand Up @@ -10856,6 +10979,16 @@ __metadata:
languageName: node
linkType: hard

"isomorphic-unfetch@npm:3.1.0":
version: 3.1.0
resolution: "isomorphic-unfetch@npm:3.1.0"
dependencies:
node-fetch: "npm:^2.6.1"
unfetch: "npm:^4.2.0"
checksum: 4e760d9a3f94b42c59fe5c6b53202469cecd864875dcac927668b1f43eb57698422a0086fadde47f7815752c4f4e30ecf1ce9a0eb09c44a871a2484dbc580b39
languageName: node
linkType: hard

"isomorphic-ws@npm:^4.0.1":
version: 4.0.1
resolution: "isomorphic-ws@npm:4.0.1"
Expand Down Expand Up @@ -12210,7 +12343,7 @@ __metadata:
languageName: node
linkType: hard

"node-fetch@npm:^2.6.12":
"node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.12":
version: 2.7.0
resolution: "node-fetch@npm:2.7.0"
dependencies:
Expand Down Expand Up @@ -15315,6 +15448,13 @@ __metadata:
languageName: node
linkType: hard

"unfetch@npm:^4.2.0":
version: 4.2.0
resolution: "unfetch@npm:4.2.0"
checksum: d4924178060b6828d858acef3ce2baea69acd3f3f9e2429fd503a0ed0d2b1ed0ee107786aceadfd167ce884fad12d22b5288eb865a3ea036979b8358b8555c9a
languageName: node
linkType: hard

"unicode-canonical-property-names-ecmascript@npm:^2.0.0":
version: 2.0.0
resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.0"
Expand Down

0 comments on commit 58dbdf8

Please sign in to comment.