From 1849adbebd402ded5cf5bdc80e3857c9ae3a591a Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Wed, 22 Nov 2023 08:36:25 +0000 Subject: [PATCH] deps: bump @metamask/snaps packages to latest --- package.json | 6 +- yarn.lock | 185 +++++++++++++++------------------------------------ 2 files changed, 58 insertions(+), 133 deletions(-) diff --git a/package.json b/package.json index ab5baf81f..c00341bd6 100644 --- a/package.json +++ b/package.json @@ -39,9 +39,9 @@ }, "dependencies": { "@metamask/providers": "^14.0.1", - "@metamask/snaps-controllers": "^3.4.0", - "@metamask/snaps-sdk": "^1.1.0", - "@metamask/snaps-utils": "^4.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", diff --git a/yarn.lock b/yarn.lock index 115e0a1fb..0506203ed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -953,7 +953,7 @@ __metadata: languageName: node linkType: hard -"@metamask/approval-controller@npm:^4.0.0": +"@metamask/approval-controller@npm:^4.1.0": version: 4.1.0 resolution: "@metamask/approval-controller@npm:4.1.0" dependencies: @@ -1066,7 +1066,7 @@ __metadata: languageName: node linkType: hard -"@metamask/json-rpc-engine@npm:^7.1.1": +"@metamask/json-rpc-engine@npm:^7.1.1, @metamask/json-rpc-engine@npm:^7.3.0": version: 7.3.0 resolution: "@metamask/json-rpc-engine@npm:7.3.0" dependencies: @@ -1103,9 +1103,9 @@ __metadata: "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/providers": ^14.0.1 - "@metamask/snaps-controllers": ^3.4.0 - "@metamask/snaps-sdk": ^1.1.0 - "@metamask/snaps-utils": ^4.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/jest": ^28.1.6 "@types/node": ^16 @@ -1136,17 +1136,6 @@ __metadata: languageName: unknown linkType: soft -"@metamask/object-multiplex@npm:^1.1.0, @metamask/object-multiplex@npm:^1.2.0": - version: 1.3.0 - resolution: "@metamask/object-multiplex@npm:1.3.0" - dependencies: - end-of-stream: ^1.4.4 - once: ^1.4.0 - readable-stream: ^2.3.3 - checksum: 4a2b48fc0e1a8f536edbab9f37b637cd91102538ad76ce07bdfad99b90d98b34585a0e5afa62ca9c1d550a0016347568ff0d635e5bf8cfa266d049e1c0ebedc8 - languageName: node - linkType: hard - "@metamask/object-multiplex@npm:^2.0.0": version: 2.0.0 resolution: "@metamask/object-multiplex@npm:2.0.0" @@ -1157,23 +1146,23 @@ __metadata: languageName: node linkType: hard -"@metamask/permission-controller@npm:^5.0.0": - version: 5.0.0 - resolution: "@metamask/permission-controller@npm:5.0.0" +"@metamask/permission-controller@npm:^5.0.1": + version: 5.0.1 + resolution: "@metamask/permission-controller@npm:5.0.1" dependencies: - "@metamask/approval-controller": ^4.0.0 + "@metamask/approval-controller": ^4.1.0 "@metamask/base-controller": ^3.2.3 "@metamask/controller-utils": ^5.0.2 - "@metamask/json-rpc-engine": ^7.1.1 - "@metamask/rpc-errors": ^6.0.0 - "@metamask/utils": ^8.1.0 + "@metamask/json-rpc-engine": ^7.3.0 + "@metamask/rpc-errors": ^6.1.0 + "@metamask/utils": ^8.2.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": ^4.0.0 - checksum: f79aeb5d8a22761ecfd1e8bee8f1fc3e4d4d9c0f8d823844f799a65657fa063d4b7df248efe0b585685ea27f95a72e4f906a40c228cd95d26ae2bc012c0713cf + "@metamask/approval-controller": ^4.1.0 + checksum: fc61df3f5532b35b9ec26ca712848d680d616103e3d06470691412ee8b5a4b70e27d530065f601b64e0a5c2022aa129b8e6ddcc7c3e8325720aa0f639e3e10ba languageName: node linkType: hard @@ -1200,25 +1189,6 @@ __metadata: languageName: node linkType: hard -"@metamask/providers@npm:^13.0.0": - version: 13.1.0 - resolution: "@metamask/providers@npm:13.1.0" - dependencies: - "@metamask/json-rpc-engine": ^7.1.1 - "@metamask/object-multiplex": ^1.1.0 - "@metamask/rpc-errors": ^6.0.0 - "@metamask/safe-event-emitter": ^3.0.0 - "@metamask/utils": ^8.1.0 - detect-browser: ^5.2.0 - extension-port-stream: ^2.1.1 - fast-deep-equal: ^3.1.3 - is-stream: ^2.0.0 - json-rpc-middleware-stream: ^4.2.1 - webextension-polyfill: ^0.10.0 - checksum: 0833859c459d4e832ca6afda0907f097e39e35b0f59c8f9248edcba1a2e4963ab80f1e9ae5a61eada8439884de72c3176cff46f48666f9e2267f1ebbb9ecf8e3 - languageName: node - linkType: hard - "@metamask/providers@npm:^14.0.1": version: 14.0.1 resolution: "@metamask/providers@npm:14.0.1" @@ -1249,13 +1219,6 @@ __metadata: languageName: node linkType: hard -"@metamask/safe-event-emitter@npm:^2.0.0": - version: 2.0.0 - resolution: "@metamask/safe-event-emitter@npm:2.0.0" - checksum: 8b717ac5d53df0027c05509f03d0534700b5898dd1c3a53fb2dc4c0499ca5971b14aae67f522d09eb9f509e77f50afa95fdb3eda1afbff8b071c18a3d2905e93 - languageName: node - linkType: hard - "@metamask/safe-event-emitter@npm:^3.0.0": version: 3.0.0 resolution: "@metamask/safe-event-emitter@npm:3.0.0" @@ -1273,23 +1236,23 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-controllers@npm:^3.4.0": - version: 3.4.0 - resolution: "@metamask/snaps-controllers@npm:3.4.0" +"@metamask/snaps-controllers@npm:^3.4.1": + version: 3.4.1 + resolution: "@metamask/snaps-controllers@npm:3.4.1" dependencies: - "@metamask/approval-controller": ^4.0.0 + "@metamask/approval-controller": ^4.1.0 "@metamask/base-controller": ^3.2.0 - "@metamask/json-rpc-engine": ^7.1.1 - "@metamask/object-multiplex": ^1.2.0 - "@metamask/permission-controller": ^5.0.0 + "@metamask/json-rpc-engine": ^7.3.0 + "@metamask/object-multiplex": ^2.0.0 + "@metamask/permission-controller": ^5.0.1 "@metamask/phishing-controller": ^7.0.0 "@metamask/post-message-stream": ^7.0.0 "@metamask/rpc-errors": ^6.1.0 "@metamask/snaps-registry": ^2.1.0 - "@metamask/snaps-rpc-methods": ^4.0.0 - "@metamask/snaps-sdk": ^1.0.0 - "@metamask/snaps-utils": ^4.0.0 - "@metamask/utils": ^8.1.0 + "@metamask/snaps-rpc-methods": ^4.0.1 + "@metamask/snaps-sdk": ^1.2.0 + "@metamask/snaps-utils": ^5.0.0 + "@metamask/utils": ^8.2.1 "@xstate/fsm": ^2.0.0 concat-stream: ^2.0.0 get-npm-tarball-url: ^2.0.3 @@ -1297,14 +1260,15 @@ __metadata: 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.3.0 + "@metamask/snaps-execution-environments": ^3.4.1 peerDependenciesMeta: "@metamask/snaps-execution-environments": optional: true - checksum: 1d24355c3d4049a2ce8c3d6090a44433291d67fe52c9aab43c5ba7616d15f1fb392d6c5e1d1991a44df38e7100bec395f8f16bd5199500277797e236d250ee76 + checksum: 991ad6b1a012bc92914279ce70a72c111b3552bb3f1fdd6c558185a2bc747df330f9b52a32bac85766bc85365c72a345613ff00bb691a033b85e0089c8f6c6c8 languageName: node linkType: hard @@ -1319,49 +1283,49 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-rpc-methods@npm:^4.0.0": - version: 4.0.0 - resolution: "@metamask/snaps-rpc-methods@npm:4.0.0" +"@metamask/snaps-rpc-methods@npm:^4.0.1": + version: 4.0.1 + resolution: "@metamask/snaps-rpc-methods@npm:4.0.1" dependencies: "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^5.0.0 + "@metamask/permission-controller": ^5.0.1 "@metamask/rpc-errors": ^6.1.0 - "@metamask/snaps-sdk": ^1.0.0 - "@metamask/snaps-utils": ^4.0.0 - "@metamask/utils": ^8.1.0 + "@metamask/snaps-sdk": ^1.2.0 + "@metamask/snaps-utils": ^5.0.0 + "@metamask/utils": ^8.2.1 "@noble/hashes": ^1.3.1 superstruct: ^1.0.3 - checksum: 555d068a726cfeddee8c2f0cbc41e48a285ab1ffe9ecdb10b9a18882f7d9ab7bf92773628f709239fb672a2b123c26d229982bb926221481ee7a71c0751f12c1 + checksum: 85e0648def1c71e2f86f37acbfeaf2a978a7b42c079daff87afbccfd6e69fdc1ae7999581c31794008685f219f59c053d089386491658962032598488b9a2ba6 languageName: node linkType: hard -"@metamask/snaps-sdk@npm:^1.0.0, @metamask/snaps-sdk@npm:^1.1.0": - version: 1.1.0 - resolution: "@metamask/snaps-sdk@npm:1.1.0" +"@metamask/snaps-sdk@npm:^1.2.0": + version: 1.2.0 + resolution: "@metamask/snaps-sdk@npm:1.2.0" dependencies: "@metamask/key-tree": ^9.0.0 - "@metamask/providers": ^13.0.0 + "@metamask/providers": ^14.0.1 "@metamask/rpc-errors": ^6.1.0 - "@metamask/utils": ^8.1.0 + "@metamask/utils": ^8.2.1 is-svg: ^4.4.0 superstruct: ^1.0.3 - checksum: bd4dd25959bab214c3f9c0235e3b94740f900ced64b0ca09afbdedff8d927ff127b8d009fed285359be1c057eb57dd27aa824a6b331026baae7c674bee75c6e2 + checksum: ce32fce94c690a2ba236d4584e78111baf1b7527113f411bce2768f76f0c3b7cd1cd56684ffc5d941dd06b46065466148b1872126fd084f94c481937d06fc51d languageName: node linkType: hard -"@metamask/snaps-utils@npm:^4.0.0, @metamask/snaps-utils@npm:^4.0.1": - version: 4.0.1 - resolution: "@metamask/snaps-utils@npm:4.0.1" +"@metamask/snaps-utils@npm:^5.0.0": + version: 5.0.0 + resolution: "@metamask/snaps-utils@npm:5.0.0" dependencies: "@babel/core": ^7.23.2 "@babel/types": ^7.23.0 "@metamask/base-controller": ^3.2.0 "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^5.0.0 + "@metamask/permission-controller": ^5.0.1 "@metamask/rpc-errors": ^6.1.0 "@metamask/snaps-registry": ^2.1.0 - "@metamask/snaps-sdk": ^1.1.0 - "@metamask/utils": ^8.1.0 + "@metamask/snaps-sdk": ^1.2.0 + "@metamask/utils": ^8.2.1 "@noble/hashes": ^1.3.1 "@scure/base": ^1.1.1 chalk: ^4.1.2 @@ -1374,7 +1338,7 @@ __metadata: ses: ^0.18.8 superstruct: ^1.0.3 validate-npm-package-name: ^5.0.0 - checksum: 381a031b6ec5fe62cf3ecf2706f9de49820ba9a092ff16245fec60d56dbe665df793e5e7cb20777ef0cfebba56eec0610e9e2b520e2ba715bc3260f7e0d0df7e + checksum: e379a658f443fb45a3fd9ea90eaa4684b9011365fad9a55594acec4faa56b07565c777151d17a1583a87d3a9d49af4e2d0a6934d7d956d00400ede751634be83 languageName: node linkType: hard @@ -1405,7 +1369,7 @@ __metadata: languageName: node linkType: hard -"@metamask/utils@npm:^8.1.0, @metamask/utils@npm:^8.2.0": +"@metamask/utils@npm:^8.1.0, @metamask/utils@npm:^8.2.0, @metamask/utils@npm:^8.2.1": version: 8.2.1 resolution: "@metamask/utils@npm:8.2.1" dependencies: @@ -1862,9 +1826,9 @@ __metadata: linkType: hard "@types/punycode@npm:^2.1.0": - version: 2.1.2 - resolution: "@types/punycode@npm:2.1.2" - checksum: 2cf4573bbdc28f9935154e0981acd2671e58d20ba9f61866e776295cf7b314c041bfe1aee8a1610de958fe4c1e46c8013908813fa23a28e361d256e823a56105 + version: 2.1.3 + resolution: "@types/punycode@npm:2.1.3" + checksum: e51954e9123a3f076326055e5e9e7732346672bf381a68bdb99c6c854dac8918338e444b51d9397fd0018dab53f7af6c7d1ea1dea4d55f8647360f1d8b73f274 languageName: node linkType: hard @@ -3449,7 +3413,7 @@ __metadata: languageName: node linkType: hard -"end-of-stream@npm:^1.0.0, end-of-stream@npm:^1.1.0, end-of-stream@npm:^1.4.4": +"end-of-stream@npm:^1.0.0, end-of-stream@npm:^1.1.0": version: 1.4.4 resolution: "end-of-stream@npm:1.4.4" dependencies: @@ -3951,15 +3915,6 @@ __metadata: languageName: node linkType: hard -"eth-rpc-errors@npm:^4.0.2": - version: 4.0.3 - resolution: "eth-rpc-errors@npm:4.0.3" - dependencies: - fast-safe-stringify: ^2.0.6 - checksum: 5fa31d1a10fdb340733b9a55e38e7687222c501052ca20743cef4d0c911a9bbcc0cad54aa6bf3e4b428604c071ff519803060e1cbc79ddb7c9257c11d407d32a - languageName: node - linkType: hard - "ethereum-cryptography@npm:^0.1.3": version: 0.1.3 resolution: "ethereum-cryptography@npm:0.1.3" @@ -4104,15 +4059,6 @@ __metadata: languageName: node linkType: hard -"extension-port-stream@npm:^2.1.1": - version: 2.1.1 - resolution: "extension-port-stream@npm:2.1.1" - dependencies: - webextension-polyfill: ">=0.10.0 <1.0" - checksum: aee8bbeb2ed6f69a62f58a89580e0e9002dadb11062edbaedb7bb04cfc5a5e0b0d3980bfeaa1c3ee7e08dec7e5fac26e25497fc2f82000db7653442bd5eca157 - languageName: node - linkType: hard - "extension-port-stream@npm:^3.0.0": version: 3.0.0 resolution: "extension-port-stream@npm:3.0.0" @@ -5811,27 +5757,6 @@ __metadata: languageName: node linkType: hard -"json-rpc-engine@npm:^6.1.0": - version: 6.1.0 - resolution: "json-rpc-engine@npm:6.1.0" - dependencies: - "@metamask/safe-event-emitter": ^2.0.0 - eth-rpc-errors: ^4.0.2 - checksum: 33b6c9bbd81abf8e323a0281ee05871713203c40d34a4d0bda27706cd0a0935c7b51845238ba89b73027e44ebc8034bbd82db9f962e6c578eb922d9b95acc8bd - languageName: node - linkType: hard - -"json-rpc-middleware-stream@npm:^4.2.1": - version: 4.2.3 - resolution: "json-rpc-middleware-stream@npm:4.2.3" - dependencies: - "@metamask/safe-event-emitter": ^3.0.0 - json-rpc-engine: ^6.1.0 - readable-stream: ^2.3.3 - checksum: 0907d34935a8b58c3c67626e344272758f684c13175b2e7de2bac37309c3211fca7a129bce042d50faed605615f51fbba01e173bdc2ae6c14d95aefb9bfb4e09 - languageName: node - linkType: hard - "json-rpc-middleware-stream@npm:^5.0.0, json-rpc-middleware-stream@npm:^5.0.1": version: 5.0.1 resolution: "json-rpc-middleware-stream@npm:5.0.1" @@ -7120,7 +7045,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:^2.0.0, readable-stream@npm:^2.3.3, readable-stream@npm:~2.3.6": +"readable-stream@npm:^2.0.0, readable-stream@npm:~2.3.6": version: 2.3.8 resolution: "readable-stream@npm:2.3.8" dependencies: