Skip to content

Commit

Permalink
deps: @metamask/rpc-errors@^6.3.1->^7.0.0 (#4769)
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat authored Oct 21, 2024
1 parent 56efd1d commit c3ae77e
Show file tree
Hide file tree
Showing 11 changed files with 62 additions and 85 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@metamask/eslint-config-jest": "^12.1.0",
"@metamask/eslint-config-nodejs": "^12.1.0",
"@metamask/eslint-config-typescript": "^12.1.0",
"@metamask/eth-block-tracker": "^10.0.0",
"@metamask/eth-block-tracker": "^11.0.2",
"@metamask/eth-json-rpc-provider": "^4.1.5",
"@metamask/json-rpc-engine": "^10.0.0",
"@metamask/utils": "^9.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/approval-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/assets-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
10 changes: 5 additions & 5 deletions packages/network-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
"dependencies": {
"@metamask/base-controller": "^7.0.1",
"@metamask/controller-utils": "^11.3.0",
"@metamask/eth-block-tracker": "^10.0.0",
"@metamask/eth-json-rpc-infura": "^9.1.0",
"@metamask/eth-json-rpc-middleware": "^13.0.0",
"@metamask/eth-block-tracker": "^11.0.2",
"@metamask/eth-json-rpc-infura": "^10.0.0",
"@metamask/eth-json-rpc-middleware": "^15.0.0",
"@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/json-rpc-engine": "^10.0.0",
"@metamask/rpc-errors": "^7.0.0",
"@metamask/swappable-obj-proxy": "^2.2.0",
"@metamask/utils": "^9.1.0",
"async-mutex": "^0.5.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/permission-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"dependencies": {
"@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/json-rpc-engine": "^10.0.0",
"@metamask/rpc-errors": "^7.0.0",
"@metamask/utils": "^9.1.0",
"@types/deep-freeze-strict": "^1.1.0",
"deep-freeze-strict": "^1.1.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/queued-request-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"dependencies": {
"@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/json-rpc-engine": "^10.0.0",
"@metamask/rpc-errors": "^7.0.0",
"@metamask/swappable-obj-proxy": "^2.2.0",
"@metamask/utils": "^9.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/rate-limit-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/transaction-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/user-operation-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
115 changes: 46 additions & 69 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -2365,7 +2365,7 @@ __metadata:
"@metamask/eslint-config-jest": "npm:^12.1.0"
"@metamask/eslint-config-nodejs": "npm:^12.1.0"
"@metamask/eslint-config-typescript": "npm:^12.1.0"
"@metamask/eth-block-tracker": "npm:^10.0.0"
"@metamask/eth-block-tracker": "npm:^11.0.2"
"@metamask/eth-json-rpc-provider": "npm:^4.1.5"
"@metamask/json-rpc-engine": "npm:^10.0.0"
"@metamask/utils": "npm:^9.1.0"
Expand Down Expand Up @@ -2501,16 +2501,16 @@ __metadata:
languageName: node
linkType: hard

"@metamask/eth-block-tracker@npm:^10.0.0":
version: 10.0.0
resolution: "@metamask/eth-block-tracker@npm:10.0.0"
"@metamask/eth-block-tracker@npm:^11.0.1, @metamask/eth-block-tracker@npm:^11.0.2":
version: 11.0.2
resolution: "@metamask/eth-block-tracker@npm:11.0.2"
dependencies:
"@metamask/eth-json-rpc-provider": "npm:^4.0.0"
"@metamask/safe-event-emitter": "npm:^3.0.0"
"@metamask/utils": "npm:^8.1.0"
"@metamask/eth-json-rpc-provider": "npm:^4.1.5"
"@metamask/safe-event-emitter": "npm:^3.1.1"
"@metamask/utils": "npm:^9.1.0"
json-rpc-random-id: "npm:^1.0.1"
pify: "npm:^5.0.0"
checksum: 10/c035482544830d2b2d07db9a6b2002f387c2df2d25c0eb82a381a11de9efbf35f7b6e35fc868cc46424d1a13a75dde4c8146dbbc9d48155a0d882625b20cfca0
checksum: 10/11d22bd86056401aa41eff5a32e862f3644eaf03040d8aa54a95cb0c1dfd3e3ce7e650c25efabbe0954cc6ba5f92172c338b518df84f73c4601c4bbc960b588a
languageName: node
linkType: hard

Expand All @@ -2527,50 +2527,38 @@ __metadata:
languageName: node
linkType: hard

"@metamask/eth-json-rpc-infura@npm:^9.1.0":
version: 9.1.0
resolution: "@metamask/eth-json-rpc-infura@npm:9.1.0"
"@metamask/eth-json-rpc-infura@npm:^10.0.0":
version: 10.0.0
resolution: "@metamask/eth-json-rpc-infura@npm:10.0.0"
dependencies:
"@metamask/eth-json-rpc-provider": "npm:^2.1.0"
"@metamask/json-rpc-engine": "npm:^7.1.1"
"@metamask/rpc-errors": "npm:^6.0.0"
"@metamask/utils": "npm:^8.1.0"
node-fetch: "npm:^2.7.0"
checksum: 10/9e01b3eb76d3f1b4989ba368f11acb124eb846321020e2fba8c7ff77dc5258fa2df1556f40812d736d63ee159a944beab6a761a661f72e722badcb4f78b5f0f6
"@metamask/eth-json-rpc-provider": "npm:^4.1.5"
"@metamask/json-rpc-engine": "npm:^10.0.0"
"@metamask/rpc-errors": "npm:^7.0.0"
"@metamask/utils": "npm:^9.1.0"
checksum: 10/17e0147ff86c48107983035e9bda4d16fba321ee0e29733347e9338a4c795c506a2ffd643c44c9d5334886696412cf288f852d06311fed0d76edc8847ee6b8de
languageName: node
linkType: hard

"@metamask/eth-json-rpc-middleware@npm:^13.0.0":
version: 13.0.0
resolution: "@metamask/eth-json-rpc-middleware@npm:13.0.0"
"@metamask/eth-json-rpc-middleware@npm:^15.0.0":
version: 15.0.0
resolution: "@metamask/eth-json-rpc-middleware@npm:15.0.0"
dependencies:
"@metamask/eth-block-tracker": "npm:^10.0.0"
"@metamask/eth-json-rpc-provider": "npm:^4.0.0"
"@metamask/eth-sig-util": "npm:^7.0.0"
"@metamask/json-rpc-engine": "npm:^9.0.0"
"@metamask/rpc-errors": "npm:^6.0.0"
"@metamask/utils": "npm:^8.1.0"
"@metamask/eth-block-tracker": "npm:^11.0.1"
"@metamask/eth-json-rpc-provider": "npm:^4.1.5"
"@metamask/eth-sig-util": "npm:^7.0.3"
"@metamask/json-rpc-engine": "npm:^10.0.0"
"@metamask/rpc-errors": "npm:^7.0.0"
"@metamask/utils": "npm:^9.1.0"
"@types/bn.js": "npm:^5.1.5"
bn.js: "npm:^5.2.1"
klona: "npm:^2.0.6"
pify: "npm:^5.0.0"
safe-stable-stringify: "npm:^2.4.3"
checksum: 10/e2b38da46b15e7c3d75fc0a1191ff5e2a0161c847c415640024155bea635016a0c94a4bd352b5aa6aa7e95615cb45c030a0f1cbc90c2dca331de3f5306df3d3a
languageName: node
linkType: hard

"@metamask/eth-json-rpc-provider@npm:^2.1.0":
version: 2.3.2
resolution: "@metamask/eth-json-rpc-provider@npm:2.3.2"
dependencies:
"@metamask/json-rpc-engine": "npm:^7.3.2"
"@metamask/safe-event-emitter": "npm:^3.0.0"
"@metamask/utils": "npm:^8.3.0"
checksum: 10/e6731271aad3b972d85b9230c26d35a9b88722f3bd3024675ad2f568e634e9fdfef4717ef2892f3cc512d381cf17a4e20dbd5eb808ced765082bea3379ad6ddc
checksum: 10/3c48d34264c695535f2b4e819fb602d835b6ed37309116a06d04d1b706a7335e0205cd4ccdbf1d3e9dc15ebf40d88954a9a2dc18a91f223dcd6d6392e026a5e9
languageName: node
linkType: hard

"@metamask/eth-json-rpc-provider@npm:^4.0.0, @metamask/eth-json-rpc-provider@npm:^4.1.5, @metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider":
"@metamask/eth-json-rpc-provider@npm:^4.1.5, @metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider":
version: 0.0.0-use.local
resolution: "@metamask/eth-json-rpc-provider@workspace:packages/eth-json-rpc-provider"
dependencies:
Expand Down Expand Up @@ -2604,7 +2592,7 @@ __metadata:
languageName: node
linkType: hard

"@metamask/eth-sig-util@npm:^7.0.0, @metamask/eth-sig-util@npm:^7.0.1, @metamask/eth-sig-util@npm:^7.0.3":
"@metamask/eth-sig-util@npm:^7.0.1, @metamask/eth-sig-util@npm:^7.0.3":
version: 7.0.3
resolution: "@metamask/eth-sig-util@npm:7.0.3"
dependencies:
Expand Down Expand Up @@ -2864,18 +2852,7 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/json-rpc-engine@npm:^7.1.1, @metamask/json-rpc-engine@npm:^7.3.2":
version: 7.3.3
resolution: "@metamask/json-rpc-engine@npm:7.3.3"
dependencies:
"@metamask/rpc-errors": "npm:^6.2.1"
"@metamask/safe-event-emitter": "npm:^3.0.0"
"@metamask/utils": "npm:^8.3.0"
checksum: 10/116664c974c522d280335d9a02cba731e4f08562c2980415f7535513cd308c7e612e52618086996e5ac2b67db7f1e6ac1bd8201aba7825163db17a25f2874cc9
languageName: node
linkType: hard

"@metamask/json-rpc-engine@npm:^9.0.0, @metamask/json-rpc-engine@npm:^9.0.1, @metamask/json-rpc-engine@npm:^9.0.2, @metamask/json-rpc-engine@npm:^9.0.3":
"@metamask/json-rpc-engine@npm:^9.0.1, @metamask/json-rpc-engine@npm:^9.0.2":
version: 9.0.3
resolution: "@metamask/json-rpc-engine@npm:9.0.3"
dependencies:
Expand Down Expand Up @@ -3048,13 +3025,13 @@ __metadata:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^7.0.1"
"@metamask/controller-utils": "npm:^11.3.0"
"@metamask/eth-block-tracker": "npm:^10.0.0"
"@metamask/eth-json-rpc-infura": "npm:^9.1.0"
"@metamask/eth-json-rpc-middleware": "npm:^13.0.0"
"@metamask/eth-block-tracker": "npm:^11.0.2"
"@metamask/eth-json-rpc-infura": "npm:^10.0.0"
"@metamask/eth-json-rpc-middleware": "npm:^15.0.0"
"@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/json-rpc-engine": "npm:^10.0.0"
"@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"
Expand Down Expand Up @@ -3179,8 +3156,8 @@ __metadata:
"@metamask/auto-changelog": "npm:^3.4.4"
"@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/json-rpc-engine": "npm:^10.0.0"
"@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"
Expand Down Expand Up @@ -3363,9 +3340,9 @@ __metadata:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^7.0.1"
"@metamask/controller-utils": "npm:^11.3.0"
"@metamask/json-rpc-engine": "npm:^9.0.3"
"@metamask/json-rpc-engine": "npm:^10.0.0"
"@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.2"
"@metamask/swappable-obj-proxy": "npm:^2.2.0"
"@metamask/utils": "npm:^9.1.0"
Expand All @@ -3392,7 +3369,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"
Expand All @@ -3404,7 +3381,7 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/rpc-errors@npm:^6.0.0, @metamask/rpc-errors@npm:^6.2.1, @metamask/rpc-errors@npm:^6.3.1":
"@metamask/rpc-errors@npm:^6.3.1":
version: 6.3.1
resolution: "@metamask/rpc-errors@npm:6.3.1"
dependencies:
Expand Down Expand Up @@ -3690,7 +3667,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"
Expand Down Expand Up @@ -3732,7 +3709,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.3.0"
"@metamask/utils": "npm:^9.1.0"
Expand All @@ -3756,7 +3733,7 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/utils@npm:^8.1.0, @metamask/utils@npm:^8.2.0, @metamask/utils@npm:^8.3.0":
"@metamask/utils@npm:^8.2.0":
version: 8.5.0
resolution: "@metamask/utils@npm:8.5.0"
dependencies:
Expand Down Expand Up @@ -10066,7 +10043,7 @@ __metadata:
languageName: node
linkType: hard

"node-fetch@npm:^2.6.1, node-fetch@npm:^2.7.0":
"node-fetch@npm:^2.6.1":
version: 2.7.0
resolution: "node-fetch@npm:2.7.0"
dependencies:
Expand Down

0 comments on commit c3ae77e

Please sign in to comment.