Compare commits

...

4 Commits

Author SHA1 Message Date
Vignesh Mohankumar
1a488503a7
chore: upgrade @walletconnect/modal (#6850)
* chore: upgrade @walletconnect/modal

* fix
2023-06-27 15:49:13 -04:00
Vignesh Mohankumar
518c66223a
chore: upgrade @web3-react/walletconnect-v2 (#6846) 2023-06-27 10:45:44 -04:00
UL Service Account
779ac64544 ci: add global CODEOWNERS 2023-06-26 20:01:39 +00:00
UL Service Account
6c842cef53 ci(t9n): download translations from crowdin 2023-06-26 20:01:39 +00:00
37 changed files with 115184 additions and 51 deletions

1
CODEOWNERS Normal file
View File

@ -0,0 +1 @@
@uniswap/web-admins

View File

@ -186,6 +186,7 @@
"@visx/react-spring": "^2.12.2", "@visx/react-spring": "^2.12.2",
"@visx/responsive": "^2.10.0", "@visx/responsive": "^2.10.0",
"@visx/shape": "^2.11.1", "@visx/shape": "^2.11.1",
"@walletconnect/modal": "^2.5.4",
"@web3-react/coinbase-wallet": "^8.2.0", "@web3-react/coinbase-wallet": "^8.2.0",
"@web3-react/core": "^8.2.0", "@web3-react/core": "^8.2.0",
"@web3-react/eip1193": "^8.2.0", "@web3-react/eip1193": "^8.2.0",
@ -196,7 +197,7 @@
"@web3-react/types": "^8.2.0", "@web3-react/types": "^8.2.0",
"@web3-react/url": "^8.2.0", "@web3-react/url": "^8.2.0",
"@web3-react/walletconnect": "^8.2.0", "@web3-react/walletconnect": "^8.2.0",
"@web3-react/walletconnect-v2": "^8.3.5", "@web3-react/walletconnect-v2": "^8.3.6",
"ajv": "^8.11.0", "ajv": "^8.11.0",
"ajv-formats": "^2.1.1", "ajv-formats": "^2.1.1",
"array.prototype.flat": "^1.2.4", "array.prototype.flat": "^1.2.4",

View File

@ -47,8 +47,8 @@ export class WalletConnectV2 extends WalletConnect {
termsOfServiceUrl: undefined, termsOfServiceUrl: undefined,
themeMode: darkmode ? 'dark' : 'light', themeMode: darkmode ? 'dark' : 'light',
themeVariables: { themeVariables: {
'--w3m-font-family': '"Inter custom", sans-serif', '--wcm-font-family': '"Inter custom", sans-serif',
'--w3m-z-index': Z_INDEX.modal.toString(), '--wcm-z-index': Z_INDEX.modal.toString(),
}, },
walletImages: undefined, walletImages: undefined,
}, },

3488
src/locales/af-ZA.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/ar-SA.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/ca-ES.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/cs-CZ.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/da-DK.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/de-DE.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/el-GR.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/es-ES.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/fi-FI.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/fr-FR.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/he-IL.po Normal file

File diff suppressed because it is too large Load Diff

3489
src/locales/hu-HU.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/id-ID.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/it-IT.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/ja-JP.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/ko-KR.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/nl-NL.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/no-NO.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/pl-PL.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/pt-BR.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/pt-PT.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/ro-RO.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/ru-RU.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/sl-SI.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/sr-SP.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/sv-SE.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/sw-TZ.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/th-TH.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/tr-TR.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/uk-UA.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/vi-VN.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/zh-CN.po Normal file

File diff suppressed because it is too large Load Diff

3488
src/locales/zh-TW.po Normal file

File diff suppressed because it is too large Load Diff

122
yarn.lock
View File

@ -6157,10 +6157,10 @@
"@walletconnect/types" "^1.8.0" "@walletconnect/types" "^1.8.0"
"@walletconnect/utils" "^1.8.0" "@walletconnect/utils" "^1.8.0"
"@walletconnect/core@2.8.3": "@walletconnect/core@2.8.4":
version "2.8.3" version "2.8.4"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.3.tgz#cd1942e49b09fc8fc97867da1853c3cda71013c9" resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.4.tgz#fc207c8fa35a53e30012b0c85b6ca933cec7d955"
integrity sha512-uQG3XoGJscnxOWTO/W39QOXQszNpSbV8b/BFJoful9D1IUGeTracGc8FdKtNQFfvyhrx3gooZ+HwOK6QBirXzQ== integrity sha512-3CQHud4As0kPRvlW1w/wSWS2F3yXlAo5kSEJyRWLRPqXG+aSCVWM8cVM8ch5yoeyNIfOHhEINdsYMuJG1+yIJQ==
dependencies: dependencies:
"@walletconnect/heartbeat" "1.2.1" "@walletconnect/heartbeat" "1.2.1"
"@walletconnect/jsonrpc-provider" "1.0.13" "@walletconnect/jsonrpc-provider" "1.0.13"
@ -6173,8 +6173,8 @@
"@walletconnect/relay-auth" "^1.0.4" "@walletconnect/relay-auth" "^1.0.4"
"@walletconnect/safe-json" "^1.0.2" "@walletconnect/safe-json" "^1.0.2"
"@walletconnect/time" "^1.0.2" "@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.8.3" "@walletconnect/types" "2.8.4"
"@walletconnect/utils" "2.8.3" "@walletconnect/utils" "2.8.4"
events "^3.3.0" events "^3.3.0"
lodash.isequal "4.5.0" lodash.isequal "4.5.0"
uint8arrays "^3.1.0" uint8arrays "^3.1.0"
@ -6228,19 +6228,19 @@
eip1193-provider "1.0.1" eip1193-provider "1.0.1"
eventemitter3 "4.0.7" eventemitter3 "4.0.7"
"@walletconnect/ethereum-provider@^2.8.3": "@walletconnect/ethereum-provider@^2.8.4":
version "2.8.3" version "2.8.4"
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.8.3.tgz#c00befd921933be21f1fcc12e3b745299f9c9248" resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.8.4.tgz#c627c237b479194efc542b8475596bae12fde52d"
integrity sha512-OdD1G7xWAqJy2G/C5uoLHNw6oPs3+epXjt1J0WF8984f34GBse7iCCC6vB3ImvtzO2Jc/B08LUUnATdyDMxYMw== integrity sha512-z7Yz4w8t3eEFv8vQ8DLCgDWPah2aIIyC0iQdwhXgJenQTVuz7JJZRrJUUntzudipHK/owA394c1qTPF0rsMSeQ==
dependencies: dependencies:
"@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-http-connection" "^1.0.7"
"@walletconnect/jsonrpc-provider" "^1.0.13" "@walletconnect/jsonrpc-provider" "^1.0.13"
"@walletconnect/jsonrpc-types" "^1.0.3" "@walletconnect/jsonrpc-types" "^1.0.3"
"@walletconnect/jsonrpc-utils" "^1.0.8" "@walletconnect/jsonrpc-utils" "^1.0.8"
"@walletconnect/sign-client" "2.8.3" "@walletconnect/sign-client" "2.8.4"
"@walletconnect/types" "2.8.3" "@walletconnect/types" "2.8.4"
"@walletconnect/universal-provider" "2.8.3" "@walletconnect/universal-provider" "2.8.4"
"@walletconnect/utils" "2.8.3" "@walletconnect/utils" "2.8.4"
events "^3.3.0" events "^3.3.0"
"@walletconnect/events@^1.0.1": "@walletconnect/events@^1.0.1":
@ -6337,13 +6337,31 @@
resolved "https://registry.npmjs.org/@walletconnect/mobile-registry/-/mobile-registry-1.4.0.tgz" resolved "https://registry.npmjs.org/@walletconnect/mobile-registry/-/mobile-registry-1.4.0.tgz"
integrity sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw== integrity sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw==
"@walletconnect/modal@^2.4.5": "@walletconnect/modal-core@2.5.4":
version "2.4.5" version "2.5.4"
resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.4.5.tgz#bfdf6110a7f09c709fc5af19e576a28e6bba1d6e" resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.5.4.tgz#7d739a90a9cf103067eea46507ea649e8dada436"
integrity sha512-t+sII7GIMsKDr0wvSJxzlpcbxw35WthuVpAqPlzMS7roSPmQZT18KO8Iu4ccLkNZF+ioptRTpBUKtk2eeuaqlQ== integrity sha512-ISe4LqmEDFU7b6rLgonqaEtMXzG6ko13HA7S8Ty3d7GgfAEe29LM1dq3zo8ehEOghhofhj1PiiNfvaogZKzT1g==
dependencies: dependencies:
"@web3modal/core" "2.4.5" buffer "6.0.3"
"@web3modal/ui" "2.4.5" valtio "1.10.6"
"@walletconnect/modal-ui@2.5.4":
version "2.5.4"
resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.5.4.tgz#0433fb0226dd47e17fede620c5a5ff332baed155"
integrity sha512-5qLLjwbE3YC4AsCVhf8J87otklkApcQ5DCMykOcS0APPv8lKQ46JxpQhfWwRYaUkuIiHonI9h1YxFARDkoaI9g==
dependencies:
"@walletconnect/modal-core" "2.5.4"
lit "2.7.5"
motion "10.16.2"
qrcode "1.5.3"
"@walletconnect/modal@^2.4.5", "@walletconnect/modal@^2.5.4":
version "2.5.4"
resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.5.4.tgz#66659051f9c0f35c151d3a8d940f8c64d42fab74"
integrity sha512-JAKMcCd4JQvSEr7pNitg3OBke4DN1JyaQ7bdi3x4T7oLgOr9Y88qdkeOXko/0aJonDHJsM88hZ10POQWmKfEMA==
dependencies:
"@walletconnect/modal-core" "2.5.4"
"@walletconnect/modal-ui" "2.5.4"
"@walletconnect/qrcode-modal@^1.8.0": "@walletconnect/qrcode-modal@^1.8.0":
version "1.8.0" version "1.8.0"
@ -6398,19 +6416,19 @@
dependencies: dependencies:
tslib "1.14.1" tslib "1.14.1"
"@walletconnect/sign-client@2.8.3": "@walletconnect/sign-client@2.8.4":
version "2.8.3" version "2.8.4"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.3.tgz#2476716cfaed921a80a93e4342124105e5a1f720" resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.4.tgz#35e7cfe9442c65d7f667a7c20f1a5ee7e2a6e576"
integrity sha512-fOlyZfzV4xJO0CDCMrQ3hw4bIuboncqVpJ0BgTF5yQtKklv+5pEqlFnhU8GN2rE6GThU1zyPQNibT/jRG7lCAw== integrity sha512-eRvWtKBAgzo/rbIkw+rkKco2ulSW8Wor/58UsOBsl9DKr1rIazZd4ZcUdaTjg9q8AT1476IQakCAIuv+1FvJwQ==
dependencies: dependencies:
"@walletconnect/core" "2.8.3" "@walletconnect/core" "2.8.4"
"@walletconnect/events" "^1.0.1" "@walletconnect/events" "^1.0.1"
"@walletconnect/heartbeat" "1.2.1" "@walletconnect/heartbeat" "1.2.1"
"@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/jsonrpc-utils" "1.0.8"
"@walletconnect/logger" "^2.0.1" "@walletconnect/logger" "^2.0.1"
"@walletconnect/time" "^1.0.2" "@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.8.3" "@walletconnect/types" "2.8.4"
"@walletconnect/utils" "2.8.3" "@walletconnect/utils" "2.8.4"
events "^3.3.0" events "^3.3.0"
"@walletconnect/signer-connection@^1.8.0": "@walletconnect/signer-connection@^1.8.0":
@ -6441,10 +6459,10 @@
dependencies: dependencies:
tslib "1.14.1" tslib "1.14.1"
"@walletconnect/types@2.8.3", "@walletconnect/types@^2.8.1": "@walletconnect/types@2.8.4", "@walletconnect/types@^2.8.1":
version "2.8.3" version "2.8.4"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.3.tgz#2a389458ebda56b4119231579e1b37b0fe24f981" resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.4.tgz#23fad8593b094c7564d72f179e33b1cac9324a88"
integrity sha512-crZ5IfWEp+ctygfDNifzB68sVWKwfLMiF7GZuoOzKJuFYbXtcNjtpmFdAd3cPT+a8L30XMgv0shEdIHTj2JglQ== integrity sha512-Fgqe87R7rjMOGSvx28YPLTtXM6jj+oUOorx8cE+jEw2PfpWp5myF21aCdaMBR39h0QHij5H1Z0/W9e7gm4oC1Q==
dependencies: dependencies:
"@walletconnect/events" "^1.0.1" "@walletconnect/events" "^1.0.1"
"@walletconnect/heartbeat" "1.2.1" "@walletconnect/heartbeat" "1.2.1"
@ -6458,25 +6476,25 @@
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195"
integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==
"@walletconnect/universal-provider@2.8.3": "@walletconnect/universal-provider@2.8.4":
version "2.8.3" version "2.8.4"
resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.3.tgz#769c9e613a84267145620bc8cb2c2bd2d8d9c14e" resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.4.tgz#7b62a76a7d99ea41c67374da54aaa4f1b4bc1d03"
integrity sha512-HW1u23Ridjq+LG1mb+nsH31lPa4/th5kFpWuBem9n6FeZNIpoWbbGQUhU3Q5snyMccD1Vxgvxv1xC2KMUwbXTA== integrity sha512-JRpOXKIciRMzd03zZxM1WDsYHo/ZS86zZrZ1aCHW1d45ZLP7SbGPRHzZgBY3xrST26yTvWIlRfTUEYn50fzB1g==
dependencies: dependencies:
"@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-http-connection" "^1.0.7"
"@walletconnect/jsonrpc-provider" "1.0.13" "@walletconnect/jsonrpc-provider" "1.0.13"
"@walletconnect/jsonrpc-types" "^1.0.2" "@walletconnect/jsonrpc-types" "^1.0.2"
"@walletconnect/jsonrpc-utils" "^1.0.7" "@walletconnect/jsonrpc-utils" "^1.0.7"
"@walletconnect/logger" "^2.0.1" "@walletconnect/logger" "^2.0.1"
"@walletconnect/sign-client" "2.8.3" "@walletconnect/sign-client" "2.8.4"
"@walletconnect/types" "2.8.3" "@walletconnect/types" "2.8.4"
"@walletconnect/utils" "2.8.3" "@walletconnect/utils" "2.8.4"
events "^3.3.0" events "^3.3.0"
"@walletconnect/utils@2.8.3": "@walletconnect/utils@2.8.4":
version "2.8.3" version "2.8.4"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.3.tgz#32d3111f1638e45663cf8b65c6d3af28cf5591d5" resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.4.tgz#8dbd3beaef39388be2398145a5f9a061a0317518"
integrity sha512-PwNEj/kGO7J7ZyrAaVqYkASLBG77qDE/+6JPX11GAucSy2wac92WefLjfVsPLNPwiNmYiV1eGbxzR3KCdlnrLA== integrity sha512-NGw6BINYNeT9JrQrnxldAPheO2ymRrwGrgfExZMyrkb1MShnIX4nzo4KirKInM4LtrY6AA/v0Lu3ooUdfO+xIg==
dependencies: dependencies:
"@stablelib/chacha20poly1305" "1.0.1" "@stablelib/chacha20poly1305" "1.0.1"
"@stablelib/hkdf" "1.0.1" "@stablelib/hkdf" "1.0.1"
@ -6486,7 +6504,7 @@
"@walletconnect/relay-api" "^1.0.9" "@walletconnect/relay-api" "^1.0.9"
"@walletconnect/safe-json" "^1.0.2" "@walletconnect/safe-json" "^1.0.2"
"@walletconnect/time" "^1.0.2" "@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.8.3" "@walletconnect/types" "2.8.4"
"@walletconnect/window-getters" "^1.0.1" "@walletconnect/window-getters" "^1.0.1"
"@walletconnect/window-metadata" "^1.0.1" "@walletconnect/window-metadata" "^1.0.1"
detect-browser "5.3.0" detect-browser "5.3.0"
@ -6615,12 +6633,12 @@
"@ethersproject/providers" "^5" "@ethersproject/providers" "^5"
"@web3-react/types" "^8.2.0" "@web3-react/types" "^8.2.0"
"@web3-react/walletconnect-v2@^8.3.5": "@web3-react/walletconnect-v2@^8.3.6":
version "8.3.5" version "8.3.6"
resolved "https://registry.yarnpkg.com/@web3-react/walletconnect-v2/-/walletconnect-v2-8.3.5.tgz#310fad7da378d2350a44a3d67b3a98368175f17f" resolved "https://registry.yarnpkg.com/@web3-react/walletconnect-v2/-/walletconnect-v2-8.3.6.tgz#8f9e561ba3fa7dd15c56bec7ee1de066857f07b1"
integrity sha512-8OE8XSAM3uamQAMt+SZHX+ichgZ6Ds/oKsckn+HY+TDNiduYLCBG/isiYKAxdIq8qXjdAkV7g2ek2fLAQOud3Q== integrity sha512-8N01Rns+Ey203D60TAj0iN4LOPsllvdY+8fl8ev+1NaPlgOtF3KrasPrFJ/5ZmVF31jBQYo2kC/X3OITBBnHDA==
dependencies: dependencies:
"@walletconnect/ethereum-provider" "^2.8.3" "@walletconnect/ethereum-provider" "^2.8.4"
"@walletconnect/modal" "^2.4.5" "@walletconnect/modal" "^2.4.5"
"@web3-react/types" "^8.2.0" "@web3-react/types" "^8.2.0"
eventemitter3 "^4.0.7" eventemitter3 "^4.0.7"
@ -19125,6 +19143,14 @@ valtio@1.10.5:
proxy-compare "2.5.1" proxy-compare "2.5.1"
use-sync-external-store "1.2.0" use-sync-external-store "1.2.0"
valtio@1.10.6:
version "1.10.6"
resolved "https://registry.yarnpkg.com/valtio/-/valtio-1.10.6.tgz#80ed00198b949939863a0fa56ae687abb417fc4f"
integrity sha512-SxN1bHUmdhW6V8qsQTpCgJEwp7uHbntuH0S9cdLQtiohuevwBksbpXjwj5uDMA7bLwg1WKyq9sEpZrx3TIMrkA==
dependencies:
proxy-compare "2.5.1"
use-sync-external-store "1.2.0"
value-or-promise@1.0.11, value-or-promise@^1.0.11: value-or-promise@1.0.11, value-or-promise@^1.0.11:
version "1.0.11" version "1.0.11"
resolved "https://registry.yarnpkg.com/value-or-promise/-/value-or-promise-1.0.11.tgz#3e90299af31dd014fe843fe309cefa7c1d94b140" resolved "https://registry.yarnpkg.com/value-or-promise/-/value-or-promise-1.0.11.tgz#3e90299af31dd014fe843fe309cefa7c1d94b140"