diff --git a/package.json b/package.json index 518b8fe4..f7d5bdef 100644 --- a/package.json +++ b/package.json @@ -41,9 +41,9 @@ "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", "@metamask/eslint-config-typescript": "^12.1.0", - "@metamask/snaps-controllers": "^5.0.1", - "@metamask/snaps-sdk": "^2.1.0", - "@metamask/snaps-utils": "^6.1.0", + "@metamask/snaps-controllers": "^6.0.1", + "@metamask/snaps-sdk": "^3.0.1", + "@metamask/snaps-utils": "^7.0.1", "@noble/curves": "^1.2.0", "@types/jest": "^28.1.6", "@types/node": "^17.0.23", diff --git a/yarn.lock b/yarn.lock index 7b0298c9..7ee4ab6f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -930,18 +930,18 @@ __metadata: languageName: node linkType: hard -"@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 @@ -1005,13 +1005,15 @@ __metadata: languageName: node linkType: hard -"@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 @@ -1040,6 +1042,16 @@ __metadata: languageName: node linkType: hard +"@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" @@ -1050,14 +1062,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" +"@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 @@ -1065,7 +1077,7 @@ __metadata: nanoid: ^3.1.31 peerDependencies: "@metamask/approval-controller": ^5.1.2 - checksum: edb12aa623ebc57e9021f3bcfc5898db0165f30a4af43f91d26c988caf5e3e02ab9e0d5ff68b9c323e26e314fd50dbb0825c8c0eaae132c7058e141e3b58693e + checksum: a8d0b85c04cf5cbebd32bacaacba85be467796e543b123c6f4caac245e7c78541c93ca4dba2a0516d36607e819f0e8435b5f25fced531aa4debc4ed8fe5f1ba1 languageName: node linkType: hard @@ -1112,7 +1124,7 @@ __metadata: languageName: node linkType: hard -"@metamask/rpc-errors@npm:^6.0.0, @metamask/rpc-errors@npm:^6.1.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: @@ -1146,22 +1158,22 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-controllers@npm:^5.0.1": - version: 5.0.1 - resolution: "@metamask/snaps-controllers@npm:5.0.1" +"@metamask/snaps-controllers@npm:^6.0.1": + version: 6.0.1 + resolution: "@metamask/snaps-controllers@npm:6.0.1" dependencies: "@metamask/approval-controller": ^5.1.2 "@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.1.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-registry": ^3.0.0 - "@metamask/snaps-rpc-methods": ^6.0.0 - "@metamask/snaps-sdk": ^2.1.0 - "@metamask/snaps-utils": ^6.1.0 + "@metamask/snaps-rpc-methods": ^7.0.1 + "@metamask/snaps-sdk": ^3.0.1 + "@metamask/snaps-utils": ^7.0.1 "@metamask/utils": ^8.3.0 "@xstate/fsm": ^2.0.0 browserify-zlib: ^0.2.0 @@ -1174,11 +1186,11 @@ __metadata: readable-web-to-node-stream: ^3.0.2 tar-stream: ^3.1.7 peerDependencies: - "@metamask/snaps-execution-environments": ^4.0.1 + "@metamask/snaps-execution-environments": ^5.0.1 peerDependenciesMeta: "@metamask/snaps-execution-environments": optional: true - checksum: 9af2b3c2201ea2a9f67509a1c931c35999bdb575619b0622c322ed5b0905c5520283f1a40d6b9ecf010ab4ee49ba8be8e5de4f5bebde31b020b40e61bdb5f350 + checksum: 93ceaa31fbae6aeb43276e8e41b9aaf528e0d188984de408e00d410c6e2e5db5cd80576a245731d2d5592d3f9e7bd93b29068dc952f49691960f8d1d60082afc languageName: node linkType: hard @@ -1192,9 +1204,9 @@ __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": ^5.0.1 - "@metamask/snaps-sdk": ^2.1.0 - "@metamask/snaps-utils": ^6.1.0 + "@metamask/snaps-controllers": ^6.0.1 + "@metamask/snaps-sdk": ^3.0.1 + "@metamask/snaps-utils": ^7.0.1 "@metamask/utils": ^8.1.0 "@noble/curves": ^1.2.0 "@noble/hashes": ^1.3.2 @@ -1225,49 +1237,49 @@ __metadata: languageName: unknown linkType: soft -"@metamask/snaps-rpc-methods@npm:^6.0.0": - version: 6.0.0 - resolution: "@metamask/snaps-rpc-methods@npm:6.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": ^8.0.0 - "@metamask/rpc-errors": ^6.1.0 - "@metamask/snaps-sdk": ^2.0.0 - "@metamask/snaps-utils": ^6.0.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: 78d331eed9c4b2f85954d00bccf41b599301a91cdf1515671aeaae655259ff6cde934d6d44620174ab1ed5a9b3d255f85bf420472dd2276cdecc6ca4d5f95e6f + checksum: 19309ef234cc5cb47c941b4e3bf03df9fc6335ea9aad0b9931bcd63480f63b6d12a10d8d438df3660fe9c6f9b153b9d109a5dabd4576dc68019640b6336f7357 languageName: node linkType: hard -"@metamask/snaps-sdk@npm:^2.0.0, @metamask/snaps-sdk@npm:^2.1.0": - version: 2.1.0 - resolution: "@metamask/snaps-sdk@npm:2.1.0" +"@metamask/snaps-sdk@npm:^3.0.1": + version: 3.0.1 + resolution: "@metamask/snaps-sdk@npm:3.0.1" dependencies: "@metamask/key-tree": ^9.0.0 "@metamask/providers": ^14.0.2 - "@metamask/rpc-errors": ^6.1.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/utils": ^8.3.0 fast-xml-parser: ^4.3.4 superstruct: ^1.0.3 - checksum: 09cfc8b6f51b5895599474bfc9a6a36bef9a078ed3796d3db94dcf9abcc6d5e0c06d9e48193506ef5b757d8b9358877163cfe20c85442cc6986c2759975f2bac + checksum: d0194083232c21d1f61cffede73935966c1eae7c638e086ce8414c7eede8f47b87e5388ec2f5e35f4ba639712167c7aed8184d239f462905606a501233ee9e09 languageName: node linkType: hard -"@metamask/snaps-utils@npm:^6.0.0, @metamask/snaps-utils@npm:^6.1.0": - version: 6.1.0 - resolution: "@metamask/snaps-utils@npm:6.1.0" +"@metamask/snaps-utils@npm:^7.0.1": + version: 7.0.1 + resolution: "@metamask/snaps-utils@npm:7.0.1" 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": ^8.0.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": ^2.1.0 + "@metamask/snaps-sdk": ^3.0.1 "@metamask/utils": ^8.3.0 "@noble/hashes": ^1.3.1 "@scure/base": ^1.1.1 @@ -1280,7 +1292,7 @@ __metadata: ses: ^1.1.0 superstruct: ^1.0.3 validate-npm-package-name: ^5.0.0 - checksum: 1e6fcffe875ed7089bf103227bb5edf8b24503b1f959ddadd40f20b5c42e4d8b38633ad98fa794d643ccfd612a6ab0777f322398a50184d40b297d125576ff3a + checksum: f4d00488963e530384eded380a8086acfb051609a4548c9b57b67abd8fd47d33e21bc8858d735441748778158753c28d9bac9f2ce621e01892010211c6a7db1e languageName: node linkType: hard @@ -2316,10 +2328,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.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 @@ -2330,13 +2342,6 @@ __metadata: languageName: node linkType: hard -"bn.js@npm:^5.1.2, bn.js@npm:^5.2.0": - version: 5.2.1 - resolution: "bn.js@npm:5.2.1" - checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3 - languageName: node - linkType: hard - "brace-expansion@npm:^1.1.7": version: 1.1.11 resolution: "brace-expansion@npm:1.1.11" @@ -5797,16 +5802,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 - "object-inspect@npm:^1.12.3, object-inspect@npm:^1.9.0": version: 1.12.3 resolution: "object-inspect@npm:1.12.3"