diff --git a/packages/snap/package.json b/packages/snap/package.json index 1b4761c..ca0805c 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -41,7 +41,7 @@ "@metamask/eslint-config-jest": "^12.0.0", "@metamask/eslint-config-nodejs": "^12.0.0", "@metamask/eslint-config-typescript": "^12.0.0", - "@metamask/snaps-cli": "^3.0.1", + "@metamask/snaps-cli": "^4.0.0", "@metamask/snaps-jest": "^4.0.1", "@typescript-eslint/eslint-plugin": "^5.42.1", "@typescript-eslint/parser": "^5.42.1", diff --git a/yarn.lock b/yarn.lock index c06c183..59f8996 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4492,9 +4492,16 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-cli@npm:^3.0.1": - version: 3.0.5 - resolution: "@metamask/snaps-cli@npm:3.0.5" +"@metamask/slip44@npm:^3.1.0": + version: 3.1.0 + resolution: "@metamask/slip44@npm:3.1.0" + checksum: 63de4b85448990bde7760704d2f646ff33b34b22799b570c0bb1f7f08b1ebea9784495759611979ca4a5872094b093b63c28c6f6d94aa614cbd692576fcb134f + languageName: node + linkType: hard + +"@metamask/snaps-cli@npm:^4.0.0": + version: 4.0.0 + resolution: "@metamask/snaps-cli@npm:4.0.0" dependencies: "@babel/core": ^7.23.2 "@babel/plugin-transform-class-properties": ^7.22.5 @@ -4504,8 +4511,8 @@ __metadata: "@babel/plugin-transform-runtime": ^7.13.2 "@babel/preset-env": ^7.23.2 "@babel/preset-typescript": ^7.23.2 - "@metamask/snaps-sdk": ^1.2.0 - "@metamask/snaps-utils": ^5.0.0 + "@metamask/snaps-sdk": ^1.3.0 + "@metamask/snaps-utils": ^5.1.0 "@metamask/snaps-webpack-plugin": ^3.1.1 "@metamask/utils": ^8.2.1 "@swc/core": 1.3.78 @@ -4547,7 +4554,7 @@ __metadata: yargs: ^17.7.1 bin: mm-snap: ./dist/cjs/main.js - checksum: f49447ca6abd5c4672f3a059c955cb01ac85a8bca3348d5805b1dcc42e20f70e2361fb2cbfa0cdc23b9b07d1ea228d9293b214d4db94c3b9fc01a032db9151ee + checksum: c6f11061d29517f7495665a26956ce2f63f1496d8c38ab18a22f4087da1474a8fe2ddb37145563b3dd4b3c7def9234af4b806c1f65ceb1d7b07c180f52989517 languageName: node linkType: hard @@ -4640,6 +4647,18 @@ __metadata: languageName: node linkType: hard +"@metamask/snaps-registry@npm:^3.0.0": + version: 3.0.0 + resolution: "@metamask/snaps-registry@npm:3.0.0" + dependencies: + "@metamask/utils": ^8.1.0 + "@noble/curves": ^1.2.0 + "@noble/hashes": ^1.3.2 + superstruct: ^1.0.3 + checksum: d816190ee4f345f04b1dcdbbee48fc7153c12192e2deca16f7947c9f3ee437dddc286fd66c21cdf02d18798c4df799bbc377bc839c11a419226aa00b95b645b0 + languageName: node + linkType: hard + "@metamask/snaps-rpc-methods@npm:^3.3.0": version: 3.3.0 resolution: "@metamask/snaps-rpc-methods@npm:3.3.0" @@ -4809,6 +4828,36 @@ __metadata: languageName: node linkType: hard +"@metamask/snaps-utils@npm:^5.1.0": + version: 5.1.0 + resolution: "@metamask/snaps-utils@npm:5.1.0" + dependencies: + "@babel/core": ^7.23.2 + "@babel/types": ^7.23.0 + "@metamask/base-controller": ^4.0.0 + "@metamask/key-tree": ^9.0.0 + "@metamask/permission-controller": ^6.0.0 + "@metamask/rpc-errors": ^6.1.0 + "@metamask/slip44": ^3.1.0 + "@metamask/snaps-registry": ^3.0.0 + "@metamask/snaps-sdk": ^1.3.0 + "@metamask/utils": ^8.2.1 + "@noble/hashes": ^1.3.1 + "@scure/base": ^1.1.1 + chalk: ^4.1.2 + cron-parser: ^4.5.0 + fast-deep-equal: ^3.1.3 + fast-json-stable-stringify: ^2.1.0 + is-svg: ^4.4.0 + rfdc: ^1.3.0 + semver: ^7.5.4 + ses: ^0.18.8 + superstruct: ^1.0.3 + validate-npm-package-name: ^5.0.0 + checksum: 6483e15abb97eb42b06fbab1b6ae1606a7b0d2f0a64166bcb4629315264b85c0c6eb1a5fb0c65472e750b2c82d9bf261c112d4746f885dd4bf8748b7f92f25fa + languageName: node + linkType: hard + "@metamask/snaps-webpack-plugin@npm:^3.1.1": version: 3.1.1 resolution: "@metamask/snaps-webpack-plugin@npm:3.1.1" @@ -21678,7 +21727,7 @@ __metadata: "@metamask/eslint-config-nodejs": ^12.0.0 "@metamask/eslint-config-typescript": ^12.0.0 "@metamask/key-tree": ^9.0.0 - "@metamask/snaps-cli": ^3.0.1 + "@metamask/snaps-cli": ^4.0.0 "@metamask/snaps-jest": ^4.0.1 "@metamask/snaps-types": ^3.0.1 "@metamask/snaps-ui": ^3.0.1