diff --git a/packages/snap/package.json b/packages/snap/package.json index 1794391..3bdc679 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": "^3.1.1", "buffer": "^6.0.3" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index d0a25aa..a6b4aa8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2858,6 +2858,26 @@ __metadata: languageName: node linkType: hard +"@metamask/providers@npm:^15.0.0": + version: 15.0.0 + resolution: "@metamask/providers@npm:15.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: 42571450e79d69d943384f557f6a61e0f73101d49804fb6e8075d791959f76c42b8ff626f711d434674792d77aead6cb8a32b04a3dcd53598c8aff24cbb1ad25 + 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:^3.1.1": + version: 3.1.1 + resolution: "@metamask/snaps-sdk@npm:3.1.1" + dependencies: + "@metamask/key-tree": ^9.0.0 + "@metamask/providers": ^15.0.0 + "@metamask/rpc-errors": ^6.2.1 + "@metamask/utils": ^8.3.0 + fast-xml-parser: ^4.3.4 + superstruct: ^1.0.3 + checksum: dbedd7c331bbe7900f7fec96a43bf90ec8637db8ae30b181d6a9f53ed5b14e8b48d7ffe83f5821d97a93530e91f0e0262731e48938c872cb000eb5ad45382d68 + 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.5 + resolution: "fast-xml-parser@npm:4.3.5" + dependencies: + strnum: ^1.0.5 + bin: + fxparser: src/cli/cli.js + checksum: 852064985ca56aa2078be02c92509a675408b57bb9862f696689301bf7df786f9ce9116b812b032c627979a4de5755f9cbfeecc4b90ed9d56be76deccd97c0c6 + 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": ^3.1.1 "@typescript-eslint/eslint-plugin": ^5.42.1 "@typescript-eslint/parser": ^5.42.1 buffer: ^6.0.3