diff --git a/package.json b/package.json index a92eeba5f85..41500ac89b3 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,8 @@ "micromatch": "4.0.8", "send": "0.19.0", "ethereumjs-util/**/secp256k1": "3.8.1", - "**/secp256k1": "4.0.4" + "**/secp256k1": "4.0.4", + "**/@metamask/rpc-errors": "7.0.1" }, "dependencies": { "@consensys/on-ramp-sdk": "1.28.5", @@ -176,7 +177,7 @@ "@metamask/react-native-payments": "^2.0.0", "@metamask/react-native-search-api": "1.0.1", "@metamask/react-native-webview": "^14.0.4", - "@metamask/rpc-errors": "^6.4.0", + "@metamask/rpc-errors": "^7.0.1", "@metamask/scure-bip39": "^2.1.0", "@metamask/sdk-communication-layer": "0.29.0-wallet", "@metamask/selected-network-controller": "^15.0.2", diff --git a/patches/@metamask+rpc-errors+6.4.0.patch b/patches/@metamask+rpc-errors+7.0.1.patch similarity index 100% rename from patches/@metamask+rpc-errors+6.4.0.patch rename to patches/@metamask+rpc-errors+7.0.1.patch diff --git a/yarn.lock b/yarn.lock index e78d681dea2..c8155c42a58 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5366,15 +5366,7 @@ escape-string-regexp "^4.0.0" invariant "2.2.4" -"@metamask/rpc-errors@^6.0.0", "@metamask/rpc-errors@^6.2.1", "@metamask/rpc-errors@^6.3.1", "@metamask/rpc-errors@^6.4.0": - version "6.4.0" - resolved "https://registry.yarnpkg.com/@metamask/rpc-errors/-/rpc-errors-6.4.0.tgz#a7ce01c06c9a347ab853e55818ac5654a73bd006" - integrity sha512-1ugFO1UoirU2esS3juZanS/Fo8C8XYocCuBpfZI5N7ECtoG+zu0wF+uWZASik6CkO6w9n/Iebt4iI4pT0vptpg== - dependencies: - "@metamask/utils" "^9.0.0" - fast-safe-stringify "^2.0.6" - -"@metamask/rpc-errors@^7.0.1": +"@metamask/rpc-errors@7.0.1", "@metamask/rpc-errors@^6.0.0", "@metamask/rpc-errors@^6.2.1", "@metamask/rpc-errors@^6.3.1", "@metamask/rpc-errors@^7.0.1": version "7.0.1" resolved "https://registry.yarnpkg.com/@metamask/rpc-errors/-/rpc-errors-7.0.1.tgz#0eb2231a1d5e6bb102df5ac07f365c695bf70055" integrity sha512-EeQGYioq845w2iBmiR9LHYqHhYIaeDTmxprHpPE3BTlkLB74P0xLv/TivOn4snNLowiC5ekOXfcUzCQszTDmSg==