diff --git a/package.json b/package.json index 88436857..bb261ca5 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", "@metamask/eslint-config-typescript": "^12.1.0", - "@metamask/snaps-controllers": "^6.0.2", + "@metamask/snaps-controllers": "^6.0.4", "@metamask/snaps-sdk": "^3.1.0", "@metamask/snaps-utils": "^7.0.2", "@noble/curves": "^1.2.0", diff --git a/yarn.lock b/yarn.lock index a92578f2..69fd9596 100644 --- a/yarn.lock +++ b/yarn.lock @@ -893,15 +893,15 @@ __metadata: languageName: node linkType: hard -"@metamask/approval-controller@npm:^5.1.3": - version: 5.1.3 - resolution: "@metamask/approval-controller@npm:5.1.3" +"@metamask/approval-controller@npm:^6.0.1": + version: 6.0.1 + resolution: "@metamask/approval-controller@npm:6.0.1" dependencies: - "@metamask/base-controller": ^4.1.1 + "@metamask/base-controller": ^5.0.1 "@metamask/rpc-errors": ^6.2.1 "@metamask/utils": ^8.3.0 nanoid: ^3.1.31 - checksum: db34992be786a4addcbdc57a5651486c730ce9957bf1aefd0157ac90fe79150cddfb60e508f2c470d6bfaa82a62997ffa9bd1ef357109ac26277f5b528601e70 + checksum: 743a06a11fe10f413631696a5ef74f225092ca5c1bef979b656215eccaffb5ad6eb31fc738d948e4668a62788175de246e692674886c397aa15587dc6667889c languageName: node linkType: hard @@ -920,28 +920,30 @@ __metadata: languageName: node linkType: hard -"@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" +"@metamask/base-controller@npm:^5.0.1": + version: 5.0.1 + resolution: "@metamask/base-controller@npm:5.0.1" dependencies: "@metamask/utils": ^8.3.0 immer: ^9.0.6 - checksum: adfbc9815506f41342036743b481236179ffd8378e58dad4ffd5b55158d1a5d5509b113d17af5fe1de35d02c448a7c92fffd5234da1893374aab498356585f76 + checksum: 97ccf900377b06f72db7ee1c167448de80dfec6b02b3aeda715d498974ffffbb5a8cc82f44aabc58f7b6afb693d85f504515cec97bf385efa0377975b4019c7b languageName: node linkType: hard -"@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" +"@metamask/controller-utils@npm:^9.0.1": + version: 9.0.2 + resolution: "@metamask/controller-utils@npm:9.0.2" dependencies: "@ethereumjs/util": ^8.1.0 "@metamask/eth-query": ^4.0.0 "@metamask/ethjs-unit": ^0.3.0 "@metamask/utils": ^8.3.0 "@spruceid/siwe-parser": 1.1.3 + "@types/bn.js": ^5.1.5 + bn.js: ^5.2.1 eth-ens-namehash: ^2.0.8 fast-deep-equal: ^3.1.3 - checksum: eb259daf51c18991cb86ae4c10235a1d2d59e910ff92e60a7aab3e0f0b3030234acbaf2173e1744616bef60e4061c1fdaa651ab8ffcf06d09394bf6beae248f3 + checksum: 06e1e33275aba4a54ee5a99fa2ca614a089f9e0d4369d700694bad0386af2492f0aa9337124db41afb54ffe4c9cb89055f6e05810333436b20be7d7da133aa45 languageName: node linkType: hard @@ -1017,7 +1019,7 @@ __metadata: languageName: node linkType: hard -"@metamask/json-rpc-engine@npm:^7.1.1, @metamask/json-rpc-engine@npm:^7.3.2, @metamask/json-rpc-engine@npm:^7.3.3": +"@metamask/json-rpc-engine@npm:^7.3.2": version: 7.3.3 resolution: "@metamask/json-rpc-engine@npm:7.3.3" dependencies: @@ -1028,6 +1030,17 @@ __metadata: languageName: node linkType: hard +"@metamask/json-rpc-engine@npm:^8.0.1": + version: 8.0.1 + resolution: "@metamask/json-rpc-engine@npm:8.0.1" + dependencies: + "@metamask/rpc-errors": ^6.2.1 + "@metamask/safe-event-emitter": ^3.0.0 + "@metamask/utils": ^8.3.0 + checksum: 32c0abaa7e8d158d36889537a784e8a6f5fa3d541962881e195585ccf91926e11019ed5827168979d948544e7ba1de3ac6f07b5770ffe65173b956a361c817e1 + 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" @@ -1040,6 +1053,18 @@ __metadata: languageName: node linkType: hard +"@metamask/json-rpc-middleware-stream@npm:^7.0.1": + version: 7.0.1 + resolution: "@metamask/json-rpc-middleware-stream@npm:7.0.1" + dependencies: + "@metamask/json-rpc-engine": ^8.0.1 + "@metamask/safe-event-emitter": ^3.0.0 + "@metamask/utils": ^8.3.0 + readable-stream: ^3.6.2 + checksum: aacf571a906c3c1d5376e9b1f78d47510b568cc64af26f432dfaa6c6d5480d86e0f8af36855c57a0de95c017313d7ff19bfc396c648aa6ee79f689092154d46b + languageName: node + linkType: hard + "@metamask/key-tree@npm:^9.0.0": version: 9.0.0 resolution: "@metamask/key-tree@npm:9.0.0" @@ -1074,13 +1099,13 @@ __metadata: languageName: node linkType: hard -"@metamask/permission-controller@npm:^8.0.1": - version: 8.0.1 - resolution: "@metamask/permission-controller@npm:8.0.1" +"@metamask/permission-controller@npm:^9.0.2": + version: 9.0.2 + resolution: "@metamask/permission-controller@npm:9.0.2" dependencies: - "@metamask/base-controller": ^4.1.1 - "@metamask/controller-utils": ^8.0.3 - "@metamask/json-rpc-engine": ^7.3.2 + "@metamask/base-controller": ^5.0.1 + "@metamask/controller-utils": ^9.0.1 + "@metamask/json-rpc-engine": ^8.0.1 "@metamask/rpc-errors": ^6.2.1 "@metamask/utils": ^8.3.0 "@types/deep-freeze-strict": ^1.1.0 @@ -1088,21 +1113,21 @@ __metadata: immer: ^9.0.6 nanoid: ^3.1.31 peerDependencies: - "@metamask/approval-controller": ^5.1.2 - checksum: a8d0b85c04cf5cbebd32bacaacba85be467796e543b123c6f4caac245e7c78541c93ca4dba2a0516d36607e819f0e8435b5f25fced531aa4debc4ed8fe5f1ba1 + "@metamask/approval-controller": ^6.0.0 + checksum: c4c81f04ecebe5db2d5848709b2c8d89ebe90098e4f8dd48392f49826e4666681a78f9b89a85cc597944f85b1bdfdd4fb8411489e7110586edf362ef17b4086e languageName: node linkType: hard -"@metamask/phishing-controller@npm:^8.0.2": - version: 8.0.2 - resolution: "@metamask/phishing-controller@npm:8.0.2" +"@metamask/phishing-controller@npm:^9.0.1": + version: 9.0.1 + resolution: "@metamask/phishing-controller@npm:9.0.1" dependencies: - "@metamask/base-controller": ^4.1.1 - "@metamask/controller-utils": ^8.0.2 + "@metamask/base-controller": ^5.0.1 + "@metamask/controller-utils": ^9.0.1 "@types/punycode": ^2.1.0 eth-phishing-detect: ^1.2.0 punycode: ^2.1.1 - checksum: 2263f8c696ae81b233cc21ad927515c24e32132ddb297ab04ca45a8d92bbd0e8b0d7b43d53a074277cc441d51ce95d03efccecac0c7da9493540d489f4aecb81 + checksum: f8770b94d9d4e7f7daa5619d9bf32bc0909b6947dd72172ba76f085ca6e29bafa9d728f57e6ed296355f589ec6d267ee537587a7a70ccc2b2b971604e3ad0c8b languageName: node linkType: hard @@ -1170,39 +1195,39 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-controllers@npm:^6.0.2": - version: 6.0.3 - resolution: "@metamask/snaps-controllers@npm:6.0.3" +"@metamask/snaps-controllers@npm:^6.0.4": + version: 6.0.4 + resolution: "@metamask/snaps-controllers@npm:6.0.4" dependencies: - "@metamask/approval-controller": ^5.1.3 - "@metamask/base-controller": ^4.1.0 - "@metamask/json-rpc-engine": ^7.3.3 + "@metamask/approval-controller": ^6.0.1 + "@metamask/base-controller": ^5.0.1 + "@metamask/json-rpc-engine": ^8.0.1 + "@metamask/json-rpc-middleware-stream": ^7.0.1 "@metamask/object-multiplex": ^2.0.0 - "@metamask/permission-controller": ^8.0.1 - "@metamask/phishing-controller": ^8.0.2 + "@metamask/permission-controller": ^9.0.2 + "@metamask/phishing-controller": ^9.0.1 "@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/snaps-rpc-methods": ^7.0.2 + "@metamask/snaps-sdk": ^3.2.0 + "@metamask/snaps-utils": ^7.0.4 "@metamask/utils": ^8.3.0 "@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.7 peerDependencies: - "@metamask/snaps-execution-environments": ^5.0.3 + "@metamask/snaps-execution-environments": ^5.0.4 peerDependenciesMeta: "@metamask/snaps-execution-environments": optional: true - checksum: 85c4100b1f2d83252d6d5e04b09f4a53f001195a566ccf78c8667dcf45d29c4d664637babf3352cb080b161659fabaa7c3a28100788556a6a2ff8f61e278b05c + checksum: 937d2d8fe282cb278711731ecbe32e87cd9047d3cc1006de032891d46fa3d52ab1348e8bf07890f1fbb2c2cfa220615a70c03163bb8a060349ccf2e635d40887 languageName: node linkType: hard @@ -1216,7 +1241,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/snaps-controllers": ^6.0.2 + "@metamask/snaps-controllers": ^6.0.4 "@metamask/snaps-sdk": ^3.1.0 "@metamask/snaps-utils": ^7.0.2 "@metamask/utils": ^8.3.0 @@ -1250,23 +1275,23 @@ __metadata: languageName: unknown linkType: soft -"@metamask/snaps-rpc-methods@npm:^7.0.1": - version: 7.0.1 - resolution: "@metamask/snaps-rpc-methods@npm:7.0.1" +"@metamask/snaps-rpc-methods@npm:^7.0.2": + version: 7.0.2 + resolution: "@metamask/snaps-rpc-methods@npm:7.0.2" dependencies: "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^8.0.1 + "@metamask/permission-controller": ^9.0.2 "@metamask/rpc-errors": ^6.2.1 - "@metamask/snaps-sdk": ^3.0.1 - "@metamask/snaps-utils": ^7.0.1 + "@metamask/snaps-sdk": ^3.2.0 + "@metamask/snaps-utils": ^7.0.4 "@metamask/utils": ^8.3.0 "@noble/hashes": ^1.3.1 superstruct: ^1.0.3 - checksum: 19309ef234cc5cb47c941b4e3bf03df9fc6335ea9aad0b9931bcd63480f63b6d12a10d8d438df3660fe9c6f9b153b9d109a5dabd4576dc68019640b6336f7357 + checksum: 96097bb2b3d6d74d118969d30b5aaf8395294ea5a76e01f5b6d1af1bf98ae06b7cdf8b2f82f802104ff9580f4f9f531f923914940881fa2e3523be0d93155f6d languageName: node linkType: hard -"@metamask/snaps-sdk@npm:^3.0.1, @metamask/snaps-sdk@npm:^3.1.0, @metamask/snaps-sdk@npm:^3.1.1": +"@metamask/snaps-sdk@npm:^3.1.0, @metamask/snaps-sdk@npm:^3.2.0": version: 3.2.0 resolution: "@metamask/snaps-sdk@npm:3.2.0" dependencies: @@ -1280,19 +1305,19 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-utils@npm:^7.0.1, @metamask/snaps-utils@npm:^7.0.2, @metamask/snaps-utils@npm:^7.0.3": - version: 7.0.3 - resolution: "@metamask/snaps-utils@npm:7.0.3" +"@metamask/snaps-utils@npm:^7.0.2, @metamask/snaps-utils@npm:^7.0.4": + version: 7.0.4 + resolution: "@metamask/snaps-utils@npm:7.0.4" dependencies: "@babel/core": ^7.23.2 "@babel/types": ^7.23.0 - "@metamask/base-controller": ^4.1.0 + "@metamask/base-controller": ^5.0.1 "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^8.0.1 + "@metamask/permission-controller": ^9.0.2 "@metamask/rpc-errors": ^6.2.1 "@metamask/slip44": ^3.1.0 "@metamask/snaps-registry": ^3.0.1 - "@metamask/snaps-sdk": ^3.1.1 + "@metamask/snaps-sdk": ^3.2.0 "@metamask/utils": ^8.3.0 "@noble/hashes": ^1.3.1 "@scure/base": ^1.1.1 @@ -1306,7 +1331,7 @@ __metadata: ses: ^1.1.0 superstruct: ^1.0.3 validate-npm-package-name: ^5.0.0 - checksum: 3aef2d59fa332aa4edfc2dd0580bd35c6e07888835259bccb4472379215fb106f8dcc070b3483912e3df4053d2ca0fac262885b5a3794d799dcf78137ac0bec4 + checksum: b874d686216dd04472a3eb9e541b169e9e37793234838650e05734b9b6a4148ed126857e05e4cb1436482bb9ad0f1d43a2b7498169219c8062f00e4d67e074d3 languageName: node linkType: hard @@ -1617,6 +1642,15 @@ __metadata: languageName: node linkType: hard +"@types/bn.js@npm:^5.1.5": + version: 5.1.5 + resolution: "@types/bn.js@npm:5.1.5" + dependencies: + "@types/node": "*" + checksum: c87b28c4af74545624f8a3dae5294b16aa190c222626e8d4b2e327b33b1a3f1eeb43e7a24d914a9774bca43d8cd6e1cb0325c1f4b3a244af6693a024e1d918e6 + languageName: node + linkType: hard + "@types/color-name@npm:^1.1.1": version: 1.1.1 resolution: "@types/color-name@npm:1.1.1" @@ -4965,18 +4999,6 @@ __metadata: languageName: node linkType: hard -"json-rpc-middleware-stream@npm:^5.0.0": - version: 5.0.1 - resolution: "json-rpc-middleware-stream@npm:5.0.1" - dependencies: - "@metamask/json-rpc-engine": ^7.1.1 - "@metamask/safe-event-emitter": ^3.0.0 - "@metamask/utils": ^8.1.0 - readable-stream: ^3.6.2 - checksum: 1cfb8ef5fbb3daa15015213e380e79f043a4208d6ea5533a99b3f3c8aeb01270bfdce5b37003362745a059edbd418d9ca3548fab5fa83355641be2f392303084 - languageName: node - linkType: hard - "json-rpc-random-id@npm:^1.0.0": version: 1.0.1 resolution: "json-rpc-random-id@npm:1.0.1"