diff --git a/yarn.lock b/yarn.lock index 48bbf63..123fd9b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -70,6 +70,17 @@ __metadata: languageName: node linkType: hard +"@babel/code-frame@npm:^7.16.7": + version: 7.26.2 + resolution: "@babel/code-frame@npm:7.26.2" + dependencies: + "@babel/helper-validator-identifier": ^7.25.9 + js-tokens: ^4.0.0 + picocolors: ^1.0.0 + checksum: db13f5c42d54b76c1480916485e6900748bbcb0014a8aca87f50a091f70ff4e0d0a6db63cade75eb41fcc3d2b6ba0a7f89e343def4f96f00269b41b8ab8dd7b8 + languageName: node + linkType: hard + "@babel/code-frame@npm:^7.24.7": version: 7.24.7 resolution: "@babel/code-frame@npm:7.24.7" @@ -399,6 +410,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-identifier@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-validator-identifier@npm:7.25.9" + checksum: 5b85918cb1a92a7f3f508ea02699e8d2422fe17ea8e82acd445006c0ef7520fbf48e3dbcdaf7b0a1d571fc3a2715a29719e5226636cb6042e15fe6ed2a590944 + languageName: node + linkType: hard + "@babel/helper-validator-option@npm:^7.22.15, @babel/helper-validator-option@npm:^7.23.5": version: 7.23.5 resolution: "@babel/helper-validator-option@npm:7.23.5" @@ -3206,8 +3224,8 @@ __metadata: linkType: hard "@metamask/snaps-cli@npm:^6.3.1": - version: 6.3.1 - resolution: "@metamask/snaps-cli@npm:6.3.1" + version: 6.5.3 + resolution: "@metamask/snaps-cli@npm:6.5.3" dependencies: "@babel/core": ^7.23.2 "@babel/plugin-transform-class-properties": ^7.22.5 @@ -3217,11 +3235,11 @@ __metadata: "@babel/plugin-transform-runtime": ^7.13.2 "@babel/preset-env": ^7.23.2 "@babel/preset-typescript": ^7.23.2 - "@metamask/snaps-sdk": ^6.3.0 - "@metamask/snaps-utils": ^8.0.1 - "@metamask/snaps-webpack-plugin": ^4.1.0 + "@metamask/snaps-sdk": ^6.11.0 + "@metamask/snaps-utils": ^8.6.0 + "@metamask/snaps-webpack-plugin": ^4.1.2 "@metamask/superstruct": ^3.1.0 - "@metamask/utils": ^9.1.0 + "@metamask/utils": ^10.0.0 "@swc/core": 1.3.78 assert: ^2.0.0 babelify: ^10.0.0 @@ -3234,6 +3252,7 @@ __metadata: crypto-browserify: ^3.12.0 domain-browser: ^4.22.0 events: ^3.3.0 + fork-ts-checker-webpack-plugin: ^9.0.2 https-browserify: ^1.0.0 ora: ^5.4.1 os-browserify: ^0.3.0 @@ -3259,8 +3278,8 @@ __metadata: webpack-merge: ^5.9.0 yargs: ^17.7.1 bin: - mm-snap: ./dist/main.js - checksum: 7114f5078feb9d96c6553c4db322de2f73e2dc7d0ca81833fb7c774e2e60650d6a6a2921c29dfe173dade11c77614cdd60b030bdd00ea2af8651efc87c50c7df + mm-snap: ./dist/main.cjs + checksum: 3282310c104e8fd6e5a4b18184002715fdc9688ae8abf398b06b5d1d68c61274bf0038cef35b15ed62ae825f7c05c4cf8c953495da732f024a732075fe082203 languageName: node linkType: hard @@ -3410,7 +3429,7 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-sdk@npm:^6.1.0, @metamask/snaps-sdk@npm:^6.2.0, @metamask/snaps-sdk@npm:^6.2.1, @metamask/snaps-sdk@npm:^6.3.0": +"@metamask/snaps-sdk@npm:^6.1.0, @metamask/snaps-sdk@npm:^6.3.0": version: 6.3.0 resolution: "@metamask/snaps-sdk@npm:6.3.0" dependencies: @@ -3436,6 +3455,19 @@ __metadata: languageName: node linkType: hard +"@metamask/snaps-sdk@npm:^6.11.0, @metamask/snaps-sdk@npm:^6.5.0": + version: 6.11.0 + resolution: "@metamask/snaps-sdk@npm:6.11.0" + dependencies: + "@metamask/key-tree": ^9.1.2 + "@metamask/providers": ^18.1.1 + "@metamask/rpc-errors": ^7.0.1 + "@metamask/superstruct": ^3.1.0 + "@metamask/utils": ^10.0.0 + checksum: 3e7d04459ae06d822a389c168a740bacb9f59632e45160907831c9a9c9cf2bf733d7a56d39310b6749959dd90289d95d145efb6616ceb3394c2ddd5f53f60136 + languageName: node + linkType: hard + "@metamask/snaps-utils@npm:^7.7.0, @metamask/snaps-utils@npm:^7.8.1": version: 7.8.1 resolution: "@metamask/snaps-utils@npm:7.8.1" @@ -3467,21 +3499,21 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-utils@npm:^8.0.0, @metamask/snaps-utils@npm:^8.0.1": - version: 8.0.1 - resolution: "@metamask/snaps-utils@npm:8.0.1" +"@metamask/snaps-utils@npm:^8.1.1, @metamask/snaps-utils@npm:^8.6.0": + version: 8.6.0 + resolution: "@metamask/snaps-utils@npm:8.6.0" dependencies: "@babel/core": ^7.23.2 "@babel/types": ^7.23.0 - "@metamask/base-controller": ^6.0.2 + "@metamask/base-controller": ^7.0.2 "@metamask/key-tree": ^9.1.2 - "@metamask/permission-controller": ^11.0.0 - "@metamask/rpc-errors": ^6.3.1 + "@metamask/permission-controller": ^11.0.3 + "@metamask/rpc-errors": ^7.0.1 "@metamask/slip44": ^4.0.0 - "@metamask/snaps-registry": ^3.2.1 - "@metamask/snaps-sdk": ^6.2.1 + "@metamask/snaps-registry": ^3.2.2 + "@metamask/snaps-sdk": ^6.11.0 "@metamask/superstruct": ^3.1.0 - "@metamask/utils": ^9.1.0 + "@metamask/utils": ^10.0.0 "@noble/hashes": ^1.3.1 "@scure/base": ^1.1.1 chalk: ^4.1.2 @@ -3494,7 +3526,7 @@ __metadata: semver: ^7.5.4 ses: ^1.1.0 validate-npm-package-name: ^5.0.0 - checksum: d32a7fe11830442758699ce2704def59fea7da4e62b3e129122786d7572b2e1f2b4b19bba5fc1a4a35b2384ddb16016a9bc7f04e65aa01635f43df298a3a7fff + checksum: 65f5ce507ee820959ead9c056025f82ea8c3d65a9539f5af08c9fcf4052d2109b29df24c2b5781aaea65c3e5db2d0063eb5a0ba958ea3cfabb9f49db1fa20e80 languageName: node linkType: hard @@ -3529,15 +3561,15 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-webpack-plugin@npm:^4.1.0": - version: 4.1.0 - resolution: "@metamask/snaps-webpack-plugin@npm:4.1.0" +"@metamask/snaps-webpack-plugin@npm:^4.1.2": + version: 4.1.2 + resolution: "@metamask/snaps-webpack-plugin@npm:4.1.2" dependencies: - "@metamask/snaps-sdk": ^6.2.0 - "@metamask/snaps-utils": ^8.0.0 - "@metamask/utils": ^9.1.0 + "@metamask/snaps-sdk": ^6.5.0 + "@metamask/snaps-utils": ^8.1.1 + "@metamask/utils": ^9.2.1 webpack-sources: ^3.2.3 - checksum: 0ff9a9ea9599f68db51f01336065a0e3f8e19c437bed14532718068201738e9cc92ce6c122ad3cebfa4d2dad0e090262e8d9b5f03db806efc760f92f42fa4b43 + checksum: ab3772ed9bce9ad7a3599c01f57b899e9c840fc31528293277985fb08872eb22c2317d30d16555b712920189de4585aeed39fa6eb00580226d9583a4bb7d1797 languageName: node linkType: hard @@ -3599,6 +3631,23 @@ __metadata: languageName: node linkType: hard +"@metamask/utils@npm:^9.2.1": + version: 9.3.0 + resolution: "@metamask/utils@npm:9.3.0" + dependencies: + "@ethereumjs/tx": ^4.2.0 + "@metamask/superstruct": ^3.1.0 + "@noble/hashes": ^1.3.1 + "@scure/base": ^1.1.3 + "@types/debug": ^4.1.7 + debug: ^4.3.4 + pony-cause: ^2.1.10 + semver: ^7.5.4 + uuid: ^9.0.1 + checksum: f720b0f7bdd46054aa88d15a9702e1de6d7200a1ca1d4f6bc48761b039f1bbffb46ac88bc87fe79e66128c196d424f3b9ef071b3cb4b40139223786d56da35e0 + languageName: node + linkType: hard + "@mischnic/json-sourcemap@npm:^0.1.0": version: 0.1.0 resolution: "@mischnic/json-sourcemap@npm:0.1.0" @@ -8311,6 +8360,23 @@ __metadata: languageName: node linkType: hard +"cosmiconfig@npm:^8.2.0": + version: 8.3.6 + resolution: "cosmiconfig@npm:8.3.6" + dependencies: + import-fresh: ^3.3.0 + js-yaml: ^4.1.0 + parse-json: ^5.2.0 + path-type: ^4.0.0 + peerDependencies: + typescript: ">=4.9.5" + peerDependenciesMeta: + typescript: + optional: true + checksum: dc339ebea427898c9e03bf01b56ba7afbac07fc7d2a2d5a15d6e9c14de98275a9565da949375aee1809591c152c0a3877bb86dbeaf74d5bd5aaa79955ad9e7a0 + languageName: node + linkType: hard + "crc-32@npm:^1.2.0": version: 1.2.2 resolution: "crc-32@npm:1.2.2" @@ -10674,6 +10740,29 @@ __metadata: languageName: node linkType: hard +"fork-ts-checker-webpack-plugin@npm:^9.0.2": + version: 9.0.2 + resolution: "fork-ts-checker-webpack-plugin@npm:9.0.2" + dependencies: + "@babel/code-frame": ^7.16.7 + chalk: ^4.1.2 + chokidar: ^3.5.3 + cosmiconfig: ^8.2.0 + deepmerge: ^4.2.2 + fs-extra: ^10.0.0 + memfs: ^3.4.1 + minimatch: ^3.0.4 + node-abort-controller: ^3.0.1 + schema-utils: ^3.1.1 + semver: ^7.3.5 + tapable: ^2.2.1 + peerDependencies: + typescript: ">3.6.0" + webpack: ^5.11.0 + checksum: 136a87bfa36cb6ca27d2ae0feb3c6cabe0de734c1c1ed38f95b71ddb3eb4b6c461829a2dbb04f18f0f717fc6341f544327598255758c269cec9774ccee035afc + languageName: node + linkType: hard + "form-data-encoder@npm:^2.1.2": version: 2.1.4 resolution: "form-data-encoder@npm:2.1.4" @@ -10727,6 +10816,17 @@ __metadata: languageName: node linkType: hard +"fs-extra@npm:^10.0.0": + version: 10.1.0 + resolution: "fs-extra@npm:10.1.0" + dependencies: + graceful-fs: ^4.2.0 + jsonfile: ^6.0.1 + universalify: ^2.0.0 + checksum: dc94ab37096f813cc3ca12f0f1b5ad6744dfed9ed21e953d72530d103cea193c2f81584a39e9dee1bea36de5ee66805678c0dddc048e8af1427ac19c00fffc50 + languageName: node + linkType: hard + "fs-extra@npm:^11.1.1": version: 11.2.0 resolution: "fs-extra@npm:11.2.0" @@ -12090,7 +12190,7 @@ __metadata: languageName: node linkType: hard -"import-fresh@npm:^3.0.0, import-fresh@npm:^3.1.0, import-fresh@npm:^3.2.1": +"import-fresh@npm:^3.0.0, import-fresh@npm:^3.1.0, import-fresh@npm:^3.2.1, import-fresh@npm:^3.3.0": version: 3.3.0 resolution: "import-fresh@npm:3.3.0" dependencies: @@ -14241,7 +14341,7 @@ __metadata: languageName: node linkType: hard -"memfs@npm:^3.1.2, memfs@npm:^3.2.2": +"memfs@npm:^3.1.2, memfs@npm:^3.2.2, memfs@npm:^3.4.1": version: 3.5.3 resolution: "memfs@npm:3.5.3" dependencies: @@ -14782,6 +14882,13 @@ __metadata: languageName: node linkType: hard +"node-abort-controller@npm:^3.0.1": + version: 3.1.1 + resolution: "node-abort-controller@npm:3.1.1" + checksum: 2c340916af9710328b11c0828223fc65ba320e0d082214a211311bf64c2891028e42ef276b9799188c4ada9e6e1c54cf7a0b7c05dd9d59fcdc8cd633304c8047 + languageName: node + linkType: hard + "node-addon-api@npm:^4.3.0": version: 4.3.0 resolution: "node-addon-api@npm:4.3.0" @@ -18373,7 +18480,7 @@ __metadata: languageName: node linkType: hard -"tapable@npm:^2.1.1, tapable@npm:^2.2.0": +"tapable@npm:^2.1.1, tapable@npm:^2.2.0, tapable@npm:^2.2.1": version: 2.2.1 resolution: "tapable@npm:2.2.1" checksum: 3b7a1b4d86fa940aad46d9e73d1e8739335efd4c48322cb37d073eb6f80f5281889bf0320c6d8ffcfa1a0dd5bfdbd0f9d037e252ef972aca595330538aac4d51