diff --git a/packages/snap/package.json b/packages/snap/package.json index 1794391..be93e7b 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.1", "buffer": "^6.0.3" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index d0a25aa..96bce70 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.1": + version: 4.0.1 + resolution: "@metamask/snaps-sdk@npm:4.0.1" + 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: 21a2985258216c362f521c36ec2e63963268177ac0d811c6bf7409c489209e341f383db891e5051d0510e7a967565ed0fb5825be3232181fa46ccee79642e3d7 + 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.1 "@typescript-eslint/eslint-plugin": ^5.42.1 "@typescript-eslint/parser": ^5.42.1 buffer: ^6.0.3