From df14ce8a9485671cca1460f6a318bb3cfa494219 Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Thu, 14 Mar 2024 16:55:23 -0600 Subject: [PATCH] 'yarn build:types' works --- .depcheckrc.yml | 2 + package.json | 2 + packages/accounts-controller/package.json | 10 +- packages/assets-controllers/package.json | 5 +- .../src/TokensController.ts | 2 +- packages/assets-controllers/src/assetsUtil.ts | 2 +- packages/keyring-controller/package.json | 2 +- yarn.lock | 376 +++++++----------- 8 files changed, 169 insertions(+), 232 deletions(-) diff --git a/.depcheckrc.yml b/.depcheckrc.yml index 60c1aa5cd1..a7fae7d54b 100644 --- a/.depcheckrc.yml +++ b/.depcheckrc.yml @@ -12,9 +12,11 @@ ignores: - '@metamask/create-release-branch' - 'depcheck' - 'eslint-interactive' + - 'rimraf' - 'simple-git-hooks' - 'ts-node' - 'typedoc' + - 'which' # Ignore plugins implicitly imported by tools - 'jest-silent-reporter' - 'prettier-plugin-packagejson' diff --git a/package.json b/package.json index 23355f3c98..50d4a365ef 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "pre-push": "yarn lint" }, "resolutions": { + "@metamask/utils": "file:/Users/elliot/code/metamask/utils", "tsup@^8.0.2": "patch:tsup@npm%3A8.0.2#./.yarn/patches/tsup-npm-8.0.2-86e40f68a7.patch" }, "devDependencies": { @@ -82,6 +83,7 @@ "nock": "^13.3.1", "prettier": "^2.7.1", "prettier-plugin-packagejson": "^2.4.5", + "rimraf": "^5.0.5", "simple-git-hooks": "^2.8.0", "ts-node": "^10.9.1", "tsup": "^8.0.2", diff --git a/packages/accounts-controller/package.json b/packages/accounts-controller/package.json index 27c4d25cd8..06cdd802ef 100644 --- a/packages/accounts-controller/package.json +++ b/packages/accounts-controller/package.json @@ -43,10 +43,10 @@ "dependencies": { "@ethereumjs/util": "^8.1.0", "@metamask/base-controller": "^5.0.1", - "@metamask/eth-snap-keyring": "^2.1.1", - "@metamask/keyring-api": "^3.0.0", - "@metamask/snaps-sdk": "^1.3.2", - "@metamask/snaps-utils": "^5.1.2", + "@metamask/eth-snap-keyring": "^2.2.2", + "@metamask/keyring-api": "^4.0.2", + "@metamask/snaps-sdk": "^3.1.1", + "@metamask/snaps-utils": "^7.0.3", "@metamask/utils": "^8.3.0", "deepmerge": "^4.2.2", "ethereum-cryptography": "^2.1.2", @@ -56,7 +56,7 @@ "devDependencies": { "@metamask/auto-changelog": "^3.4.4", "@metamask/keyring-controller": "^14.0.1", - "@metamask/snaps-controllers": "^4.0.0", + "@metamask/snaps-controllers": "^6.0.3", "@types/jest": "^27.4.1", "@types/readable-stream": "^2.3.0", "jest": "^27.5.1", diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index 1c77fccc59..db032d1261 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -65,15 +65,16 @@ "async-mutex": "^0.2.6", "bn.js": "^5.2.1", "cockatiel": "^3.1.2", + "immer": "^9.0.6", "lodash": "^4.17.21", - "multiformats": "^9.5.2", + "multiformats": "^13.1.0", "single-call-balance-checker-abi": "^1.0.0", "uuid": "^8.3.2" }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", "@metamask/ethjs-provider-http": "^0.3.0", - "@metamask/keyring-api": "^3.0.0", + "@metamask/keyring-api": "^4.0.2", "@types/jest": "^27.4.1", "@types/lodash": "^4.14.191", "@types/node": "^16.18.54", diff --git a/packages/assets-controllers/src/TokensController.ts b/packages/assets-controllers/src/TokensController.ts index a96de9cd6c..0874f18cc7 100644 --- a/packages/assets-controllers/src/TokensController.ts +++ b/packages/assets-controllers/src/TokensController.ts @@ -31,7 +31,7 @@ import { rpcErrors } from '@metamask/rpc-errors'; import type { Hex } from '@metamask/utils'; import { Mutex } from 'async-mutex'; import { EventEmitter } from 'events'; -import type { Patch } from 'immer/dist/immer'; +import type { Patch } from 'immer'; import { v1 as random } from 'uuid'; import { formatAggregatorNames, formatIconUrlWithProxy } from './assetsUtil'; diff --git a/packages/assets-controllers/src/assetsUtil.ts b/packages/assets-controllers/src/assetsUtil.ts index f76b13ba2e..cc099d2a31 100644 --- a/packages/assets-controllers/src/assetsUtil.ts +++ b/packages/assets-controllers/src/assetsUtil.ts @@ -6,7 +6,7 @@ import { import type { Hex } from '@metamask/utils'; import { remove0x } from '@metamask/utils'; import BN from 'bn.js'; -import { CID } from 'multiformats/cid'; +import { CID } from 'multiformats'; import type { Nft, diff --git a/packages/keyring-controller/package.json b/packages/keyring-controller/package.json index f4e8358d9f..803500dc62 100644 --- a/packages/keyring-controller/package.json +++ b/packages/keyring-controller/package.json @@ -48,7 +48,7 @@ "@metamask/eth-hd-keyring": "^7.0.1", "@metamask/eth-sig-util": "^7.0.1", "@metamask/eth-simple-keyring": "^6.0.1", - "@metamask/keyring-api": "^3.0.0", + "@metamask/keyring-api": "^4.0.2", "@metamask/message-manager": "^8.0.1", "@metamask/utils": "^8.3.0", "async-mutex": "^0.2.6", diff --git a/yarn.lock b/yarn.lock index b309318dda..b27f66619a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -799,7 +799,7 @@ __metadata: languageName: node linkType: hard -"@ethereumjs/tx@npm:^4.0.2, @ethereumjs/tx@npm:^4.1.2, @ethereumjs/tx@npm:^4.2.0": +"@ethereumjs/tx@npm:^4.0.2, @ethereumjs/tx@npm:^4.2.0": version: 4.2.0 resolution: "@ethereumjs/tx@npm:4.2.0" dependencies: @@ -1645,12 +1645,12 @@ __metadata: "@ethereumjs/util": ^8.1.0 "@metamask/auto-changelog": ^3.4.4 "@metamask/base-controller": ^5.0.1 - "@metamask/eth-snap-keyring": ^2.1.1 - "@metamask/keyring-api": ^3.0.0 + "@metamask/eth-snap-keyring": ^2.2.2 + "@metamask/keyring-api": ^4.0.2 "@metamask/keyring-controller": ^14.0.1 - "@metamask/snaps-controllers": ^4.0.0 - "@metamask/snaps-sdk": ^1.3.2 - "@metamask/snaps-utils": ^5.1.2 + "@metamask/snaps-controllers": ^6.0.3 + "@metamask/snaps-sdk": ^3.1.1 + "@metamask/snaps-utils": ^7.0.3 "@metamask/utils": ^8.3.0 "@types/jest": ^27.4.1 "@types/readable-stream": ^2.3.0 @@ -1734,7 +1734,7 @@ __metadata: languageName: unknown linkType: soft -"@metamask/approval-controller@npm:^5.1.1": +"@metamask/approval-controller@npm:^5.1.3": version: 5.1.3 resolution: "@metamask/approval-controller@npm:5.1.3" dependencies: @@ -1764,7 +1764,7 @@ __metadata: "@metamask/controller-utils": ^9.0.1 "@metamask/eth-query": ^4.0.0 "@metamask/ethjs-provider-http": ^0.3.0 - "@metamask/keyring-api": ^3.0.0 + "@metamask/keyring-api": ^4.0.2 "@metamask/keyring-controller": ^14.0.1 "@metamask/metamask-eth-abis": 3.0.0 "@metamask/network-controller": ^18.0.1 @@ -1781,10 +1781,11 @@ __metadata: bn.js: ^5.2.1 cockatiel: ^3.1.2 deepmerge: ^4.2.2 + immer: ^9.0.6 jest: ^27.5.1 jest-environment-jsdom: ^27.5.1 lodash: ^4.17.21 - multiformats: ^9.5.2 + multiformats: ^13.1.0 nock: ^13.3.1 single-call-balance-checker-abi: ^1.0.0 sinon: ^9.2.4 @@ -1851,7 +1852,7 @@ __metadata: languageName: unknown linkType: soft -"@metamask/base-controller@npm:^4.0.0, @metamask/base-controller@npm:^4.0.1, @metamask/base-controller@npm:^4.1.0, @metamask/base-controller@npm:^4.1.1": +"@metamask/base-controller@npm:^4.1.0, @metamask/base-controller@npm:^4.1.1": version: 4.1.1 resolution: "@metamask/base-controller@npm:4.1.1" dependencies: @@ -1939,7 +1940,7 @@ __metadata: languageName: unknown linkType: soft -"@metamask/controller-utils@npm:^8.0.1, @metamask/controller-utils@npm:^8.0.2": +"@metamask/controller-utils@npm:^8.0.2, @metamask/controller-utils@npm:^8.0.3": version: 8.0.4 resolution: "@metamask/controller-utils@npm:8.0.4" dependencies: @@ -1994,6 +1995,7 @@ __metadata: nock: ^13.3.1 prettier: ^2.7.1 prettier-plugin-packagejson: ^2.4.5 + rimraf: ^5.0.5 simple-git-hooks: ^2.8.0 ts-node: ^10.9.1 tsup: ^8.0.2 @@ -2207,20 +2209,21 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-snap-keyring@npm:^2.1.1": - version: 2.1.1 - resolution: "@metamask/eth-snap-keyring@npm:2.1.1" +"@metamask/eth-snap-keyring@npm:^2.2.2": + version: 2.2.2 + resolution: "@metamask/eth-snap-keyring@npm:2.2.2" dependencies: "@ethereumjs/tx": ^4.2.0 - "@metamask/eth-sig-util": ^7.0.0 - "@metamask/keyring-api": ^2.0.0 - "@metamask/snaps-controllers": ^3.4.1 - "@metamask/snaps-sdk": ^1.2.0 - "@metamask/utils": ^8.1.0 + "@metamask/eth-sig-util": ^7.0.1 + "@metamask/keyring-api": ^4.0.2 + "@metamask/snaps-controllers": ^6.0.3 + "@metamask/snaps-sdk": ^3.1.1 + "@metamask/snaps-utils": ^7.0.3 + "@metamask/utils": ^8.3.0 "@types/uuid": ^9.0.1 superstruct: ^1.0.3 uuid: ^9.0.0 - checksum: 842feeb0e7d1b33e815fad81b0eeed32576d0a4ba4e7337e301795bb6f6103ff6d2af1b00fa05b61468b638aad6f01b979532dd93d9620de6bba2089e4b6ed22 + checksum: 10d60291d57b65d7001dbf86d96084b4692ec1e99f71deca356eebae3e38fb89cabdb18550fe9d151f5116264c520b9e22d0508a4ddc893716c246add546d5de languageName: node linkType: hard @@ -2374,7 +2377,7 @@ __metadata: languageName: unknown linkType: soft -"@metamask/json-rpc-engine@npm:^7.1.1, @metamask/json-rpc-engine@npm:^7.3.1, @metamask/json-rpc-engine@npm:^7.3.2": +"@metamask/json-rpc-engine@npm:^7.1.1, @metamask/json-rpc-engine@npm:^7.3.2, @metamask/json-rpc-engine@npm:^7.3.3": version: 7.3.3 resolution: "@metamask/json-rpc-engine@npm:7.3.3" dependencies: @@ -2385,6 +2388,18 @@ __metadata: languageName: node linkType: hard +"@metamask/json-rpc-middleware-stream@npm:^6.0.2": + version: 6.0.2 + resolution: "@metamask/json-rpc-middleware-stream@npm:6.0.2" + dependencies: + "@metamask/json-rpc-engine": ^7.3.2 + "@metamask/safe-event-emitter": ^3.0.0 + "@metamask/utils": ^8.3.0 + readable-stream: ^3.6.2 + checksum: e831041b03e9f48f584f4425188f72b58974f95b60429c9fe8b5561da69c6bbfad2f2b2199acdff06ee718967214b65c05604d4f85f3287186619683487f1060 + languageName: node + linkType: hard + "@metamask/json-rpc-middleware-stream@workspace:packages/json-rpc-middleware-stream": version: 0.0.0-use.local resolution: "@metamask/json-rpc-middleware-stream@workspace:packages/json-rpc-middleware-stream" @@ -2422,33 +2437,17 @@ __metadata: languageName: node linkType: hard -"@metamask/keyring-api@npm:^2.0.0": - version: 2.0.0 - resolution: "@metamask/keyring-api@npm:2.0.0" - dependencies: - "@metamask/providers": ^14.0.1 - "@metamask/snaps-controllers": ^3.4.1 - "@metamask/snaps-sdk": ^1.2.0 - "@metamask/snaps-utils": ^5.0.0 - "@metamask/utils": ^8.1.0 - "@types/uuid": ^9.0.1 - superstruct: ^1.0.3 - uuid: ^9.0.0 - checksum: ea7e02a6b6d37ec6983b00b5032f5bd12b55eae3a979ac8a3abaa84bb870fc5ae3702e09955a90ac6e683691c3fe1d2c13bc5720c491fdc2017acfcfac4a9250 - languageName: node - linkType: hard - -"@metamask/keyring-api@npm:^3.0.0": - version: 3.0.0 - resolution: "@metamask/keyring-api@npm:3.0.0" +"@metamask/keyring-api@npm:^4.0.2": + version: 4.0.2 + resolution: "@metamask/keyring-api@npm:4.0.2" dependencies: - "@metamask/providers": ^14.0.1 - "@metamask/snaps-sdk": ^1.3.2 - "@metamask/utils": ^8.1.0 + "@metamask/providers": ^15.0.0 + "@metamask/snaps-sdk": ^3.1.1 + "@metamask/utils": ^8.3.0 "@types/uuid": ^9.0.1 superstruct: ^1.0.3 uuid: ^9.0.0 - checksum: 5e3fdc122789d605681070aa6ed6c656d5c9bb1f037fd4bf1ed2ec5fa453a0fc8b9663ddfd2106c122889682e2ae1c8ddd16913798f24821b22899f743ce1a31 + checksum: 0e15d7d7d6e35c62f5ab9dcee834113d14ef1cee87682efbd05407eda74edc7c6c504769108274e3fc5077c32c41b00ba00dda2e262af58ee2ca2208eae02551 languageName: node linkType: hard @@ -2468,7 +2467,7 @@ __metadata: "@metamask/eth-hd-keyring": ^7.0.1 "@metamask/eth-sig-util": ^7.0.1 "@metamask/eth-simple-keyring": ^6.0.1 - "@metamask/keyring-api": ^3.0.0 + "@metamask/keyring-api": ^4.0.2 "@metamask/message-manager": ^8.0.1 "@metamask/scure-bip39": ^2.1.1 "@metamask/utils": ^8.3.0 @@ -2664,22 +2663,22 @@ __metadata: languageName: unknown linkType: soft -"@metamask/permission-controller@npm:^7.0.0, @metamask/permission-controller@npm:^7.1.0": - version: 7.1.0 - resolution: "@metamask/permission-controller@npm:7.1.0" +"@metamask/permission-controller@npm:^8.0.1": + version: 8.0.1 + resolution: "@metamask/permission-controller@npm:8.0.1" dependencies: - "@metamask/base-controller": ^4.0.1 - "@metamask/controller-utils": ^8.0.1 - "@metamask/json-rpc-engine": ^7.3.1 - "@metamask/rpc-errors": ^6.1.0 - "@metamask/utils": ^8.2.0 + "@metamask/base-controller": ^4.1.1 + "@metamask/controller-utils": ^8.0.3 + "@metamask/json-rpc-engine": ^7.3.2 + "@metamask/rpc-errors": ^6.2.1 + "@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.1 - checksum: 889213cca32cbf5b32b7e71c70ded0aeea32eae169ec67fb0d0bc8dcaa183b222f9d5417f657e331d7fb21ecb71f250cf1c932110d4b1e2167972b30bd012098 + "@metamask/approval-controller": ^5.1.2 + checksum: a8d0b85c04cf5cbebd32bacaacba85be467796e543b123c6f4caac245e7c78541c93ca4dba2a0516d36607e819f0e8435b5f25fced531aa4debc4ed8fe5f1ba1 languageName: node linkType: hard @@ -2704,7 +2703,7 @@ __metadata: languageName: unknown linkType: soft -"@metamask/phishing-controller@npm:^8.0.1": +"@metamask/phishing-controller@npm:^8.0.2": version: 8.0.2 resolution: "@metamask/phishing-controller@npm:8.0.2" dependencies: @@ -2764,13 +2763,13 @@ __metadata: languageName: unknown linkType: soft -"@metamask/post-message-stream@npm:^7.0.0": - version: 7.0.0 - resolution: "@metamask/post-message-stream@npm:7.0.0" +"@metamask/post-message-stream@npm:^8.0.0": + version: 8.0.0 + resolution: "@metamask/post-message-stream@npm:8.0.0" dependencies: - "@metamask/utils": ^5.0.0 + "@metamask/utils": ^8.1.0 readable-stream: 3.6.2 - checksum: a922874f00870e0c666216e592dff6c508e926fae122646d2792c9a7fac4f73323c65046a1eb9dc48a4b0e7de3bbcf753f5ad470688ed4ba2298b4d3a9b39c7d + checksum: 3016d8d5f8a5954fd146ce06c0b5fd7a9a070b43284e2bad140e179ee259146b666d56e6dbefa0277f56fbb67806970c9de3067c75f0e56886d0752e7c0f5e22 languageName: node linkType: hard @@ -2795,23 +2794,23 @@ __metadata: languageName: unknown linkType: soft -"@metamask/providers@npm:^14.0.1, @metamask/providers@npm:^14.0.2": - version: 14.0.2 - resolution: "@metamask/providers@npm:14.0.2" +"@metamask/providers@npm:^15.0.0": + version: 15.0.0 + resolution: "@metamask/providers@npm:15.0.0" dependencies: - "@metamask/json-rpc-engine": ^7.1.1 + "@metamask/json-rpc-engine": ^7.3.2 + "@metamask/json-rpc-middleware-stream": ^6.0.2 "@metamask/object-multiplex": ^2.0.0 - "@metamask/rpc-errors": ^6.0.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/safe-event-emitter": ^3.0.0 - "@metamask/utils": ^8.1.0 + "@metamask/utils": ^8.3.0 detect-browser: ^5.2.0 extension-port-stream: ^3.0.0 fast-deep-equal: ^3.1.3 is-stream: ^2.0.0 - json-rpc-middleware-stream: ^5.0.1 readable-stream: ^3.6.2 webextension-polyfill: ^0.10.0 - checksum: 4111e4f9eae53b461a5318e2bdc90189837bc781a89a3904670a2449dfd3f2985b89183655f39ab4c63e6162d7c9ffd10d8a16335f2351ba2bb32365acd454f7 + checksum: 42571450e79d69d943384f557f6a61e0f73101d49804fb6e8075d791959f76c42b8ff626f711d434674792d77aead6cb8a32b04a3dcd53598c8aff24cbb1ad25 languageName: node linkType: hard @@ -2863,7 +2862,7 @@ __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.1": +"@metamask/rpc-errors@npm:^6.0.0, @metamask/rpc-errors@npm:^6.2.1": version: 6.2.1 resolution: "@metamask/rpc-errors@npm:6.2.1" dependencies: @@ -2960,58 +2959,22 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-controllers@npm:^3.4.1": - version: 3.6.0 - resolution: "@metamask/snaps-controllers@npm:3.6.0" - dependencies: - "@metamask/approval-controller": ^5.1.1 - "@metamask/base-controller": ^4.0.0 - "@metamask/json-rpc-engine": ^7.3.1 - "@metamask/object-multiplex": ^2.0.0 - "@metamask/permission-controller": ^7.0.0 - "@metamask/phishing-controller": ^8.0.1 - "@metamask/post-message-stream": ^7.0.0 - "@metamask/rpc-errors": ^6.1.0 - "@metamask/snaps-registry": ^3.0.0 - "@metamask/snaps-rpc-methods": ^4.1.0 - "@metamask/snaps-sdk": ^1.3.1 - "@metamask/snaps-utils": ^5.1.1 - "@metamask/utils": ^8.2.1 - "@xstate/fsm": ^2.0.0 - browserify-zlib: ^0.2.0 - concat-stream: ^2.0.0 - get-npm-tarball-url: ^2.0.3 - immer: ^9.0.6 - json-rpc-middleware-stream: ^5.0.0 - nanoid: ^3.1.31 - readable-stream: ^3.6.2 - readable-web-to-node-stream: ^3.0.2 - tar-stream: ^3.1.6 - peerDependencies: - "@metamask/snaps-execution-environments": ^3.4.3 - peerDependenciesMeta: - "@metamask/snaps-execution-environments": - optional: true - checksum: 5eddb49976ccb6d0d734f009d624ab646aad1f79a2124364edc9ec72f3a4bc96d66eae219022047f35d170cad7775391c0737bcc93f0e9a153046be26bfc864b - languageName: node - linkType: hard - -"@metamask/snaps-controllers@npm:^4.0.0": - version: 4.1.0 - resolution: "@metamask/snaps-controllers@npm:4.1.0" +"@metamask/snaps-controllers@npm:^6.0.3": + version: 6.0.3 + resolution: "@metamask/snaps-controllers@npm:6.0.3" dependencies: - "@metamask/approval-controller": ^5.1.1 + "@metamask/approval-controller": ^5.1.3 "@metamask/base-controller": ^4.1.0 - "@metamask/json-rpc-engine": ^7.3.1 + "@metamask/json-rpc-engine": ^7.3.3 "@metamask/object-multiplex": ^2.0.0 - "@metamask/permission-controller": ^7.1.0 - "@metamask/phishing-controller": ^8.0.1 - "@metamask/post-message-stream": ^7.0.0 - "@metamask/rpc-errors": ^6.1.0 - "@metamask/snaps-registry": ^3.0.0 - "@metamask/snaps-rpc-methods": ^5.0.0 - "@metamask/snaps-sdk": ^1.4.0 - "@metamask/snaps-utils": ^5.2.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.1 + "@metamask/snaps-registry": ^3.0.1 + "@metamask/snaps-rpc-methods": ^7.0.1 + "@metamask/snaps-sdk": ^3.1.1 + "@metamask/snaps-utils": ^7.0.3 "@metamask/utils": ^8.3.0 "@xstate/fsm": ^2.0.0 browserify-zlib: ^0.2.0 @@ -3022,87 +2985,71 @@ __metadata: nanoid: ^3.1.31 readable-stream: ^3.6.2 readable-web-to-node-stream: ^3.0.2 - tar-stream: ^3.1.6 + tar-stream: ^3.1.7 peerDependencies: - "@metamask/snaps-execution-environments": ^3.5.0 + "@metamask/snaps-execution-environments": ^5.0.3 peerDependenciesMeta: "@metamask/snaps-execution-environments": optional: true - checksum: 73510dbcf1a547c1a5bfd07c47e817b802dc95de6ab4d608e3e99ae02119de6be0f7a0c41a351b48587f1b3c39ada86b09643bc44cf57d2cf3ceabd041ab05c3 + checksum: 85c4100b1f2d83252d6d5e04b09f4a53f001195a566ccf78c8667dcf45d29c4d664637babf3352cb080b161659fabaa7c3a28100788556a6a2ff8f61e278b05c languageName: node linkType: hard -"@metamask/snaps-registry@npm:^3.0.0": - version: 3.0.0 - resolution: "@metamask/snaps-registry@npm:3.0.0" +"@metamask/snaps-registry@npm:^3.0.1": + version: 3.0.1 + resolution: "@metamask/snaps-registry@npm:3.0.1" dependencies: - "@metamask/utils": ^8.1.0 + "@metamask/utils": ^8.3.0 "@noble/curves": ^1.2.0 "@noble/hashes": ^1.3.2 superstruct: ^1.0.3 - checksum: d816190ee4f345f04b1dcdbbee48fc7153c12192e2deca16f7947c9f3ee437dddc286fd66c21cdf02d18798c4df799bbc377bc839c11a419226aa00b95b645b0 + checksum: 80d47e336597491d927a39a1679bae2023a1e8af93b62bbf8c8c254e0dfbc601da949fe6d8d88befa7c6cd86e9b72f06d5a39b965952c58b0eb082b54b4740ee languageName: node linkType: hard -"@metamask/snaps-rpc-methods@npm:^4.1.0": - version: 4.1.0 - resolution: "@metamask/snaps-rpc-methods@npm:4.1.0" - dependencies: - "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^7.0.0 - "@metamask/rpc-errors": ^6.1.0 - "@metamask/snaps-sdk": ^1.3.1 - "@metamask/snaps-utils": ^5.1.1 - "@metamask/utils": ^8.2.1 - "@noble/hashes": ^1.3.1 - superstruct: ^1.0.3 - checksum: c782ba0e2dd0d9a81e2e8e1c1eb56918972f3acde8699954f422cc545a1f84a7aac8b314c1068ec71646c81dacdc65278e3c6780ad14d6be3aae8011b2d12fe5 - languageName: node - linkType: hard - -"@metamask/snaps-rpc-methods@npm:^5.0.0": - version: 5.0.0 - resolution: "@metamask/snaps-rpc-methods@npm:5.0.0" +"@metamask/snaps-rpc-methods@npm:^7.0.1": + version: 7.0.1 + resolution: "@metamask/snaps-rpc-methods@npm:7.0.1" dependencies: "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^7.1.0 - "@metamask/rpc-errors": ^6.1.0 - "@metamask/snaps-sdk": ^1.4.0 - "@metamask/snaps-utils": ^5.2.0 + "@metamask/permission-controller": ^8.0.1 + "@metamask/rpc-errors": ^6.2.1 + "@metamask/snaps-sdk": ^3.0.1 + "@metamask/snaps-utils": ^7.0.1 "@metamask/utils": ^8.3.0 "@noble/hashes": ^1.3.1 superstruct: ^1.0.3 - checksum: 93c27468020cee472750b522c93afb284a34551abfe8fa8ac52c31065750ac162f260686025aa88e7a5ece91265a136bf64d06be36e37566569296b7070e0a9a + checksum: 19309ef234cc5cb47c941b4e3bf03df9fc6335ea9aad0b9931bcd63480f63b6d12a10d8d438df3660fe9c6f9b153b9d109a5dabd4576dc68019640b6336f7357 languageName: node linkType: hard -"@metamask/snaps-sdk@npm:^1.2.0, @metamask/snaps-sdk@npm:^1.3.1, @metamask/snaps-sdk@npm:^1.3.2, @metamask/snaps-sdk@npm:^1.4.0": - version: 1.4.0 - resolution: "@metamask/snaps-sdk@npm:1.4.0" +"@metamask/snaps-sdk@npm:^3.0.1, @metamask/snaps-sdk@npm:^3.1.1": + version: 3.1.1 + resolution: "@metamask/snaps-sdk@npm:3.1.1" dependencies: "@metamask/key-tree": ^9.0.0 - "@metamask/providers": ^14.0.2 - "@metamask/rpc-errors": ^6.1.0 + "@metamask/providers": ^15.0.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/utils": ^8.3.0 - is-svg: ^4.4.0 + fast-xml-parser: ^4.3.4 superstruct: ^1.0.3 - checksum: faf3505add1d719bd9640beb5e67a84ed858198b06330d67d675a06e8b1e66250afc097b1a4c3af23bc8fc01bbc899af963bc056a4aafd09780ca59e1bb51917 + checksum: dbedd7c331bbe7900f7fec96a43bf90ec8637db8ae30b181d6a9f53ed5b14e8b48d7ffe83f5821d97a93530e91f0e0262731e48938c872cb000eb5ad45382d68 languageName: node linkType: hard -"@metamask/snaps-utils@npm:^5.0.0, @metamask/snaps-utils@npm:^5.1.1, @metamask/snaps-utils@npm:^5.1.2, @metamask/snaps-utils@npm:^5.2.0": - version: 5.2.0 - resolution: "@metamask/snaps-utils@npm:5.2.0" +"@metamask/snaps-utils@npm:^7.0.1, @metamask/snaps-utils@npm:^7.0.3": + version: 7.0.3 + resolution: "@metamask/snaps-utils@npm:7.0.3" dependencies: "@babel/core": ^7.23.2 "@babel/types": ^7.23.0 "@metamask/base-controller": ^4.1.0 "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^7.1.0 - "@metamask/rpc-errors": ^6.1.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": ^1.4.0 + "@metamask/snaps-registry": ^3.0.1 + "@metamask/snaps-sdk": ^3.1.1 "@metamask/utils": ^8.3.0 "@noble/hashes": ^1.3.1 "@scure/base": ^1.1.1 @@ -3110,13 +3057,13 @@ __metadata: cron-parser: ^4.5.0 fast-deep-equal: ^3.1.3 fast-json-stable-stringify: ^2.1.0 - is-svg: ^4.4.0 + marked: ^12.0.1 rfdc: ^1.3.0 semver: ^7.5.4 ses: ^1.1.0 superstruct: ^1.0.3 validate-npm-package-name: ^5.0.0 - checksum: 33aab97f4f4b56123b3a74f264f6480950ff7580c8828604dd20f004f69a09608f98fffcf9cb105fd833e8b20a717a67ec7b7fdf59f78a5a8e7841a8383f16c6 + checksum: 3aef2d59fa332aa4edfc2dd0580bd35c6e07888835259bccb4472379215fb106f8dcc070b3483912e3df4053d2ca0fac262885b5a3794d799dcf78137ac0bec4 languageName: node linkType: hard @@ -3212,36 +3159,9 @@ __metadata: languageName: unknown linkType: soft -"@metamask/utils@npm:^5.0.0": - version: 5.0.2 - resolution: "@metamask/utils@npm:5.0.2" - dependencies: - "@ethereumjs/tx": ^4.1.2 - "@types/debug": ^4.1.7 - debug: ^4.3.4 - semver: ^7.3.8 - superstruct: ^1.0.3 - checksum: eca82e42911b2840deb4f32f0f215c5ffd14d22d68afbbe92d3180e920e509e310777b15eab29def3448f3535b66596ceb4c23666ec846adacc8e1bb093ff882 - languageName: node - linkType: hard - -"@metamask/utils@npm:^6.0.1": - version: 6.2.0 - resolution: "@metamask/utils@npm:6.2.0" - dependencies: - "@ethereumjs/tx": ^4.1.2 - "@noble/hashes": ^1.3.1 - "@types/debug": ^4.1.7 - debug: ^4.3.4 - semver: ^7.3.8 - superstruct: ^1.0.3 - checksum: 0bc675358ecc09b3bc04da613d73666295d7afa51ff6b8554801585966900b24b8545bd93b8b2e9a17db867ebe421fe884baf3558ec4ca3199fa65504f677c1b - languageName: node - linkType: hard - -"@metamask/utils@npm:^8.0.0, @metamask/utils@npm:^8.1.0, @metamask/utils@npm:^8.2.0, @metamask/utils@npm:^8.2.1, @metamask/utils@npm:^8.3.0": - version: 8.3.0 - resolution: "@metamask/utils@npm:8.3.0" +"@metamask/utils@file:/Users/elliot/code/metamask/utils::locator=%40metamask%2Fcore-monorepo%40workspace%3A.": + version: 8.4.0 + resolution: "@metamask/utils@file:/Users/elliot/code/metamask/utils#/Users/elliot/code/metamask/utils::hash=8e0419&locator=%40metamask%2Fcore-monorepo%40workspace%3A." dependencies: "@ethereumjs/tx": ^4.2.0 "@noble/hashes": ^1.3.1 @@ -3251,7 +3171,8 @@ __metadata: pony-cause: ^2.1.10 semver: ^7.5.4 superstruct: ^1.0.3 - checksum: cd60c49b4c0397fb31e6b38937a0d9346cbb8337cb8add59db8db0e0e2156fb063ff4df93a26410157f0cc02aa9a9b785fc1b53cfc4ab73204462893ed11cacb + uuid: ^9.0.1 + checksum: c02a8ae0bdd920c48a4ce6f92fa6add01664a7e01bc8a50fd03e1f831f9f398cf27a3d5d5106f310377b3e3e501fab3281c2d7f17d34f691b39eca2f548a7082 languageName: node linkType: hard @@ -6736,14 +6657,14 @@ __metadata: languageName: node linkType: hard -"fast-xml-parser@npm:^4.1.3": - version: 4.2.7 - resolution: "fast-xml-parser@npm:4.2.7" +"fast-xml-parser@npm:^4.3.4": + version: 4.3.5 + resolution: "fast-xml-parser@npm:4.3.5" dependencies: strnum: ^1.0.5 bin: fxparser: src/cli/cli.js - checksum: d8b0c9e04756f6c43fa0399428f30149acadae21350e42e26e8fe98e24e6afa6b9b00aa554453795036b00e9fee974a1b556fe2ba18be391d51a9bf1ab790e7c + checksum: 852064985ca56aa2078be02c92509a675408b57bb9862f696689301bf7df786f9ce9116b812b032c627979a4de5755f9cbfeecc4b90ed9d56be76deccd97c0c6 languageName: node linkType: hard @@ -7048,7 +6969,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.2.2, glob@npm:^10.3.10": +"glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7": version: 10.3.10 resolution: "glob@npm:10.3.10" dependencies: @@ -7833,15 +7754,6 @@ __metadata: languageName: node linkType: hard -"is-svg@npm:^4.4.0": - version: 4.4.0 - resolution: "is-svg@npm:4.4.0" - dependencies: - fast-xml-parser: ^4.1.3 - checksum: cd5a0ba1af653e4897721913b0b80de968fa5b19eb1a592412f4672d3a1203935d183c2a9dbf61d68023739ee43d3761ea795ae1a9f618c6098a9e89eacdd256 - languageName: node - linkType: hard - "is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": version: 1.0.4 resolution: "is-symbol@npm:1.0.4" @@ -8755,7 +8667,7 @@ __metadata: languageName: node linkType: hard -"json-rpc-middleware-stream@npm:^5.0.0, json-rpc-middleware-stream@npm:^5.0.1": +"json-rpc-middleware-stream@npm:^5.0.0": version: 5.0.1 resolution: "json-rpc-middleware-stream@npm:5.0.1" dependencies: @@ -9078,6 +8990,15 @@ __metadata: languageName: node linkType: hard +"marked@npm:^12.0.1": + version: 12.0.1 + resolution: "marked@npm:12.0.1" + bin: + marked: bin/marked.js + checksum: 35ebc6c4612fcc028a1cd6419321e336be5b29d3feb68dfd5aaa7fcddb399c7873cd3291d60daf342db3eede747757e4e18515f349f0ee7b84ec24254f3a4190 + languageName: node + linkType: hard + "marked@npm:^4.3.0": version: 4.3.0 resolution: "marked@npm:4.3.0" @@ -9321,10 +9242,10 @@ __metadata: languageName: node linkType: hard -"multiformats@npm:^9.5.2": - version: 9.9.0 - resolution: "multiformats@npm:9.9.0" - checksum: d3e8c1be400c09a014f557ea02251a2710dbc9fca5aa32cc702ff29f636c5471e17979f30bdcb0a9cbb556f162a8591dc2e1219c24fc21394a56115b820bb84e +"multiformats@npm:^13.1.0": + version: 13.1.0 + resolution: "multiformats@npm:13.1.0" + checksum: b970e3622a80192a4df8c23378c4854520df8b2d17db773ac8b77c19750019e1c9813cc05e12b0e3b0d03599ff5d073681e847d43b4b273efca5aabbb28eb0e0 languageName: node linkType: hard @@ -10422,6 +10343,17 @@ __metadata: languageName: node linkType: hard +"rimraf@npm:^5.0.5": + version: 5.0.5 + resolution: "rimraf@npm:5.0.5" + dependencies: + glob: ^10.3.7 + bin: + rimraf: dist/esm/bin.mjs + checksum: d66eef829b2e23b16445f34e73d75c7b7cf4cbc8834b04720def1c8f298eb0753c3d76df77325fad79d0a2c60470525d95f89c2475283ad985fd7441c32732d1 + languageName: node + linkType: hard + "ripemd160@npm:^2.0.0, ripemd160@npm:^2.0.1, ripemd160@npm:^2.0.2": version: 2.0.2 resolution: "ripemd160@npm:2.0.2" @@ -11226,14 +11158,14 @@ __metadata: languageName: node linkType: hard -"tar-stream@npm:^3.1.6": - version: 3.1.6 - resolution: "tar-stream@npm:3.1.6" +"tar-stream@npm:^3.1.7": + version: 3.1.7 + resolution: "tar-stream@npm:3.1.7" dependencies: b4a: ^1.6.4 fast-fifo: ^1.2.0 streamx: ^2.15.0 - checksum: f3627f918581976e954ff03cb8d370551053796b82564f8c7ca8fac84c48e4d042026d0854fc222171a34ff9c682b72fae91be9c9b0a112d4c54f9e4f443e9c5 + checksum: 6393a6c19082b17b8dcc8e7fd349352bb29b4b8bfe1075912b91b01743ba6bb4298f5ff0b499a3bbaf82121830e96a1a59d4f21a43c0df339e54b01789cb8cc6 languageName: node linkType: hard @@ -11872,7 +11804,7 @@ __metadata: languageName: node linkType: hard -"uuid@npm:^9.0.0": +"uuid@npm:^9.0.0, uuid@npm:^9.0.1": version: 9.0.1 resolution: "uuid@npm:9.0.1" bin: