diff --git a/packages/snap/package.json b/packages/snap/package.json index 724076c..6552929 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -38,8 +38,11 @@ "@metamask/eslint-config-jest": "^12.0.0", "@metamask/eslint-config-nodejs": "^12.0.0", "@metamask/eslint-config-typescript": "^12.0.0", - "@metamask/snaps-cli": "^4.0.0", - "@metamask/snaps-jest": "^5.0.0", + + "@metamask/snaps-cli": "^5.0.0", + "@metamask/snaps-jest": "^4.0.0", + + "@typescript-eslint/eslint-plugin": "^5.42.1", "@typescript-eslint/parser": "^5.42.1", "eslint": "^8.45.0", diff --git a/yarn.lock b/yarn.lock index 75658b3..df846bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2656,13 +2656,13 @@ __metadata: languageName: node linkType: hard -"@metamask/base-controller@npm:^4.0.1": - version: 4.0.1 - resolution: "@metamask/base-controller@npm:4.0.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: - "@metamask/utils": ^8.2.0 + "@metamask/utils": ^8.3.0 immer: ^9.0.6 - checksum: d86a7dbe5f23daf56677fe14192d08c9b38c993e8c05a36afa2d7995bb7b272be8d182450c509ed605e73256d32fef55eea5814130d2381259e30751be3d9f2c + checksum: adfbc9815506f41342036743b481236179ffd8378e58dad4ffd5b55158d1a5d5509b113d17af5fe1de35d02c448a7c92fffd5234da1893374aab498356585f76 languageName: node linkType: hard @@ -2853,7 +2853,7 @@ __metadata: languageName: node linkType: hard -"@metamask/json-rpc-engine@npm:^7.1.1, @metamask/json-rpc-engine@npm:^7.3.0, @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.0, @metamask/json-rpc-engine@npm:^7.3.2": version: 7.3.2 resolution: "@metamask/json-rpc-engine@npm:7.3.2" dependencies: @@ -3092,9 +3092,9 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-cli@npm:^4.0.0": - version: 4.0.1 - resolution: "@metamask/snaps-cli@npm:4.0.1" +"@metamask/snaps-cli@npm:^5.0.0": + version: 5.0.0 + resolution: "@metamask/snaps-cli@npm:5.0.0" dependencies: "@babel/core": ^7.23.2 "@babel/plugin-transform-class-properties": ^7.22.5 @@ -3104,10 +3104,10 @@ __metadata: "@babel/plugin-transform-runtime": ^7.13.2 "@babel/preset-env": ^7.23.2 "@babel/preset-typescript": ^7.23.2 - "@metamask/snaps-sdk": ^1.3.2 - "@metamask/snaps-utils": ^5.1.2 + "@metamask/snaps-sdk": ^2.0.0 + "@metamask/snaps-utils": ^6.0.0 "@metamask/snaps-webpack-plugin": ^3.1.1 - "@metamask/utils": ^8.2.1 + "@metamask/utils": ^8.3.0 "@swc/core": 1.3.78 assert: ^2.0.0 babelify: ^10.0.0 @@ -3147,7 +3147,7 @@ __metadata: yargs: ^17.7.1 bin: mm-snap: ./dist/cjs/main.js - checksum: 770976b326678beca685e6f5cacbb32e6a5107069a9f13d55ac823b591659244c9515c1079de74f312dded5e692a48fafc4e360a94afb0f4aefc8773486a65aa + checksum: 336e3be8cdbcb759aa66c6a58fcdc0db0532de08f1fa2dc728e8037849a58d1dd573a40a83f3c18167384b465ace3ded671034c53ac33af992faae12a5c430d3 languageName: node linkType: hard @@ -3292,7 +3292,8 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-sdk@npm:^1.2.0, @metamask/snaps-sdk@npm:^1.3.2": + +"@metamask/snaps-sdk@npm:^1.2.0, @metamask/snaps-sdk@npm:^1.3.0": version: 1.4.0 resolution: "@metamask/snaps-sdk@npm:1.4.0" dependencies: @@ -17713,6 +17714,15 @@ __metadata: languageName: node linkType: hard +"ses@npm:^1.1.0": + version: 1.1.0 + resolution: "ses@npm:1.1.0" + dependencies: + "@endo/env-options": ^1.1.0 + checksum: 20f69f610febba3c53144ae2cf5cb4c932212c17994fe84a2864634a24104675a4ee2498482b74f8a468e0e25d92fd104c8b45b1ab2c7029255221797db979be + languageName: node + linkType: hard + "set-blocking@npm:^2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0" @@ -18026,8 +18036,10 @@ __metadata: "@metamask/eslint-config-jest": ^12.0.0 "@metamask/eslint-config-nodejs": ^12.0.0 "@metamask/eslint-config-typescript": ^12.0.0 - "@metamask/snaps-cli": ^4.0.0 - "@metamask/snaps-jest": ^5.0.0 + + "@metamask/snaps-cli": ^5.0.0 + "@metamask/snaps-jest": ^4.0.0 + "@metamask/snaps-types": ^3.0.1 "@metamask/snaps-ui": ^3.0.1 "@typescript-eslint/eslint-plugin": ^5.42.1