diff --git a/packages/approval-controller/package.json b/packages/approval-controller/package.json index ce76d3945b4..5531e610c1c 100644 --- a/packages/approval-controller/package.json +++ b/packages/approval-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/rpc-errors": "^6.3.1", + "@metamask/rpc-errors": "^7.0.0", "@metamask/utils": "^9.1.0", "nanoid": "^3.1.31" }, diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index e0463472891..3cd70be6081 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -59,7 +59,7 @@ "@metamask/eth-query": "^4.0.0", "@metamask/metamask-eth-abis": "^3.1.1", "@metamask/polling-controller": "^10.0.1", - "@metamask/rpc-errors": "^6.3.1", + "@metamask/rpc-errors": "^7.0.0", "@metamask/utils": "^9.1.0", "@types/bn.js": "^5.1.5", "@types/uuid": "^8.3.0", diff --git a/packages/eth-json-rpc-provider/src/safe-event-emitter-provider.test.ts b/packages/eth-json-rpc-provider/src/safe-event-emitter-provider.test.ts index 3503ed284b7..9bd35b38ef3 100644 --- a/packages/eth-json-rpc-provider/src/safe-event-emitter-provider.test.ts +++ b/packages/eth-json-rpc-provider/src/safe-event-emitter-provider.test.ts @@ -222,7 +222,7 @@ describe('SafeEventEmitterProvider', () => { ).rejects.toThrow( expect.objectContaining({ code: -32603, - message: 'Internal JSON-RPC error.', + message: 'Test error', data: { cause: expect.objectContaining({ stack: expect.stringContaining( diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index ecc336a8c38..1727834ace4 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -55,7 +55,7 @@ "@metamask/eth-json-rpc-provider": "^4.1.5", "@metamask/eth-query": "^4.0.0", "@metamask/json-rpc-engine": "^9.0.3", - "@metamask/rpc-errors": "^6.3.1", + "@metamask/rpc-errors": "^7.0.0", "@metamask/swappable-obj-proxy": "^2.2.0", "@metamask/utils": "^9.1.0", "async-mutex": "^0.5.0", diff --git a/packages/permission-controller/package.json b/packages/permission-controller/package.json index fb63c4c5dcd..bd6879237a9 100644 --- a/packages/permission-controller/package.json +++ b/packages/permission-controller/package.json @@ -50,7 +50,7 @@ "@metamask/base-controller": "^7.0.1", "@metamask/controller-utils": "^11.3.0", "@metamask/json-rpc-engine": "^9.0.3", - "@metamask/rpc-errors": "^6.3.1", + "@metamask/rpc-errors": "^7.0.0", "@metamask/utils": "^9.1.0", "@types/deep-freeze-strict": "^1.1.0", "deep-freeze-strict": "^1.1.1", diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index dc810319180..c33100ef9b7 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -50,7 +50,7 @@ "@metamask/base-controller": "^7.0.1", "@metamask/controller-utils": "^11.3.0", "@metamask/json-rpc-engine": "^9.0.3", - "@metamask/rpc-errors": "^6.3.1", + "@metamask/rpc-errors": "^7.0.0", "@metamask/swappable-obj-proxy": "^2.2.0", "@metamask/utils": "^9.1.0" }, diff --git a/packages/rate-limit-controller/package.json b/packages/rate-limit-controller/package.json index c6637344907..353d02cf9be 100644 --- a/packages/rate-limit-controller/package.json +++ b/packages/rate-limit-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/rpc-errors": "^6.3.1", + "@metamask/rpc-errors": "^7.0.0", "@metamask/utils": "^9.1.0" }, "devDependencies": { diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index e8dbad74b3f..cb48bf65aa3 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -58,7 +58,7 @@ "@metamask/eth-query": "^4.0.0", "@metamask/metamask-eth-abis": "^3.1.1", "@metamask/nonce-tracker": "^6.0.0", - "@metamask/rpc-errors": "^6.3.1", + "@metamask/rpc-errors": "^7.0.0", "@metamask/utils": "^9.1.0", "async-mutex": "^0.5.0", "bn.js": "^5.2.1", diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index e8228c2d810..871e6764e37 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -52,7 +52,7 @@ "@metamask/controller-utils": "^11.3.0", "@metamask/eth-query": "^4.0.0", "@metamask/polling-controller": "^10.0.1", - "@metamask/rpc-errors": "^6.3.1", + "@metamask/rpc-errors": "^7.0.0", "@metamask/superstruct": "^3.1.0", "@metamask/utils": "^9.1.0", "bn.js": "^5.2.1", diff --git a/yarn.lock b/yarn.lock index 90afd6d3738..6e20869d2e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2109,7 +2109,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/rpc-errors": "npm:^6.3.1" + "@metamask/rpc-errors": "npm:^7.0.0" "@metamask/utils": "npm:^9.1.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -2147,7 +2147,7 @@ __metadata: "@metamask/network-controller": "npm:^21.0.1" "@metamask/polling-controller": "npm:^10.0.1" "@metamask/preferences-controller": "npm:^13.0.3" - "@metamask/rpc-errors": "npm:^6.3.1" + "@metamask/rpc-errors": "npm:^7.0.0" "@metamask/utils": "npm:^9.1.0" "@types/bn.js": "npm:^5.1.5" "@types/jest": "npm:^27.4.1" @@ -3054,7 +3054,7 @@ __metadata: "@metamask/eth-json-rpc-provider": "npm:^4.1.5" "@metamask/eth-query": "npm:^4.0.0" "@metamask/json-rpc-engine": "npm:^9.0.3" - "@metamask/rpc-errors": "npm:^6.3.1" + "@metamask/rpc-errors": "npm:^7.0.0" "@metamask/swappable-obj-proxy": "npm:^2.2.0" "@metamask/utils": "npm:^9.1.0" "@types/jest": "npm:^27.4.1" @@ -3180,7 +3180,7 @@ __metadata: "@metamask/base-controller": "npm:^7.0.1" "@metamask/controller-utils": "npm:^11.3.0" "@metamask/json-rpc-engine": "npm:^9.0.3" - "@metamask/rpc-errors": "npm:^6.3.1" + "@metamask/rpc-errors": "npm:^7.0.0" "@metamask/utils": "npm:^9.1.0" "@types/deep-freeze-strict": "npm:^1.1.0" "@types/jest": "npm:^27.4.1" @@ -3365,7 +3365,7 @@ __metadata: "@metamask/controller-utils": "npm:^11.3.0" "@metamask/json-rpc-engine": "npm:^9.0.3" "@metamask/network-controller": "npm:^21.0.1" - "@metamask/rpc-errors": "npm:^6.3.1" + "@metamask/rpc-errors": "npm:^7.0.0" "@metamask/selected-network-controller": "npm:^18.0.1" "@metamask/swappable-obj-proxy": "npm:^2.2.0" "@metamask/utils": "npm:^9.1.0" @@ -3392,7 +3392,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/rpc-errors": "npm:^6.3.1" + "@metamask/rpc-errors": "npm:^7.0.0" "@metamask/utils": "npm:^9.1.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -3690,7 +3690,7 @@ __metadata: "@metamask/metamask-eth-abis": "npm:^3.1.1" "@metamask/network-controller": "npm:^21.0.1" "@metamask/nonce-tracker": "npm:^6.0.0" - "@metamask/rpc-errors": "npm:^6.3.1" + "@metamask/rpc-errors": "npm:^7.0.0" "@metamask/utils": "npm:^9.1.0" "@types/bn.js": "npm:^5.1.5" "@types/jest": "npm:^27.4.1" @@ -3732,7 +3732,7 @@ __metadata: "@metamask/keyring-controller": "npm:^17.2.2" "@metamask/network-controller": "npm:^21.0.1" "@metamask/polling-controller": "npm:^10.0.1" - "@metamask/rpc-errors": "npm:^6.3.1" + "@metamask/rpc-errors": "npm:^7.0.0" "@metamask/superstruct": "npm:^3.1.0" "@metamask/transaction-controller": "npm:^37.2.0" "@metamask/utils": "npm:^9.1.0"