diff --git a/.yarn/patches/@metamask-permission-controller-npm-8.0.0-c64306529d.patch b/.yarn/patches/@metamask-permission-controller-npm-8.0.0-c64306529d.patch deleted file mode 100644 index 38fb051de0..0000000000 --- a/.yarn/patches/@metamask-permission-controller-npm-8.0.0-c64306529d.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/dist/errors.d.ts b/dist/errors.d.ts -index 03c55f871a691de7b3f484c8984794cadde6b8a4..b21c15ae9066b5f0f92eafdc80e5d6309c8070b7 100644 ---- a/dist/errors.d.ts -+++ b/dist/errors.d.ts -@@ -19,7 +19,7 @@ export declare function unauthorized(opts: UnauthorizedArg): import("@metamask/r - * @param data - Optional data for context. - * @returns The built error - */ --export declare function methodNotFound(method: string, data?: DataWithOptionalCause): JsonRpcError; -+export declare function methodNotFound(method: string, data?: DataWithOptionalCause): JsonRpcError; - declare type InvalidParamsArg = { - message?: string; - data?: DataWithOptionalCause; diff --git a/package.json b/package.json index c4afd1313f..c27a60e510 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,6 @@ "@babel/core": "patch:@babel/core@npm%3A7.23.2#./.yarn/patches/@babel-core-npm-7.23.2-b93f586907.patch", "@esbuild-plugins/node-modules-polyfill@^0.2.2": "patch:@esbuild-plugins/node-modules-polyfill@npm%3A0.2.2#./.yarn/patches/@esbuild-plugins-node-modules-polyfill-npm-0.2.2-f612681798.patch", "@lavamoat/lavapack@^6.1.0": "patch:@lavamoat/lavapack@npm%3A6.1.0#./.yarn/patches/@lavamoat-lavapack-npm-6.1.0-69c81c1923.patch", - "@metamask/permission-controller@^8.0.0": "patch:@metamask/permission-controller@npm%3A8.0.0#./.yarn/patches/@metamask-permission-controller-npm-8.0.0-c64306529d.patch", "@puppeteer/browsers@1.4.6": "patch:@puppeteer/browsers@npm%3A1.7.0#./.yarn/patches/@puppeteer-browsers-npm-1.7.0-203cb4f44b.patch", "@puppeteer/browsers@^1.6.0": "patch:@puppeteer/browsers@npm%3A1.7.0#./.yarn/patches/@puppeteer-browsers-npm-1.7.0-203cb4f44b.patch", "@types/glob@*": "patch:@types/glob@npm%3A7.1.4#./.yarn/patches/@types-glob-npm-7.1.4-d45247eaa2.patch", diff --git a/packages/examples/packages/bip32/package.json b/packages/examples/packages/bip32/package.json index aa34773d48..f9db202fa9 100644 --- a/packages/examples/packages/bip32/package.json +++ b/packages/examples/packages/bip32/package.json @@ -31,7 +31,7 @@ }, "dependencies": { "@metamask/key-tree": "^9.0.0", - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^", "@metamask/utils": "^8.3.0", "@noble/ed25519": "^1.6.0", diff --git a/packages/examples/packages/bip44/package.json b/packages/examples/packages/bip44/package.json index 5dddd1decb..50ff301a61 100644 --- a/packages/examples/packages/bip44/package.json +++ b/packages/examples/packages/bip44/package.json @@ -31,7 +31,7 @@ }, "dependencies": { "@metamask/key-tree": "^9.0.0", - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^", "@metamask/utils": "^8.3.0", "@noble/bls12-381": "^1.2.0" diff --git a/packages/examples/packages/browserify-plugin/package.json b/packages/examples/packages/browserify-plugin/package.json index 5d4b33be23..410a817bd4 100644 --- a/packages/examples/packages/browserify-plugin/package.json +++ b/packages/examples/packages/browserify-plugin/package.json @@ -29,7 +29,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/examples/packages/browserify/package.json b/packages/examples/packages/browserify/package.json index 18f7c06395..ba06ddb7c6 100644 --- a/packages/examples/packages/browserify/package.json +++ b/packages/examples/packages/browserify/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/examples/packages/client-status/package.json b/packages/examples/packages/client-status/package.json index 7fcba52903..56e4f50294 100644 --- a/packages/examples/packages/client-status/package.json +++ b/packages/examples/packages/client-status/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/examples/packages/cronjobs/package.json b/packages/examples/packages/cronjobs/package.json index 406756181d..4c404aa5de 100644 --- a/packages/examples/packages/cronjobs/package.json +++ b/packages/examples/packages/cronjobs/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/examples/packages/dialogs/package.json b/packages/examples/packages/dialogs/package.json index 2c248b964b..88d3540891 100644 --- a/packages/examples/packages/dialogs/package.json +++ b/packages/examples/packages/dialogs/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/examples/packages/ethereum-provider/package.json b/packages/examples/packages/ethereum-provider/package.json index 9ad106d90c..a18d247f32 100644 --- a/packages/examples/packages/ethereum-provider/package.json +++ b/packages/examples/packages/ethereum-provider/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^", "@metamask/utils": "^8.3.0" }, diff --git a/packages/examples/packages/ethers-js/package.json b/packages/examples/packages/ethers-js/package.json index 8587ad43f9..dc073cd89c 100644 --- a/packages/examples/packages/ethers-js/package.json +++ b/packages/examples/packages/ethers-js/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^", "ethers": "^6.3.0" }, diff --git a/packages/examples/packages/get-entropy/package.json b/packages/examples/packages/get-entropy/package.json index ca6de2bfb8..6a69920d44 100644 --- a/packages/examples/packages/get-entropy/package.json +++ b/packages/examples/packages/get-entropy/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^", "@metamask/utils": "^8.3.0", "@noble/bls12-381": "^1.2.0" diff --git a/packages/examples/packages/get-file/package.json b/packages/examples/packages/get-file/package.json index 8accee2d48..69694c0794 100644 --- a/packages/examples/packages/get-file/package.json +++ b/packages/examples/packages/get-file/package.json @@ -31,7 +31,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/examples/packages/images/package.json b/packages/examples/packages/images/package.json index fdcdc8630f..a4c1085c00 100644 --- a/packages/examples/packages/images/package.json +++ b/packages/examples/packages/images/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^", "uqr": "^0.1.2" }, diff --git a/packages/examples/packages/interactive-ui/package.json b/packages/examples/packages/interactive-ui/package.json index d30d761eef..80db1e0774 100644 --- a/packages/examples/packages/interactive-ui/package.json +++ b/packages/examples/packages/interactive-ui/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^", "@metamask/utils": "^8.3.0" }, diff --git a/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json b/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json index c534d94ee3..154accb542 100644 --- a/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json +++ b/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json @@ -31,7 +31,7 @@ }, "dependencies": { "@metamask/key-tree": "^9.0.0", - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^", "@metamask/utils": "^8.3.0", "@noble/hashes": "^1.3.1" diff --git a/packages/examples/packages/invoke-snap/packages/core-signer/package.json b/packages/examples/packages/invoke-snap/packages/core-signer/package.json index df391fabe0..e2df2abff1 100644 --- a/packages/examples/packages/invoke-snap/packages/core-signer/package.json +++ b/packages/examples/packages/invoke-snap/packages/core-signer/package.json @@ -31,7 +31,7 @@ }, "dependencies": { "@metamask/key-tree": "^9.0.0", - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^", "@metamask/utils": "^8.3.0", "@noble/curves": "^1.1.0", diff --git a/packages/examples/packages/json-rpc/package.json b/packages/examples/packages/json-rpc/package.json index 1bc0af6e4f..80bdda8cd3 100644 --- a/packages/examples/packages/json-rpc/package.json +++ b/packages/examples/packages/json-rpc/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/examples/packages/localization/package.json b/packages/examples/packages/localization/package.json index fb0bfd5d41..defc819ccb 100644 --- a/packages/examples/packages/localization/package.json +++ b/packages/examples/packages/localization/package.json @@ -31,7 +31,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/examples/packages/manage-state/package.json b/packages/examples/packages/manage-state/package.json index 5b1dd986f0..73aea6bb47 100644 --- a/packages/examples/packages/manage-state/package.json +++ b/packages/examples/packages/manage-state/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/examples/packages/network-access/package.json b/packages/examples/packages/network-access/package.json index 5c949e82a2..fcbd1608a1 100644 --- a/packages/examples/packages/network-access/package.json +++ b/packages/examples/packages/network-access/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^", "@metamask/utils": "^8.3.0" }, diff --git a/packages/examples/packages/notifications/package.json b/packages/examples/packages/notifications/package.json index 4592cf45d1..c61cc375c4 100644 --- a/packages/examples/packages/notifications/package.json +++ b/packages/examples/packages/notifications/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/examples/packages/rollup-plugin/package.json b/packages/examples/packages/rollup-plugin/package.json index 4ee5697ff1..ad5164d216 100644 --- a/packages/examples/packages/rollup-plugin/package.json +++ b/packages/examples/packages/rollup-plugin/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/examples/packages/wasm/package.json b/packages/examples/packages/wasm/package.json index 1c7ab7442a..e1aa6b9bc1 100644 --- a/packages/examples/packages/wasm/package.json +++ b/packages/examples/packages/wasm/package.json @@ -31,7 +31,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/examples/packages/webpack-plugin/package.json b/packages/examples/packages/webpack-plugin/package.json index d8d635aa6d..f40fe80b07 100644 --- a/packages/examples/packages/webpack-plugin/package.json +++ b/packages/examples/packages/webpack-plugin/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^" }, "devDependencies": { diff --git a/packages/snaps-controllers/package.json b/packages/snaps-controllers/package.json index 0e59b5f5f1..5b4090cd0e 100644 --- a/packages/snaps-controllers/package.json +++ b/packages/snaps-controllers/package.json @@ -55,10 +55,10 @@ "@metamask/base-controller": "^4.1.0", "@metamask/json-rpc-engine": "^7.3.2", "@metamask/object-multiplex": "^2.0.0", - "@metamask/permission-controller": "^8.0.0", + "@metamask/permission-controller": "^8.0.1", "@metamask/phishing-controller": "^8.0.2", "@metamask/post-message-stream": "^8.0.0", - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-registry": "^3.0.0", "@metamask/snaps-rpc-methods": "workspace:^", "@metamask/snaps-sdk": "workspace:^", diff --git a/packages/snaps-execution-environments/package.json b/packages/snaps-execution-environments/package.json index 6967d432b8..117cf12876 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -55,7 +55,7 @@ "@metamask/object-multiplex": "^2.0.0", "@metamask/post-message-stream": "^8.0.0", "@metamask/providers": "^14.0.2", - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^", "@metamask/snaps-utils": "workspace:^", "@metamask/utils": "^8.3.0", diff --git a/packages/snaps-jest/package.json b/packages/snaps-jest/package.json index c29280c267..900be7a81e 100644 --- a/packages/snaps-jest/package.json +++ b/packages/snaps-jest/package.json @@ -45,7 +45,7 @@ "@metamask/json-rpc-engine": "^7.3.2", "@metamask/json-rpc-middleware-stream": "^6.0.2", "@metamask/key-tree": "^9.0.0", - "@metamask/permission-controller": "^8.0.0", + "@metamask/permission-controller": "^8.0.1", "@metamask/snaps-controllers": "workspace:^", "@metamask/snaps-execution-environments": "workspace:^", "@metamask/snaps-rpc-methods": "workspace:^", diff --git a/packages/snaps-rpc-methods/package.json b/packages/snaps-rpc-methods/package.json index 2efe692814..526c2b2eb4 100644 --- a/packages/snaps-rpc-methods/package.json +++ b/packages/snaps-rpc-methods/package.json @@ -40,8 +40,8 @@ }, "dependencies": { "@metamask/key-tree": "^9.0.0", - "@metamask/permission-controller": "^8.0.0", - "@metamask/rpc-errors": "^6.2.0", + "@metamask/permission-controller": "^8.0.1", + "@metamask/rpc-errors": "^6.2.1", "@metamask/snaps-sdk": "workspace:^", "@metamask/snaps-utils": "workspace:^", "@metamask/utils": "^8.3.0", diff --git a/packages/snaps-sdk/package.json b/packages/snaps-sdk/package.json index 5c4bc7ff0f..76108ed81a 100644 --- a/packages/snaps-sdk/package.json +++ b/packages/snaps-sdk/package.json @@ -40,7 +40,7 @@ "dependencies": { "@metamask/key-tree": "^9.0.0", "@metamask/providers": "^14.0.2", - "@metamask/rpc-errors": "^6.2.0", + "@metamask/rpc-errors": "^6.2.1", "@metamask/utils": "^8.3.0", "fast-xml-parser": "^4.3.4", "superstruct": "^1.0.3" diff --git a/packages/snaps-simulator/package.json b/packages/snaps-simulator/package.json index 057e00909d..2c3cbbef95 100644 --- a/packages/snaps-simulator/package.json +++ b/packages/snaps-simulator/package.json @@ -35,7 +35,7 @@ "@metamask/eth-json-rpc-middleware": "^12.1.0", "@metamask/json-rpc-engine": "^7.3.2", "@metamask/key-tree": "^9.0.0", - "@metamask/permission-controller": "^8.0.0", + "@metamask/permission-controller": "^8.0.1", "@metamask/snaps-controllers": "workspace:^", "@metamask/snaps-execution-environments": "workspace:^", "@metamask/snaps-rpc-methods": "workspace:^", diff --git a/packages/snaps-utils/package.json b/packages/snaps-utils/package.json index 7fb49a3d09..abf26e013a 100644 --- a/packages/snaps-utils/package.json +++ b/packages/snaps-utils/package.json @@ -54,8 +54,8 @@ "@babel/types": "^7.23.0", "@metamask/base-controller": "^4.1.0", "@metamask/key-tree": "^9.0.0", - "@metamask/permission-controller": "^8.0.0", - "@metamask/rpc-errors": "^6.2.0", + "@metamask/permission-controller": "^8.0.1", + "@metamask/rpc-errors": "^6.2.1", "@metamask/slip44": "^3.1.0", "@metamask/snaps-registry": "^3.0.0", "@metamask/snaps-sdk": "workspace:^", diff --git a/yarn.lock b/yarn.lock index 9e1f252a5b..4a24e1df1b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3886,7 +3886,7 @@ __metadata: "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/key-tree": ^9.0.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -3927,7 +3927,7 @@ __metadata: "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/key-tree": ^9.0.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -3976,7 +3976,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4014,7 +4014,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-browserify-plugin": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4053,7 +4053,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4092,7 +4092,7 @@ __metadata: "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/key-tree": ^9.0.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4120,18 +4120,18 @@ __metadata: languageName: unknown linkType: soft -"@metamask/controller-utils@npm:^8.0.2": - version: 8.0.2 - resolution: "@metamask/controller-utils@npm:8.0.2" +"@metamask/controller-utils@npm:^8.0.2, @metamask/controller-utils@npm:^8.0.3": + version: 8.0.3 + resolution: "@metamask/controller-utils@npm:8.0.3" dependencies: "@metamask/eth-query": ^4.0.0 - "@metamask/ethjs-unit": ^0.2.1 + "@metamask/ethjs-unit": ^0.3.0 "@metamask/utils": ^8.3.0 "@spruceid/siwe-parser": 1.1.3 eth-ens-namehash: ^2.0.8 ethereumjs-util: ^7.0.10 fast-deep-equal: ^3.1.3 - checksum: a6054376efcd515ef4fa9970b950c4436acdb8795e67c678c0a5616a4f43779f426721492827db59f5ac6e54b70ea1246247becda43dd14b1a45b7df5ec81e13 + checksum: a84e4c0d5f30022a3aa2fed0d59265be268f6d35662c88ef9243e213af7472d008304c648ae6b305388a61335345f6a27fcb6de9b91978ed2252e3c86f58119a languageName: node linkType: hard @@ -4147,7 +4147,7 @@ __metadata: "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/key-tree": ^9.0.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4256,7 +4256,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4294,7 +4294,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4480,7 +4480,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4518,7 +4518,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4547,13 +4547,15 @@ __metadata: languageName: unknown linkType: soft -"@metamask/ethjs-unit@npm:^0.2.1": - version: 0.2.1 - resolution: "@metamask/ethjs-unit@npm:0.2.1" +"@metamask/ethjs-unit@npm:^0.3.0": + version: 0.3.0 + resolution: "@metamask/ethjs-unit@npm:0.3.0" dependencies: - bn.js: 4.11.6 - number-to-bn: 1.7.0 - checksum: 0c8bbbe06000f647b46701fcf976e29b67c7362b3ae252d8d4fe2feb74f3988c1203eb03cc34bb899101f01812c8c300158d75bc721d649124c048e8b149b557 + "@metamask/number-to-bn": ^1.7.1 + bn.js: ^5.2.1 + peerDependencies: + "@babel/runtime": ^7.0.0 + checksum: 9eb4f894b24c43b7b14a9180cebb0603d4a07c1af583b0c4a36d58f24e202831bbdf98888666b4a3ea2e4d4a9fef4c6cc55d09379870b20b080ea5582764e622 languageName: node linkType: hard @@ -4596,7 +4598,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4635,7 +4637,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4708,7 +4710,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4783,7 +4785,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4861,7 +4863,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4960,7 +4962,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -4997,7 +4999,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -5070,7 +5072,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-controllers": "workspace:^" "@metamask/snaps-jest": "workspace:^" @@ -5109,7 +5111,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -5135,6 +5137,16 @@ __metadata: languageName: unknown linkType: soft +"@metamask/number-to-bn@npm:^1.7.1": + version: 1.7.1 + resolution: "@metamask/number-to-bn@npm:1.7.1" + dependencies: + bn.js: 5.2.1 + strip-hex-prefix: 1.0.0 + checksum: e3c198c7ab4783757b36413d67d917f5fd5cadd01ebd7d92ae1ab6cbb11f11bfe9fae89ed849f8d7b0120c3746c58d87e9950df167bd342f0a6e590590d4e0ce + languageName: node + linkType: hard + "@metamask/object-multiplex@npm:^2.0.0": version: 2.0.0 resolution: "@metamask/object-multiplex@npm:2.0.0" @@ -5145,33 +5157,14 @@ __metadata: languageName: node linkType: hard -"@metamask/permission-controller@npm:8.0.0": - version: 8.0.0 - resolution: "@metamask/permission-controller@npm:8.0.0" - dependencies: - "@metamask/base-controller": ^4.1.1 - "@metamask/controller-utils": ^8.0.2 - "@metamask/json-rpc-engine": ^7.3.2 - "@metamask/rpc-errors": ^6.1.0 - "@metamask/utils": ^8.3.0 - "@types/deep-freeze-strict": ^1.1.0 - deep-freeze-strict: ^1.1.1 - immer: ^9.0.6 - nanoid: ^3.1.31 - peerDependencies: - "@metamask/approval-controller": ^5.1.2 - checksum: edb12aa623ebc57e9021f3bcfc5898db0165f30a4af43f91d26c988caf5e3e02ab9e0d5ff68b9c323e26e314fd50dbb0825c8c0eaae132c7058e141e3b58693e - languageName: node - linkType: hard - -"@metamask/permission-controller@patch:@metamask/permission-controller@npm%3A8.0.0#./.yarn/patches/@metamask-permission-controller-npm-8.0.0-c64306529d.patch::locator=root%40workspace%3A.": - version: 8.0.0 - resolution: "@metamask/permission-controller@patch:@metamask/permission-controller@npm%3A8.0.0#./.yarn/patches/@metamask-permission-controller-npm-8.0.0-c64306529d.patch::version=8.0.0&hash=432336&locator=root%40workspace%3A." +"@metamask/permission-controller@npm:^8.0.1": + version: 8.0.1 + resolution: "@metamask/permission-controller@npm:8.0.1" dependencies: "@metamask/base-controller": ^4.1.1 - "@metamask/controller-utils": ^8.0.2 + "@metamask/controller-utils": ^8.0.3 "@metamask/json-rpc-engine": ^7.3.2 - "@metamask/rpc-errors": ^6.1.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/utils": ^8.3.0 "@types/deep-freeze-strict": ^1.1.0 deep-freeze-strict: ^1.1.1 @@ -5179,7 +5172,7 @@ __metadata: nanoid: ^3.1.31 peerDependencies: "@metamask/approval-controller": ^5.1.2 - checksum: b5e24aa9e3a80b88c231c03e6e644c80170098c8a5dec69ee900e6ba45f0b795a8b4e550b180de34c06a0aeba41c88f59cce4510d47ed5020c67c9bfdbf03fcc + checksum: a8d0b85c04cf5cbebd32bacaacba85be467796e543b123c6f4caac245e7c78541c93ca4dba2a0516d36607e819f0e8435b5f25fced531aa4debc4ed8fe5f1ba1 languageName: node linkType: hard @@ -5240,7 +5233,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-rollup-plugin": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -5271,13 +5264,13 @@ __metadata: languageName: unknown linkType: soft -"@metamask/rpc-errors@npm:^6.0.0, @metamask/rpc-errors@npm:^6.1.0, @metamask/rpc-errors@npm:^6.2.0": - version: 6.2.0 - resolution: "@metamask/rpc-errors@npm:6.2.0" +"@metamask/rpc-errors@npm:^6.0.0, @metamask/rpc-errors@npm:^6.1.0, @metamask/rpc-errors@npm:^6.2.1": + version: 6.2.1 + resolution: "@metamask/rpc-errors@npm:6.2.1" dependencies: "@metamask/utils": ^8.3.0 fast-safe-stringify: ^2.0.6 - checksum: 1db3065d3f391916ef958531f4e1101a9c3abd0794f446a8b938165bd6e2ddb706f174ad4fdd5a04bfe4eb6b2bb4dd638957cb9bc321f6835cb0431264327087 + checksum: a9223c3cb9ab05734ea0dda990597f90a7cdb143efa0c026b1a970f2094fe5fa3c341ed39b1e7623be13a96b98fb2c697ef51a2e2b87d8f048114841d35ee0a9 languageName: node linkType: hard @@ -5495,10 +5488,10 @@ __metadata: "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/json-rpc-engine": ^7.3.2 "@metamask/object-multiplex": ^2.0.0 - "@metamask/permission-controller": ^8.0.0 + "@metamask/permission-controller": ^8.0.1 "@metamask/phishing-controller": ^8.0.2 "@metamask/post-message-stream": ^8.0.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-registry": ^3.0.0 "@metamask/snaps-rpc-methods": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -5591,7 +5584,7 @@ __metadata: "@metamask/object-multiplex": ^2.0.0 "@metamask/post-message-stream": ^8.0.0 "@metamask/providers": ^14.0.2 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-sdk": "workspace:^" "@metamask/snaps-utils": "workspace:^" "@metamask/utils": ^8.3.0 @@ -5671,7 +5664,7 @@ __metadata: "@metamask/json-rpc-engine": ^7.3.2 "@metamask/json-rpc-middleware-stream": ^6.0.2 "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^8.0.0 + "@metamask/permission-controller": ^8.0.1 "@metamask/snaps-controllers": "workspace:^" "@metamask/snaps-execution-environments": "workspace:^" "@metamask/snaps-rpc-methods": "workspace:^" @@ -5776,8 +5769,8 @@ __metadata: "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/json-rpc-engine": ^7.3.2 "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^8.0.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/permission-controller": ^8.0.1 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-sdk": "workspace:^" "@metamask/snaps-utils": "workspace:^" "@metamask/utils": ^8.3.0 @@ -5820,7 +5813,7 @@ __metadata: "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/key-tree": ^9.0.0 "@metamask/providers": ^14.0.2 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/utils": ^8.3.0 "@swc/core": 1.3.78 "@types/jest": ^27.5.1 @@ -5871,7 +5864,7 @@ __metadata: "@metamask/eth-json-rpc-middleware": ^12.1.0 "@metamask/json-rpc-engine": ^7.3.2 "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^8.0.0 + "@metamask/permission-controller": ^8.0.1 "@metamask/snaps-controllers": "workspace:^" "@metamask/snaps-execution-environments": "workspace:^" "@metamask/snaps-rpc-methods": "workspace:^" @@ -5970,9 +5963,9 @@ __metadata: "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^8.0.0 + "@metamask/permission-controller": ^8.0.1 "@metamask/post-message-stream": ^8.0.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/slip44": ^3.1.0 "@metamask/snaps-registry": ^3.0.0 "@metamask/snaps-sdk": "workspace:^" @@ -6209,7 +6202,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-cli": "workspace:^" "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" @@ -6247,7 +6240,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/rpc-errors": ^6.2.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-jest": "workspace:^" "@metamask/snaps-sdk": "workspace:^" "@metamask/snaps-webpack-plugin": "workspace:^" @@ -9693,10 +9686,10 @@ __metadata: languageName: node linkType: hard -"bn.js@npm:4.11.6": - version: 4.11.6 - resolution: "bn.js@npm:4.11.6" - checksum: db23047bf06fdf9cf74401c8e76bca9f55313c81df382247d2c753868b368562e69171716b81b7038ada8860af18346fd4bcd1cf9d4963f923fe8e54e61cb58a +"bn.js@npm:5.2.1, bn.js@npm:^5.0.0, bn.js@npm:^5.1.2, bn.js@npm:^5.2.0, bn.js@npm:^5.2.1": + version: 5.2.1 + resolution: "bn.js@npm:5.2.1" + checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3 languageName: node linkType: hard @@ -9707,13 +9700,6 @@ __metadata: languageName: node linkType: hard -"bn.js@npm:^5.0.0, bn.js@npm:^5.1.2, bn.js@npm:^5.2.0, bn.js@npm:^5.2.1": - version: 5.2.1 - resolution: "bn.js@npm:5.2.1" - checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3 - languageName: node - linkType: hard - "body-parser@npm:1.20.1": version: 1.20.1 resolution: "body-parser@npm:1.20.1" @@ -18208,16 +18194,6 @@ __metadata: languageName: node linkType: hard -"number-to-bn@npm:1.7.0": - version: 1.7.0 - resolution: "number-to-bn@npm:1.7.0" - dependencies: - bn.js: 4.11.6 - strip-hex-prefix: 1.0.0 - checksum: 5b8c9dbe7b49dc7a069e5f0ba4e197257c89db11463478cb002fee7a34dc8868636952bd9f6310e5fdf22b266e0e6dffb5f9537c741734718107e90ae59b3de4 - languageName: node - linkType: hard - "nwsapi@npm:^2.2.2": version: 2.2.4 resolution: "nwsapi@npm:2.2.4"