diff --git a/packages/snap/package.json b/packages/snap/package.json index 1794391..f2064ea 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -28,7 +28,7 @@ "test": "jest" }, "dependencies": { - "@metamask/snaps-sdk": "^2.0.0", + "@metamask/snaps-sdk": "^4.0.0", "buffer": "^6.0.3" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index d0a25aa..60686bd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2858,6 +2858,26 @@ __metadata: languageName: node linkType: hard +"@metamask/providers@npm:^16.0.0": + version: 16.0.0 + resolution: "@metamask/providers@npm:16.0.0" + dependencies: + "@metamask/json-rpc-engine": ^7.3.2 + "@metamask/json-rpc-middleware-stream": ^6.0.2 + "@metamask/object-multiplex": ^2.0.0 + "@metamask/rpc-errors": ^6.2.1 + "@metamask/safe-event-emitter": ^3.0.0 + "@metamask/utils": ^8.3.0 + detect-browser: ^5.2.0 + extension-port-stream: ^3.0.0 + fast-deep-equal: ^3.1.3 + is-stream: ^2.0.0 + readable-stream: ^3.6.2 + webextension-polyfill: ^0.10.0 + checksum: cdc06796111edbf01e9aa8498170f7ffa3c68a4c0f66a629e3b0f7d37ee60eb32d83ee12f285c3d974d971c6af16a3fba531fb5733f5fa9412a18e1d3f648539 + languageName: node + linkType: hard + "@metamask/rpc-errors@npm:^6.0.0, @metamask/rpc-errors@npm:^6.1.0": version: 6.1.0 resolution: "@metamask/rpc-errors@npm:6.1.0" @@ -2868,6 +2888,16 @@ __metadata: languageName: node linkType: hard +"@metamask/rpc-errors@npm:^6.2.1": + version: 6.2.1 + resolution: "@metamask/rpc-errors@npm:6.2.1" + dependencies: + "@metamask/utils": ^8.3.0 + fast-safe-stringify: ^2.0.6 + checksum: a9223c3cb9ab05734ea0dda990597f90a7cdb143efa0c026b1a970f2094fe5fa3c341ed39b1e7623be13a96b98fb2c697ef51a2e2b87d8f048114841d35ee0a9 + 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" @@ -3093,6 +3123,20 @@ __metadata: languageName: node linkType: hard +"@metamask/snaps-sdk@npm:^4.0.0": + version: 4.0.0 + resolution: "@metamask/snaps-sdk@npm:4.0.0" + dependencies: + "@metamask/key-tree": ^9.0.0 + "@metamask/providers": ^16.0.0 + "@metamask/rpc-errors": ^6.2.1 + "@metamask/utils": ^8.3.0 + fast-xml-parser: ^4.3.4 + superstruct: ^1.0.3 + checksum: 01b485b05715f7fff3527b8cac5be180f2443797b05839f615c59ac2c95860b68509c7e7c0eec0d921b04b099f5e7bc99bcb2447373e866649b8bc8f29b738ec + languageName: node + linkType: hard + "@metamask/snaps-utils@npm:^5.0.0": version: 5.1.2 resolution: "@metamask/snaps-utils@npm:5.1.2" @@ -9770,6 +9814,17 @@ __metadata: languageName: node linkType: hard +"fast-xml-parser@npm:^4.3.4": + version: 4.3.6 + resolution: "fast-xml-parser@npm:4.3.6" + dependencies: + strnum: ^1.0.5 + bin: + fxparser: src/cli/cli.js + checksum: 12795c55f4564699c3cee13f7e892423244ac1125775e9b85bf948a1d4b65352da8f688d334bad530972288bb7ee0cf3d2605088d475123fce40d95003f045fa + languageName: node + linkType: hard + "fastest-levenshtein@npm:^1.0.12": version: 1.0.16 resolution: "fastest-levenshtein@npm:1.0.16" @@ -16871,7 +16926,7 @@ __metadata: "@metamask/eslint-config-typescript": ^12.0.0 "@metamask/snaps-cli": ^5.0.0 "@metamask/snaps-jest": ^5.0.0 - "@metamask/snaps-sdk": ^2.0.0 + "@metamask/snaps-sdk": ^4.0.0 "@typescript-eslint/eslint-plugin": ^5.42.1 "@typescript-eslint/parser": ^5.42.1 buffer: ^6.0.3