diff --git a/packages/adapter/package.json b/packages/adapter/package.json index 223178b..5a13607 100644 --- a/packages/adapter/package.json +++ b/packages/adapter/package.json @@ -25,7 +25,7 @@ "dependencies": { "@ethersproject/providers": "^5.7.2", "@metamask/detect-provider": "^2.0.0", - "@metamask/snaps-ui": "1.0.2", + "@metamask/snaps-ui": "3.1.0", "@shapeshiftoss/hdwallet-core": "^1.50.4", "@shapeshiftoss/logger": "^1.1.3", "@shapeshiftoss/metamask-snaps": "^1.0.8", diff --git a/packages/snap/package.json b/packages/snap/package.json index 47c5bf9..c8182de 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -42,7 +42,7 @@ "@metamask/detect-provider": "^2.0.0", "@metamask/key-tree": "^9.0.0", "@metamask/snaps-types": "^1.0.1", - "@metamask/snaps-ui": "^1.0.1", + "@metamask/snaps-ui": "^3.1.0", "@shapeshiftoss/caip": "^8.15.0", "@shapeshiftoss/hdwallet-core": "^1.50.4", "@shapeshiftoss/hdwallet-native": "^1.50.4", diff --git a/yarn.lock b/yarn.lock index 4ecc651..efda7b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3615,6 +3615,16 @@ __metadata: languageName: node linkType: hard +"@ethereumjs/common@npm:^3.2.0": + version: 3.2.0 + resolution: "@ethereumjs/common@npm:3.2.0" + dependencies: + "@ethereumjs/util": ^8.1.0 + crc-32: ^1.2.0 + checksum: cb9cc11f5c868cb577ba611cebf55046e509218bbb89b47ccce010776dafe8256d70f8f43fab238aec74cf71f62601cd5842bc03a83261200802de365732a14b + languageName: node + linkType: hard + "@ethereumjs/rlp@npm:^4.0.1": version: 4.0.1 resolution: "@ethereumjs/rlp@npm:4.0.1" @@ -3642,6 +3652,18 @@ __metadata: languageName: node linkType: hard +"@ethereumjs/tx@npm:^4.2.0": + version: 4.2.0 + resolution: "@ethereumjs/tx@npm:4.2.0" + dependencies: + "@ethereumjs/common": ^3.2.0 + "@ethereumjs/rlp": ^4.0.1 + "@ethereumjs/util": ^8.1.0 + ethereum-cryptography: ^2.0.0 + checksum: 87a3f5f2452cfbf6712f8847525a80c213210ed453c211c793c5df801fe35ecef28bae17fadd222fcbdd94277478a47e52d2b916a90a6b30cda21f1e0cdaee42 + languageName: node + linkType: hard + "@ethereumjs/util@npm:^8.0.6": version: 8.0.6 resolution: "@ethereumjs/util@npm:8.0.6" @@ -3654,6 +3676,17 @@ __metadata: languageName: node linkType: hard +"@ethereumjs/util@npm:^8.1.0": + version: 8.1.0 + resolution: "@ethereumjs/util@npm:8.1.0" + dependencies: + "@ethereumjs/rlp": ^4.0.1 + ethereum-cryptography: ^2.0.0 + micro-ftch: ^0.3.1 + checksum: 9ae5dee8f12b0faf81cd83f06a41560e79b0ba96a48262771d897a510ecae605eb6d84f687da001ab8ccffd50f612ae50f988ef76e6312c752897f462f3ac08d + languageName: node + linkType: hard + "@ethersproject/abi@npm:5.7.0, @ethersproject/abi@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/abi@npm:5.7.0" @@ -5866,7 +5899,18 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-ui@npm:1.0.2, @metamask/snaps-ui@npm:^1.0.1, @metamask/snaps-ui@npm:^1.0.2": +"@metamask/snaps-ui@npm:3.1.0, @metamask/snaps-ui@npm:^3.1.0": + version: 3.1.0 + resolution: "@metamask/snaps-ui@npm:3.1.0" + dependencies: + "@metamask/utils": ^8.1.0 + is-svg: ^4.4.0 + superstruct: ^1.0.3 + checksum: a234217e961a103b89708d46732481e82c0778b3ebbecddabc9351eee48d082cdc231102442c3ae5c76aa33b24c24aad70e84fee9d7b492641f290a10c3211c1 + languageName: node + linkType: hard + +"@metamask/snaps-ui@npm:^1.0.2": version: 1.0.2 resolution: "@metamask/snaps-ui@npm:1.0.2" dependencies: @@ -5939,6 +5983,22 @@ __metadata: languageName: node linkType: hard +"@metamask/utils@npm:^8.1.0": + version: 8.2.0 + resolution: "@metamask/utils@npm:8.2.0" + dependencies: + "@ethereumjs/tx": ^4.2.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 + superstruct: ^1.0.3 + checksum: 1c70c0f9c375bfa3836c15d48990dbea1c3cadfd3dd69b4867667116c09c3bdeef70a0c7027f1cdea88a9913cb846dc94812ece91be7ec32e65a62e00281b04c + languageName: node + linkType: hard + "@motionone/animation@npm:^10.12.0": version: 10.14.0 resolution: "@motionone/animation@npm:10.14.0" @@ -6963,6 +7023,13 @@ __metadata: languageName: node linkType: hard +"@scure/base@npm:^1.1.3": + version: 1.1.3 + resolution: "@scure/base@npm:1.1.3" + checksum: 1606ab8a4db898cb3a1ada16c15437c3bce4e25854fadc8eb03ae93cbbbac1ed90655af4b0be3da37e12056fef11c0374499f69b9e658c9e5b7b3e06353c630c + languageName: node + linkType: hard + "@scure/bip32@npm:1.3.0": version: 1.3.0 resolution: "@scure/bip32@npm:1.3.0" @@ -7269,7 +7336,7 @@ __metadata: dependencies: "@ethersproject/providers": ^5.7.2 "@metamask/detect-provider": ^2.0.0 - "@metamask/snaps-ui": 1.0.2 + "@metamask/snaps-ui": 3.1.0 "@shapeshiftoss/hdwallet-core": ^1.50.4 "@shapeshiftoss/logger": ^1.1.3 "@shapeshiftoss/metamask-snaps": ^1.0.8 @@ -7342,7 +7409,7 @@ __metadata: "@metamask/key-tree": ^9.0.0 "@metamask/snaps-cli": 1.0.2 "@metamask/snaps-types": ^1.0.1 - "@metamask/snaps-ui": ^1.0.1 + "@metamask/snaps-ui": ^3.1.0 "@metamask/types": ^1.1.0 "@shapeshiftoss/caip": ^8.15.0 "@shapeshiftoss/hdwallet-core": ^1.50.4 @@ -14517,6 +14584,17 @@ __metadata: languageName: node linkType: hard +"fast-xml-parser@npm:^4.1.3": + version: 4.3.2 + resolution: "fast-xml-parser@npm:4.3.2" + dependencies: + strnum: ^1.0.5 + bin: + fxparser: src/cli/cli.js + checksum: d507ce2efa5fd13d0a5ba28bd76dd68f2fc30ad8748357c37b70f360d19417866d79e35a688af067d5bceaaa796033fa985206aef9692f7a421e1326b6e73309 + languageName: node + linkType: hard + "fastest-levenshtein@npm:^1.0.12": version: 1.0.16 resolution: "fastest-levenshtein@npm:1.0.16" @@ -16739,6 +16817,15 @@ __metadata: languageName: node linkType: hard +"is-svg@npm:^4.4.0": + version: 4.4.0 + resolution: "is-svg@npm:4.4.0" + dependencies: + fast-xml-parser: ^4.1.3 + checksum: cd5a0ba1af653e4897721913b0b80de968fa5b19eb1a592412f4672d3a1203935d183c2a9dbf61d68023739ee43d3761ea795ae1a9f618c6098a9e89eacdd256 + languageName: node + linkType: hard + "is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": version: 1.0.4 resolution: "is-symbol@npm:1.0.4" @@ -21388,6 +21475,13 @@ __metadata: languageName: node linkType: hard +"pony-cause@npm:^2.1.10": + version: 2.1.10 + resolution: "pony-cause@npm:2.1.10" + checksum: 8b61378f213e61056312dc274a1c79980154e9d864f6ad86e0c8b91a50d3ce900d430995ee24147c9f3caa440dfe7d51c274b488d7f033b65b206522536d7217 + languageName: node + linkType: hard + "popmotion@npm:11.0.3": version: 11.0.3 resolution: "popmotion@npm:11.0.3" @@ -25518,6 +25612,13 @@ __metadata: languageName: node linkType: hard +"strnum@npm:^1.0.5": + version: 1.0.5 + resolution: "strnum@npm:1.0.5" + checksum: 651b2031db5da1bf4a77fdd2f116a8ac8055157c5420f5569f64879133825915ad461513e7202a16d7fec63c54fd822410d0962f8ca12385c4334891b9ae6dd2 + languageName: node + linkType: hard + "strong-log-transformer@npm:^2.1.0": version: 2.1.0 resolution: "strong-log-transformer@npm:2.1.0"