From 50c31b9a7d664a29a8a2191668be2d8ac8f9f71d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 07:02:59 +0000 Subject: [PATCH] Bump @metamask/snaps-sdk from 2.0.0 to 4.1.0 Bumps [@metamask/snaps-sdk](https://github.com/MetaMask/snaps) from 2.0.0 to 4.1.0. - [Release notes](https://github.com/MetaMask/snaps/releases) - [Commits](https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@2.0.0...@metamask/snaps-sdk@4.1.0) --- updated-dependencies: - dependency-name: "@metamask/snaps-sdk" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- packages/snap/package.json | 2 +- yarn.lock | 87 +++++++++++++++++++++++++++++++++++++- 2 files changed, 87 insertions(+), 2 deletions(-) diff --git a/packages/snap/package.json b/packages/snap/package.json index 1794391..16267c2 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.1.0", "buffer": "^6.0.3" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index d0a25aa..fe7e201 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2741,6 +2741,17 @@ __metadata: languageName: node linkType: hard +"@metamask/json-rpc-engine@npm:^8.0.1": + version: 8.0.2 + resolution: "@metamask/json-rpc-engine@npm:8.0.2" + dependencies: + "@metamask/rpc-errors": ^6.2.1 + "@metamask/safe-event-emitter": ^3.0.0 + "@metamask/utils": ^8.3.0 + checksum: c240d298ad503d93922a94a62cf59f0344b6d6644a523bc8ea3c0f321bea7172b89f2747a5618e2861b2e8152ae5086b76f391a10e4566529faa50b8850c051d + languageName: node + linkType: hard + "@metamask/json-rpc-middleware-stream@npm:^6.0.2": version: 6.0.2 resolution: "@metamask/json-rpc-middleware-stream@npm:6.0.2" @@ -2753,6 +2764,18 @@ __metadata: languageName: node linkType: hard +"@metamask/json-rpc-middleware-stream@npm:^7.0.1": + version: 7.0.1 + resolution: "@metamask/json-rpc-middleware-stream@npm:7.0.1" + dependencies: + "@metamask/json-rpc-engine": ^8.0.1 + "@metamask/safe-event-emitter": ^3.0.0 + "@metamask/utils": ^8.3.0 + readable-stream: ^3.6.2 + checksum: aacf571a906c3c1d5376e9b1f78d47510b568cc64af26f432dfaa6c6d5480d86e0f8af36855c57a0de95c017313d7ff19bfc396c648aa6ee79f689092154d46b + languageName: node + linkType: hard + "@metamask/key-tree@npm:^9.0.0": version: 9.0.0 resolution: "@metamask/key-tree@npm:9.0.0" @@ -2858,6 +2881,26 @@ __metadata: languageName: node linkType: hard +"@metamask/providers@npm:^16.1.0": + version: 16.1.0 + resolution: "@metamask/providers@npm:16.1.0" + dependencies: + "@metamask/json-rpc-engine": ^8.0.1 + "@metamask/json-rpc-middleware-stream": ^7.0.1 + "@metamask/object-multiplex": ^2.0.0 + "@metamask/rpc-errors": ^6.2.1 + "@metamask/safe-event-emitter": ^3.1.1 + "@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: 85e40140f342a38112c3d7cee436751a2be4c575cc4f815ab48a73b549abc2d756bf4a10e4b983e91dbd38076601f992531edb6d8d674aebceae32ef7e299275 + 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 +2911,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" @@ -2875,6 +2928,13 @@ __metadata: languageName: node linkType: hard +"@metamask/safe-event-emitter@npm:^3.1.1": + version: 3.1.1 + resolution: "@metamask/safe-event-emitter@npm:3.1.1" + checksum: e24db4d7c20764bfc5b025065f92518c805f0ffb1da4820078b8cff7dcae964c0f354cf053fcb7ac659de015d5ffdf21aae5e8d44e191ee8faa9066855f22653 + languageName: node + linkType: hard + "@metamask/scure-bip39@npm:^2.1.0": version: 2.1.1 resolution: "@metamask/scure-bip39@npm:2.1.1" @@ -3093,6 +3153,20 @@ __metadata: languageName: node linkType: hard +"@metamask/snaps-sdk@npm:^4.1.0": + version: 4.1.0 + resolution: "@metamask/snaps-sdk@npm:4.1.0" + dependencies: + "@metamask/key-tree": ^9.0.0 + "@metamask/providers": ^16.1.0 + "@metamask/rpc-errors": ^6.2.1 + "@metamask/utils": ^8.3.0 + fast-xml-parser: ^4.3.4 + superstruct: ^1.0.3 + checksum: b8056b102c996bbe2e6229af6a6118f21c353a513d15a927c9dd67b48c4ca5b5bcf65d5114d8631e9e2662391a574c80d74845ffa25182dbc8fcb2ff09bf7325 + 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 +9844,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 +16956,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.1.0 "@typescript-eslint/eslint-plugin": ^5.42.1 "@typescript-eslint/parser": ^5.42.1 buffer: ^6.0.3