diff --git a/jest.config.js b/jest.config.js index f0b79dd0..8045336f 100644 --- a/jest.config.js +++ b/jest.config.js @@ -12,7 +12,7 @@ module.exports = { '^.+\\.(ts|js|tsx|jsx)$': '@swc/jest' }, transformIgnorePatterns: [ - 'node_modules/(?!@multiversx/sdk-guardians-provider|@multiversx/sdk-dapp-form|@multiversx/sdk-dapp-nft|@multiversx/sdk-dapp|@multiversx/sdk-wallet-connect-provider|@multiversx/sdk-guardians-provider|react-redux|swiper|ssr-window|dom7|axios|react-tooltip|uuid|uint8arrays|multiformats|@lifeomic/axios-fetch)' + 'node_modules/(?!@multiversx/sdk-guardians-provider|@multiversx/sdk-dapp-form|@multiversx/sdk-dapp-nft|@multiversx/sdk-dapp|@multiversx/sdk-wallet-connect-provider|@multiversx/sdk-guardians-provider|@multiversx/sdk-wallet|react-redux|swiper|ssr-window|dom7|axios|react-tooltip|uuid|uint8arrays|multiformats|@lifeomic/axios-fetch|@walletconnect)' ], moduleNameMapper: { '^react-native$': 'react-native-web', diff --git a/src/pages/Dashboard/widgets/PingPongService/hooks/tests/useGetPingTransaction.test.ts b/src/pages/Dashboard/widgets/PingPongService/hooks/tests/useGetPingTransaction.test.ts index 45268497..7f661410 100644 --- a/src/pages/Dashboard/widgets/PingPongService/hooks/tests/useGetPingTransaction.test.ts +++ b/src/pages/Dashboard/widgets/PingPongService/hooks/tests/useGetPingTransaction.test.ts @@ -5,8 +5,8 @@ import { useGetPingTransaction } from '../useGetPingTransaction'; const pingTransaction = { nonce: 10705, value: '1000000000000000000', - receiver: 'erd1qqqqqqqqqqqqqpgq72l6vl07fkn3alyfq753mcy4nakm0l72396qkcud5x', - sender: 'erd1wh9c0sjr2xn8hzf02lwwcr4jk2s84tat9ud2kaq6zr7xzpvl9l5q8awmex', + receiver: 'erd1qqqqqqqqqqqqqpgqm6ad6xrsjvxlcdcffqe8w58trpec09ug9l5qde96pq', + sender: 'erd1axhx4kenjlae6sknq7zjg2g4fvzavv979r2fg425p62wkl84avtqsf7vvv', gasPrice: 1000000000, gasLimit: 6000000, data: 'cGluZw==', diff --git a/src/pages/Dashboard/widgets/PingPongService/hooks/tests/useGetPongTransaction.test.ts b/src/pages/Dashboard/widgets/PingPongService/hooks/tests/useGetPongTransaction.test.ts index 8d3273da..c67fb7e2 100644 --- a/src/pages/Dashboard/widgets/PingPongService/hooks/tests/useGetPongTransaction.test.ts +++ b/src/pages/Dashboard/widgets/PingPongService/hooks/tests/useGetPongTransaction.test.ts @@ -5,8 +5,8 @@ import { useGetPongTransaction } from '../useGetPongTransaction'; const pongTransaction = { nonce: 10702, value: '0', - receiver: 'erd1qqqqqqqqqqqqqpgq72l6vl07fkn3alyfq753mcy4nakm0l72396qkcud5x', - sender: 'erd1wh9c0sjr2xn8hzf02lwwcr4jk2s84tat9ud2kaq6zr7xzpvl9l5q8awmex', + receiver: 'erd1qqqqqqqqqqqqqpgqm6ad6xrsjvxlcdcffqe8w58trpec09ug9l5qde96pq', + sender: 'erd1axhx4kenjlae6sknq7zjg2g4fvzavv979r2fg425p62wkl84avtqsf7vvv', gasPrice: 1000000000, gasLimit: 6000000, data: 'cG9uZw==', diff --git a/src/pages/Dashboard/widgets/SignMessage/helpers/tests/decodeMessage.test.ts b/src/pages/Dashboard/widgets/SignMessage/helpers/tests/decodeMessage.test.ts index 5a1ea056..1714f761 100644 --- a/src/pages/Dashboard/widgets/SignMessage/helpers/tests/decodeMessage.test.ts +++ b/src/pages/Dashboard/widgets/SignMessage/helpers/tests/decodeMessage.test.ts @@ -1,9 +1,9 @@ import { decodeMessage } from '../decodeMessage'; const address = - 'erd1wh9c0sjr2xn8hzf02lwwcr4jk2s84tat9ud2kaq6zr7xzpvl9l5q8awmex'; + 'erd1axhx4kenjlae6sknq7zjg2g4fvzavv979r2fg425p62wkl84avtqsf7vvv'; const signature = - '0x079da60c478e32d5ddd2fba135708f025db08a6e0c3c440edac664ab151f0bb7c7efc303d96c4b290ff29aaf02f121e986bacbc33fe735fe2b49e7ba911fc608'; + '795b8437bdbcc9c2a3f610a96d95bd393d23d584d40121ea388999ebd9a34157117a665c86a0285cb207e7da23f4fced848f81c218ebab735da22a5cdb00f803'; const rawMessage = 'hello world'; const signedMessage = '0x68656c6c6f20776f726c64'; diff --git a/yarn.lock b/yarn.lock index d4504e1b..d1654c7f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -981,11 +981,11 @@ webextension-polyfill "^0.10.0" "@metamask/rpc-errors@^6.2.1": - version "6.3.0" - resolved "https://registry.yarnpkg.com/@metamask/rpc-errors/-/rpc-errors-6.3.0.tgz#adc63f3c1c50ec812d3631a471fe2beca0c3707d" - integrity sha512-B1UIG/0xWkaDs/d6xrxsRf7kmFLdk8YE0HUToaFumjwQM36AjBsqEzVyemPTQv0SIrAPFnSmkLt053JOWcu5iw== + version "6.3.1" + resolved "https://registry.yarnpkg.com/@metamask/rpc-errors/-/rpc-errors-6.3.1.tgz#d5bb4740e070c3d87e91717ff4c3c6061a081cab" + integrity sha512-ugDY7cKjF4/yH5LtBaOIKHw/AiGGSAmzptAUEiAEGr/78LwuzcXAxmzEQfSfMIfI+f9Djr8cttq1pRJJKfTuCg== dependencies: - "@metamask/utils" "^8.3.0" + "@metamask/utils" "^9.0.0" fast-safe-stringify "^2.0.6" "@metamask/safe-event-emitter@^3.0.0": @@ -993,7 +993,7 @@ resolved "https://registry.yarnpkg.com/@metamask/safe-event-emitter/-/safe-event-emitter-3.1.1.tgz#e89b840a7af8097a8ed4953d8dc8470d1302d3ef" integrity sha512-ihb3B0T/wJm1eUuArYP4lCTSEoZsClHhuWyfo/kMX3m/odpqNcPfsz5O2A3NT7dXCAgWPGDQGPqygCpgeniKMw== -"@metamask/superstruct@^3.0.0": +"@metamask/superstruct@^3.0.0", "@metamask/superstruct@^3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@metamask/superstruct/-/superstruct-3.1.0.tgz#148f786a674fba3ac885c1093ab718515bf7f648" integrity sha512-N08M56HdOgBfRKkrgCMZvQppkZGcArEop3kixNEtVbJKm6P9Cfg0YkI6X0s1g78sNrj2fWUwvJADdZuzJgFttA== @@ -1013,6 +1013,21 @@ semver "^7.5.4" uuid "^9.0.1" +"@metamask/utils@^9.0.0": + version "9.0.0" + resolved "https://registry.yarnpkg.com/@metamask/utils/-/utils-9.0.0.tgz#cbcdf90e2cfc425f67731fc50d44bdf501daae36" + integrity sha512-Q/PzQCm6rkmePxHghXgJuYEkVfSvwKLLFZwFtfmLAz4mxIPuFJSMawaJM7sfZsVybK5Bf9QaKAjgMvHk5iGGvA== + dependencies: + "@ethereumjs/tx" "^4.2.0" + "@metamask/superstruct" "^3.1.0" + "@noble/hashes" "^1.3.1" + "@scure/base" "^1.1.3" + "@types/debug" "^4.1.7" + debug "^4.3.4" + pony-cause "^2.1.10" + semver "^7.5.4" + uuid "^9.0.1" + "@multiversx/sdk-bls-wasm@0.3.5": version "0.3.5" resolved "https://registry.yarnpkg.com/@multiversx/sdk-bls-wasm/-/sdk-bls-wasm-0.3.5.tgz#2e83308fdc7a0928c6d5a7f910d796fd8eb2d90b" @@ -2399,14 +2414,14 @@ tslib "1.14.1" "@wdio/cli@^8.33.1": - version "8.39.0" - resolved "https://registry.yarnpkg.com/@wdio/cli/-/cli-8.39.0.tgz#ec90dc267b711ef71f94620fac15a18785743a70" - integrity sha512-kAd+8TYjJWRN6gZaRGiSu6Yj3k4+ULRt2NWAgNtGhnr0/Rwlr3j9bjAIhXGL574VqrH+rSnrevDdeGuLcZa1xg== + version "8.39.1" + resolved "https://registry.yarnpkg.com/@wdio/cli/-/cli-8.39.1.tgz#6cff41ef28679ff10033b3f3582081a2f7b896aa" + integrity sha512-CUze/nbOMzgSEp+Qo27dnM5IhlOPAiBJCPX3xO85/kjweqqxmAB1QBKww1Mz9YlNIXineaHrkgqlUQIvEqOJdQ== dependencies: "@types/node" "^20.1.1" "@vitest/snapshot" "^1.2.1" "@wdio/config" "8.39.0" - "@wdio/globals" "8.39.0" + "@wdio/globals" "8.39.1" "@wdio/logger" "8.38.0" "@wdio/protocols" "8.38.0" "@wdio/types" "8.39.0" @@ -2425,7 +2440,7 @@ lodash.union "^4.6.0" read-pkg-up "10.0.0" recursive-readdir "^2.2.3" - webdriverio "8.39.0" + webdriverio "8.39.1" yargs "^17.7.2" "@wdio/concise-reporter@8.32.4": @@ -2451,23 +2466,23 @@ glob "^10.2.2" import-meta-resolve "^4.0.0" -"@wdio/globals@8.39.0", "@wdio/globals@^8.29.3": - version "8.39.0" - resolved "https://registry.yarnpkg.com/@wdio/globals/-/globals-8.39.0.tgz#12b51065bbbe84b922ff180395bbe042522811f3" - integrity sha512-qZo6JjRCIOtdvba6fdSqj6b91TnWXD6rmamyud93FTqbcspnhBvr8lmgOs5wnslTKeeTTigCjpsT310b4/AyHA== +"@wdio/globals@8.39.1", "@wdio/globals@^8.29.3": + version "8.39.1" + resolved "https://registry.yarnpkg.com/@wdio/globals/-/globals-8.39.1.tgz#97cedd90fdf84fdf37fc737ce2c7362f4c4dfc95" + integrity sha512-kNb1TlxI8Le/tsOiw7CMQcG0+ZGyxk9ZDO/PQLxkJvjo/q2QmiBcgaNMPuf+j1ABETcQK4bI7QtiT5uZ+f2AGA== optionalDependencies: expect-webdriverio "^4.11.2" - webdriverio "8.39.0" + webdriverio "8.39.1" "@wdio/local-runner@^8.32.4": - version "8.39.0" - resolved "https://registry.yarnpkg.com/@wdio/local-runner/-/local-runner-8.39.0.tgz#623368b2779f6d7e68b0be8426a86e6da7aaf144" - integrity sha512-TSGJVVWqshH7IO13OKw7G/364q3FczZDEh4h6bYe+GAs91KpZrEhZanyALgjh5F3crWtlffX+GA2HUwpi8X0sA== + version "8.39.1" + resolved "https://registry.yarnpkg.com/@wdio/local-runner/-/local-runner-8.39.1.tgz#007dc730ce37584baebb07d3488360a62676b2de" + integrity sha512-VYRD7pSkl5JTsYXroM65yb+vJVn9pFJf0XZMB7Xj+WVUqGXuVkZ+XybsQetUlhruXvHIsPdiFj12V1tMyaUHrQ== dependencies: "@types/node" "^20.1.0" "@wdio/logger" "8.38.0" "@wdio/repl" "8.24.12" - "@wdio/runner" "8.39.0" + "@wdio/runner" "8.39.1" "@wdio/types" "8.39.0" async-exit-hook "^2.0.1" split2 "^4.1.0" @@ -2539,14 +2554,14 @@ diff "^5.0.0" object-inspect "^1.12.0" -"@wdio/runner@8.39.0": - version "8.39.0" - resolved "https://registry.yarnpkg.com/@wdio/runner/-/runner-8.39.0.tgz#8b6ea6014e9bb063d16ecc92f5ce470bcaab7020" - integrity sha512-M1ixrrCtuwxHVzwsOKGMWBZCteafV0ztoS9+evMWGQtj0ZEsmhjAhWR3n2nZftt24vWOs+eNLGe2p+IO9Sm9bA== +"@wdio/runner@8.39.1": + version "8.39.1" + resolved "https://registry.yarnpkg.com/@wdio/runner/-/runner-8.39.1.tgz#3085734c793221b610a2330975f75b30de8a9923" + integrity sha512-hCGI+TSAyb14UtdDjswI5AAdW1CZMi6di+rDZ6ml43hQyHc6sw+74CXI8dwoJ29dcTzbg7QCJZZXV1qMn0kh2w== dependencies: "@types/node" "^20.11.28" "@wdio/config" "8.39.0" - "@wdio/globals" "8.39.0" + "@wdio/globals" "8.39.1" "@wdio/logger" "8.38.0" "@wdio/types" "8.39.0" "@wdio/utils" "8.39.0" @@ -2554,7 +2569,7 @@ expect-webdriverio "^4.12.0" gaze "^1.1.3" webdriver "8.39.0" - webdriverio "8.39.0" + webdriverio "8.39.1" "@wdio/spec-reporter@^8.32.4": version "8.39.0" @@ -9745,10 +9760,10 @@ webdriver@8.39.0: ky "^0.33.0" ws "^8.8.0" -webdriverio@8.39.0, webdriverio@^8.29.3: - version "8.39.0" - resolved "https://registry.yarnpkg.com/webdriverio/-/webdriverio-8.39.0.tgz#7b0dfc12058fcf574b0c0515cbdc026e9e6b1e53" - integrity sha512-pDpGu0V+TL1LkXPode67m3s+IPto4TcmcOzMpzFgu2oeLMBornoLN3yQSFR1fjZd1gK4UfnG3lJ4poTGOfbWfw== +webdriverio@8.39.1, webdriverio@^8.29.3: + version "8.39.1" + resolved "https://registry.yarnpkg.com/webdriverio/-/webdriverio-8.39.1.tgz#605af5a79a7805bd08a36d16d078e618360f8aa9" + integrity sha512-dPwLgLNtP+l4vnybz+YFxxH8nBKOP7j6VVzKtfDyTLDQg9rz3U8OA4xMMQCBucnrVXy3KcKxGqlnMa+c4IfWCQ== dependencies: "@types/node" "^20.1.0" "@wdio/config" "8.39.0" @@ -9963,9 +9978,9 @@ ws@^7.5.1: integrity sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ== ws@^8.11.0, ws@^8.8.0: - version "8.17.1" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b" - integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ== + version "8.18.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.0.tgz#0d7505a6eafe2b0e712d232b42279f53bc289bbc" + integrity sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw== ws@~8.11.0: version "8.11.0"