From 7d9c2b53d860aa6c353b247f9e5ed6662bbb33ae Mon Sep 17 00:00:00 2001 From: tomiir Date: Tue, 20 Aug 2024 19:15:55 +0200 Subject: [PATCH] chore: update ethereum-provider and utils to 2.15.1. Disable MM tests (#2724) --- .github/workflows/ui_tests.yml | 34 ++--- apps/laboratory/package.json | 4 +- packages/ethers/package.json | 4 +- packages/ethers5/package.json | 4 +- packages/siwe/package.json | 2 +- packages/wagmi/package.json | 4 +- pnpm-lock.yaml | 241 ++++++++++++++++++++++++++++++--- 7 files changed, 248 insertions(+), 45 deletions(-) diff --git a/.github/workflows/ui_tests.yml b/.github/workflows/ui_tests.yml index fb8bac0feb..79036e8c2a 100644 --- a/.github/workflows/ui_tests.yml +++ b/.github/workflows/ui_tests.yml @@ -105,24 +105,24 @@ jobs: working-directory: ./apps/laboratory/ run: pnpm playwright:install - - name: Build MetaMask wallet cache - working-directory: ./apps/laboratory/ - run: xvfb-run pnpm synpress + # - name: Build MetaMask wallet cache + # working-directory: ./apps/laboratory/ + # run: xvfb-run pnpm synpress - - name: Run MetaMask Playwright tests (headful) - working-directory: ./apps/laboratory/ - env: - BASE_URL: ${{ inputs.base-url }} - WALLET_URL: ${{ inputs.wallet-url }} - NEXT_PUBLIC_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_PROJECT_ID }} - SKIP_PLAYWRIGHT_WEBSERVER: ${{ inputs.skip-playwright-webserver }} - NEXTAUTH_SECRET: ${{ secrets.TESTS_NEXTAUTH_SECRET }} - MAILSAC_API_KEY: ${{ secrets.TESTS_MAILSEC_API_KEY }} - NEXT_PUBLIC_SECURE_SITE_SDK_URL: ${{ inputs.secure-site-url }} - SOCIAL_TEST_EMAIL: ${{ secrets.TESTS_SOCIAL_EMAIL }} - SOCIAL_TEST_PASSWORD: ${{ secrets.TESTS_SOCIAL_PASSWORD }} - CI: true - run: xvfb-run pnpm playwright:test:metamask + # - name: Run MetaMask Playwright tests (headful) + # working-directory: ./apps/laboratory/ + # env: + # BASE_URL: ${{ inputs.base-url }} + # WALLET_URL: ${{ inputs.wallet-url }} + # NEXT_PUBLIC_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_PROJECT_ID }} + # SKIP_PLAYWRIGHT_WEBSERVER: ${{ inputs.skip-playwright-webserver }} + # NEXTAUTH_SECRET: ${{ secrets.TESTS_NEXTAUTH_SECRET }} + # MAILSAC_API_KEY: ${{ secrets.TESTS_MAILSEC_API_KEY }} + # NEXT_PUBLIC_SECURE_SITE_SDK_URL: ${{ inputs.secure-site-url }} + # SOCIAL_TEST_EMAIL: ${{ secrets.TESTS_SOCIAL_EMAIL }} + # SOCIAL_TEST_PASSWORD: ${{ secrets.TESTS_SOCIAL_PASSWORD }} + # CI: true + # run: xvfb-run pnpm playwright:test:metamask - name: Run Playwright tests env: diff --git a/apps/laboratory/package.json b/apps/laboratory/package.json index c37e7cc113..196199b208 100644 --- a/apps/laboratory/package.json +++ b/apps/laboratory/package.json @@ -48,8 +48,8 @@ "@tanstack/react-query": "5.24.8", "@wagmi/connectors": "5.1.5", "@wagmi/core": "2.13.4", - "@walletconnect/ethereum-provider": "2.14.0", - "@walletconnect/utils": "2.14.0", + "@walletconnect/ethereum-provider": "2.15.1", + "@walletconnect/utils": "2.15.1", "@web3modal/ethers": "workspace:*", "@web3modal/siwe": "workspace:*", "@web3modal/solana": "workspace:*", diff --git a/packages/ethers/package.json b/packages/ethers/package.json index 9b0133c7bc..ba8d9cf376 100644 --- a/packages/ethers/package.json +++ b/packages/ethers/package.json @@ -44,8 +44,8 @@ }, "dependencies": { "@coinbase/wallet-sdk": "4.0.3", - "@walletconnect/ethereum-provider": "2.14.0", - "@walletconnect/utils": "2.14.0", + "@walletconnect/ethereum-provider": "2.15.1", + "@walletconnect/utils": "2.15.1", "@web3modal/common": "workspace:*", "@web3modal/wallet": "workspace:*", "@web3modal/polyfills": "workspace:*", diff --git a/packages/ethers5/package.json b/packages/ethers5/package.json index b6415cbca1..b524780b84 100644 --- a/packages/ethers5/package.json +++ b/packages/ethers5/package.json @@ -44,8 +44,8 @@ }, "dependencies": { "@coinbase/wallet-sdk": "4.0.3", - "@walletconnect/ethereum-provider": "2.14.0", - "@walletconnect/utils": "2.14.0", + "@walletconnect/ethereum-provider": "2.15.1", + "@walletconnect/utils": "2.15.1", "@web3modal/common": "workspace:*", "@web3modal/polyfills": "workspace:*", "@web3modal/scaffold": "workspace:*", diff --git a/packages/siwe/package.json b/packages/siwe/package.json index 316ad508b5..45f4a08da2 100644 --- a/packages/siwe/package.json +++ b/packages/siwe/package.json @@ -16,7 +16,7 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@walletconnect/utils": "2.14.0", + "@walletconnect/utils": "2.15.1", "@web3modal/core": "workspace:*", "@web3modal/ui": "workspace:*", "@web3modal/common": "workspace:*", diff --git a/packages/wagmi/package.json b/packages/wagmi/package.json index 32c9194088..b3ed1ee5af 100644 --- a/packages/wagmi/package.json +++ b/packages/wagmi/package.json @@ -51,8 +51,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@walletconnect/ethereum-provider": "2.14.0", - "@walletconnect/utils": "2.14.0", + "@walletconnect/ethereum-provider": "2.15.1", + "@walletconnect/utils": "2.15.1", "@web3modal/polyfills": "workspace:*", "@web3modal/wallet": "workspace:*", "@web3modal/common": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 40ef605f28..82fff55fb5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -217,11 +217,11 @@ importers: specifier: 2.13.4 version: 2.13.4(@tanstack/query-core@5.24.8)(@types/react@18.2.62)(react@18.2.0)(typescript@5.3.3)(viem@2.19.6(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.22.4)) '@walletconnect/ethereum-provider': - specifier: 2.14.0 - version: 2.14.0(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) + specifier: 2.15.1 + version: 2.15.1(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.14.0 - version: 2.14.0 + specifier: 2.15.1 + version: 2.15.1 '@web3modal/ethers': specifier: workspace:* version: link:../../packages/ethers @@ -651,11 +651,11 @@ importers: specifier: 4.0.3 version: 4.0.3 '@walletconnect/ethereum-provider': - specifier: 2.14.0 - version: 2.14.0(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) + specifier: 2.15.1 + version: 2.15.1(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.14.0 - version: 2.14.0 + specifier: 2.15.1 + version: 2.15.1 '@web3modal/common': specifier: workspace:* version: link:../common @@ -703,11 +703,11 @@ importers: specifier: 4.0.3 version: 4.0.3 '@walletconnect/ethereum-provider': - specifier: 2.14.0 - version: 2.14.0(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) + specifier: 2.15.1 + version: 2.15.1(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.14.0 - version: 2.14.0 + specifier: 2.15.1 + version: 2.15.1 '@web3modal/common': specifier: workspace:* version: link:../common @@ -863,8 +863,8 @@ importers: packages/siwe: dependencies: '@walletconnect/utils': - specifier: 2.14.0 - version: 2.14.0 + specifier: 2.15.1 + version: 2.15.1 '@web3modal/common': specifier: workspace:* version: link:../common @@ -1018,11 +1018,11 @@ importers: packages/wagmi: dependencies: '@walletconnect/ethereum-provider': - specifier: 2.14.0 - version: 2.14.0(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) + specifier: 2.15.1 + version: 2.15.1(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10) '@walletconnect/utils': - specifier: 2.14.0 - version: 2.14.0 + specifier: 2.15.1 + version: 2.15.1 '@web3modal/common': specifier: workspace:* version: link:../common @@ -6281,12 +6281,19 @@ packages: resolution: {integrity: sha512-QekYQlpxyn2bcQXMkMxo0+v7nUOQKyu3j5ZKzTg/HGU1eSgTRLIvYIEkC8VVflIgOw7meOAb5pFChX51wShksQ==} engines: {node: '>=18'} + '@walletconnect/core@2.15.1': + resolution: {integrity: sha512-9MWVt33MFrLiAeK9nqY/B30/y0M4uiq8v9EXenIBQdlgkmXM++RTcOnn7u7EAbthGgzx3WLPRm4ViwIb+rI/Cg==} + engines: {node: '>=18'} + '@walletconnect/environment@1.0.1': resolution: {integrity: sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg==} '@walletconnect/ethereum-provider@2.14.0': resolution: {integrity: sha512-Cc2/DCn85VciA10BrsNWFM//3VC1D8yjwrjfUKjGndLPDz0YIdAxTgYZViIlMjE0lzQC/DMvPYEAnGfW0O1Bwg==} + '@walletconnect/ethereum-provider@2.15.1': + resolution: {integrity: sha512-3ssEAKc/rLYshwyE2ZIaoTxzi/p9Ws+kj/FIsd1Ed/CC37Rl5l/KYHaRJtevWeni9s4dGqyqKsYkJ0VwwUcnfQ==} + '@walletconnect/events@1.0.1': resolution: {integrity: sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==} @@ -6357,6 +6364,9 @@ packages: '@walletconnect/sign-client@2.15.0': resolution: {integrity: sha512-efwrPfIwKWKeku44TGBCnQqPZGCILI1wBKK9bTF0F0/qrLR/zRe6RWpM3/L4+jOMr/BktxPZ5lRozBh+c2U7Pg==} + '@walletconnect/sign-client@2.15.1': + resolution: {integrity: sha512-YnLNEmCHgZ8yBpE3hwZnHD/bVznVMguSAlwLBNOoWUH2f4d9mR8bqa6KeVXqZ3e8mVHcxKTJTjTJ3oQMLyKIjw==} + '@walletconnect/time@1.0.2': resolution: {integrity: sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==} @@ -6370,18 +6380,27 @@ packages: '@walletconnect/types@2.15.0': resolution: {integrity: sha512-hLffDKKe70jIrK+YcLkAnzi6vqNki1SDBWjV+M/72mKcU2KzXxk0G2STFsWsQDx8DoqxMiuGehd0DlD1jwQmBg==} + '@walletconnect/types@2.15.1': + resolution: {integrity: sha512-4WkMsHD8ioZI5GmxNT0qMlz6msI7ZajBcTyDxfRncaNZVau0C+Btw1U4jWO+gxwJVDJY+Ue/cb1QKJ5BanZsyw==} + '@walletconnect/universal-provider@2.14.0': resolution: {integrity: sha512-Mr8uoTmD6H0+Hh+3gxBu4l3T2uP/nNPR02sVtwEujNum++F727mMk+ifPRIpkVo21V/bvXFEy8sHTs5hqyq5iA==} '@walletconnect/universal-provider@2.15.0': resolution: {integrity: sha512-+jIuYyLfud1XRYPWt/3wYiD7DYUOSZk26qbtvZFMj1m947NRnZGzp+0gt1ORi7NInEtX3R0fUhMOYKnPwadp6g==} + '@walletconnect/universal-provider@2.15.1': + resolution: {integrity: sha512-JvKwHoE/ugWSKOmrEr03go1V79N0bbYV6w24Lqlzz4VAoReZZo8TDKsya7UkJ1L5HUCgKVP+AVktuJv8khzJ6w==} + '@walletconnect/utils@2.14.0': resolution: {integrity: sha512-vRVomYQEtEAyCK2c5bzzEvtgxaGGITF8mWuIL+WYSAMyEJLY97mirP2urDucNwcUczwxUgI+no9RiNFbUHreQQ==} '@walletconnect/utils@2.15.0': resolution: {integrity: sha512-xaazgCMyr5fUPm2QuZ76G+W8beDfKMILqJ3INL6wyuaLil2YQNdsCSvWMNhSP+EZeKD3SUqqBmQaM/maP0YHTg==} + '@walletconnect/utils@2.15.1': + resolution: {integrity: sha512-i5AR8XpZdcX8ghaCjYV13Er/KAGe56c1mLaG9c2cv9kmnZMZijeMdInjX/flnSM1RFDUiZXvKPMUNwlCL4NsWw==} + '@walletconnect/window-getters@1.0.0': resolution: {integrity: sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==} @@ -15660,7 +15679,7 @@ snapshots: '@solana/web3.js': 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@walletconnect/qrcode-modal': 1.8.0 '@walletconnect/sign-client': 2.15.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@walletconnect/utils': 2.14.0 + '@walletconnect/utils': 2.15.1 bs58: 5.0.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -20042,6 +20061,42 @@ snapshots: - uWebSockets.js - utf-8-validate + '@walletconnect/core@2.15.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@walletconnect/heartbeat': 1.2.2 + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/jsonrpc-ws-connection': 1.0.14(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/keyvaluestorage': 1.1.1 + '@walletconnect/logger': 2.1.2 + '@walletconnect/relay-api': 1.0.11 + '@walletconnect/relay-auth': 1.0.4 + '@walletconnect/safe-json': 1.0.2 + '@walletconnect/time': 1.0.2 + '@walletconnect/types': 2.15.1 + '@walletconnect/utils': 2.15.1 + events: 3.3.0 + lodash.isequal: 4.5.0 + uint8arrays: 3.1.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - ioredis + - uWebSockets.js + - utf-8-validate + '@walletconnect/environment@1.0.1': dependencies: tslib: 1.14.1 @@ -20079,6 +20134,39 @@ snapshots: - uWebSockets.js - utf-8-validate + '@walletconnect/ethereum-provider@2.15.1(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(utf-8-validate@5.0.10)': + dependencies: + '@walletconnect/jsonrpc-http-connection': 1.0.8 + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/modal': 2.6.2(@types/react@18.2.62)(react@18.2.0) + '@walletconnect/sign-client': 2.15.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/types': 2.15.1 + '@walletconnect/universal-provider': 2.15.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/utils': 2.15.1 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@types/react' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - encoding + - ioredis + - react + - uWebSockets.js + - utf-8-validate + '@walletconnect/events@1.0.1': dependencies: keyvaluestorage-interface: 1.0.0 @@ -20269,6 +20357,35 @@ snapshots: - uWebSockets.js - utf-8-validate + '@walletconnect/sign-client@2.15.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@walletconnect/core': 2.15.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/events': 1.0.1 + '@walletconnect/heartbeat': 1.2.2 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/logger': 2.1.2 + '@walletconnect/time': 1.0.2 + '@walletconnect/types': 2.15.1 + '@walletconnect/utils': 2.15.1 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - ioredis + - uWebSockets.js + - utf-8-validate + '@walletconnect/time@1.0.2': dependencies: tslib: 1.14.1 @@ -20323,6 +20440,30 @@ snapshots: - ioredis - uWebSockets.js + '@walletconnect/types@2.15.1': + dependencies: + '@walletconnect/events': 1.0.1 + '@walletconnect/heartbeat': 1.2.2 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/keyvaluestorage': 1.1.1 + '@walletconnect/logger': 2.1.2 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - ioredis + - uWebSockets.js + '@walletconnect/universal-provider@2.14.0(bufferutil@4.0.8)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.8 @@ -20383,6 +20524,36 @@ snapshots: - uWebSockets.js - utf-8-validate + '@walletconnect/universal-provider@2.15.1(bufferutil@4.0.8)(utf-8-validate@5.0.10)': + dependencies: + '@walletconnect/jsonrpc-http-connection': 1.0.8 + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/logger': 2.1.2 + '@walletconnect/sign-client': 2.15.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@walletconnect/types': 2.15.1 + '@walletconnect/utils': 2.15.1 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - encoding + - ioredis + - uWebSockets.js + - utf-8-validate + '@walletconnect/utils@2.14.0': dependencies: '@stablelib/chacha20poly1305': 1.0.1 @@ -20448,6 +20619,38 @@ snapshots: - ioredis - uWebSockets.js + '@walletconnect/utils@2.15.1': + dependencies: + '@stablelib/chacha20poly1305': 1.0.1 + '@stablelib/hkdf': 1.0.1 + '@stablelib/random': 1.0.2 + '@stablelib/sha256': 1.0.1 + '@stablelib/x25519': 1.0.3 + '@walletconnect/relay-api': 1.0.11 + '@walletconnect/safe-json': 1.0.2 + '@walletconnect/time': 1.0.2 + '@walletconnect/types': 2.15.1 + '@walletconnect/window-getters': 1.0.1 + '@walletconnect/window-metadata': 1.0.1 + detect-browser: 5.3.0 + query-string: 7.1.3 + uint8arrays: 3.1.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - ioredis + - uWebSockets.js + '@walletconnect/window-getters@1.0.0': {} '@walletconnect/window-getters@1.0.1':