From 44bab32ae5b99927d3416f33046b86bd39515797 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Wed, 18 Dec 2024 08:46:28 +0100 Subject: [PATCH 1/3] Bump MetaMask dependencies --- package.json | 8 ++--- yarn.lock | 88 ++++++++++++++++++++++++++++++++++++---------------- 2 files changed, 65 insertions(+), 31 deletions(-) diff --git a/package.json b/package.json index c6fb4f5..72d4c84 100644 --- a/package.json +++ b/package.json @@ -30,10 +30,10 @@ "dependencies": { "@metamask/eth-block-tracker": "^11.0.3", "@metamask/eth-json-rpc-provider": "^4.1.5", - "@metamask/eth-sig-util": "^7.0.3", - "@metamask/json-rpc-engine": "^10.0.0", - "@metamask/rpc-errors": "^7.0.0", - "@metamask/utils": "^9.1.0", + "@metamask/eth-sig-util": "^8.1.2", + "@metamask/json-rpc-engine": "^10.0.1", + "@metamask/rpc-errors": "^7.0.2", + "@metamask/utils": "^11.0.1", "@types/bn.js": "^5.1.5", "bn.js": "^5.2.1", "klona": "^2.0.6", diff --git a/yarn.lock b/yarn.lock index 9d7f3c0..6951e07 100644 --- a/yarn.lock +++ b/yarn.lock @@ -853,13 +853,13 @@ __metadata: languageName: node linkType: hard -"@metamask/abi-utils@npm:^2.0.4": - version: 2.0.4 - resolution: "@metamask/abi-utils@npm:2.0.4" +"@metamask/abi-utils@npm:^3.0.0": + version: 3.0.0 + resolution: "@metamask/abi-utils@npm:3.0.0" dependencies: "@metamask/superstruct": ^3.1.0 - "@metamask/utils": ^9.0.0 - checksum: 85b15419248ddec1ab59ec5f3e41276f7509dadd9ced871658fa3cc04805ad35ace96986416aaecd24e3630e92b0ed078328966c92383ffa9b1cc3f0f357ad6c + "@metamask/utils": ^11.0.1 + checksum: 5ac03df29bbb6cb34073e84022f8c53782c46de2817abf057ad4efc841921cee5b9dba8958b22373191fbf111e81b59bbb22d715020e032e06d6a922d59e37cc languageName: node linkType: hard @@ -954,10 +954,10 @@ __metadata: "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/eth-block-tracker": ^11.0.3 "@metamask/eth-json-rpc-provider": ^4.1.5 - "@metamask/eth-sig-util": ^7.0.3 - "@metamask/json-rpc-engine": ^10.0.0 - "@metamask/rpc-errors": ^7.0.0 - "@metamask/utils": ^9.1.0 + "@metamask/eth-sig-util": ^8.1.2 + "@metamask/json-rpc-engine": ^10.0.1 + "@metamask/rpc-errors": ^7.0.2 + "@metamask/utils": ^11.0.1 "@types/bn.js": ^5.1.5 "@types/btoa": ^1.2.3 "@types/jest": ^27.4.1 @@ -1000,38 +1000,38 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-sig-util@npm:^7.0.3": - version: 7.0.3 - resolution: "@metamask/eth-sig-util@npm:7.0.3" +"@metamask/eth-sig-util@npm:^8.1.2": + version: 8.1.2 + resolution: "@metamask/eth-sig-util@npm:8.1.2" dependencies: "@ethereumjs/util": ^8.1.0 - "@metamask/abi-utils": ^2.0.4 - "@metamask/utils": ^9.0.0 + "@metamask/abi-utils": ^3.0.0 + "@metamask/utils": ^11.0.1 "@scure/base": ~1.1.3 ethereum-cryptography: ^2.1.2 tweetnacl: ^1.0.3 - checksum: fd4d0710857525815b241ddecce64988dd12303a9638577429baf180c62cf9cef9403aed01bc046b4860b332d455604c84e4b2a9b5997db16f444125b4b39398 + checksum: f3d467f1a43a4093b067966c4a7409883c7c3d5d7b61b36023e47c1a3fbaad4b4b04f3b6aacb5e34f0a8b0b973d25ab65af3408a2dd38b17581aae4018c5791b languageName: node linkType: hard -"@metamask/json-rpc-engine@npm:^10.0.0": - version: 10.0.0 - resolution: "@metamask/json-rpc-engine@npm:10.0.0" +"@metamask/json-rpc-engine@npm:^10.0.0, @metamask/json-rpc-engine@npm:^10.0.1": + version: 10.0.1 + resolution: "@metamask/json-rpc-engine@npm:10.0.1" dependencies: - "@metamask/rpc-errors": ^7.0.0 + "@metamask/rpc-errors": ^7.0.1 "@metamask/safe-event-emitter": ^3.0.0 - "@metamask/utils": ^9.1.0 - checksum: 0ed1cabe62774d7140c7e27b4485d0a536a95194628ab90f6543cdd7e0a80b80e2789929900c161728b25fb29782d048a18c981d728516e643f4b3be4d971663 + "@metamask/utils": ^10.0.0 + checksum: 277c68cf0036d62c9a1528e9d7e55e000233d02a55fb652edcc16b6149631346d34fe3fefaab13bc55377405e79293afdde5b6e3b61d49a2ce125ca50d7eafe1 languageName: node linkType: hard -"@metamask/rpc-errors@npm:^7.0.0": - version: 7.0.0 - resolution: "@metamask/rpc-errors@npm:7.0.0" +"@metamask/rpc-errors@npm:^7.0.0, @metamask/rpc-errors@npm:^7.0.1, @metamask/rpc-errors@npm:^7.0.2": + version: 7.0.2 + resolution: "@metamask/rpc-errors@npm:7.0.2" dependencies: - "@metamask/utils": ^9.0.0 + "@metamask/utils": ^11.0.1 fast-safe-stringify: ^2.0.6 - checksum: 07984f473e9e7c0f57abee53de8da282d113b3e293453858f44b58a43706486b36dfbe2f46de4a92324797a53730f410d32c382f138ef015e250efacb7de2081 + checksum: 262a1ab57121e277eb979325d8e4335b9f4194c5acd0138ee0032db35b4e20ea0423badb5dad4bdf6abb85d22b476377f17911a54f82b3b1a2bdffc36654d028 languageName: node linkType: hard @@ -1049,7 +1049,41 @@ __metadata: languageName: node linkType: hard -"@metamask/utils@npm:^9.0.0, @metamask/utils@npm:^9.1.0": +"@metamask/utils@npm:^10.0.0": + version: 10.0.1 + resolution: "@metamask/utils@npm:10.0.1" + dependencies: + "@ethereumjs/tx": ^4.2.0 + "@metamask/superstruct": ^3.1.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 + uuid: ^9.0.1 + checksum: 4c350c7a1c881c6af446319942392e6eb62411bff9c512166d816d39702c7b4926a982ebfd56ada317f9332a5416b3211c09e022674cee8272228658977ba851 + languageName: node + linkType: hard + +"@metamask/utils@npm:^11.0.1": + version: 11.0.1 + resolution: "@metamask/utils@npm:11.0.1" + dependencies: + "@ethereumjs/tx": ^4.2.0 + "@metamask/superstruct": ^3.1.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 + uuid: ^9.0.1 + checksum: a5072f87157f6763328767bf1ddc01deb94e13f32af58d0993e0450e7e211fb29882280a1013cbdc7752b152a662be3d9beef8129a9097dba7d465389c398b3c + languageName: node + linkType: hard + +"@metamask/utils@npm:^9.1.0": version: 9.1.0 resolution: "@metamask/utils@npm:9.1.0" dependencies: From 633f81309756fd6606d8b5a782cdde5190939b02 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Wed, 18 Dec 2024 19:04:27 +0100 Subject: [PATCH 2/3] Bump `@metamask/eth-block-tracker` --- package.json | 2 +- yarn.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 72d4c84..887726b 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/eth-block-tracker": "^11.0.3", + "@metamask/eth-block-tracker": "^11.0.4", "@metamask/eth-json-rpc-provider": "^4.1.5", "@metamask/eth-sig-util": "^8.1.2", "@metamask/json-rpc-engine": "^10.0.1", diff --git a/yarn.lock b/yarn.lock index 6951e07..5ad78f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -928,16 +928,16 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-block-tracker@npm:^11.0.3": - version: 11.0.3 - resolution: "@metamask/eth-block-tracker@npm:11.0.3" +"@metamask/eth-block-tracker@npm:^11.0.4": + version: 11.0.4 + resolution: "@metamask/eth-block-tracker@npm:11.0.4" dependencies: "@metamask/eth-json-rpc-provider": ^4.1.5 "@metamask/safe-event-emitter": ^3.1.1 - "@metamask/utils": ^9.1.0 + "@metamask/utils": ^11.0.1 json-rpc-random-id: ^1.0.1 pify: ^5.0.0 - checksum: e1c9673ccc36c14558ebecd8617d9ed704c77e5a3c5ef604c320a8ec56087307dd21651802d0892d1e1e567c82bd1748a7454dbb54099cab25db15f045bd797c + checksum: 81054b9d47299eacbbae8032a7b5f64c3dd4ddd5588b0ca931034ce16020dfef4b454865d016c2323074ecfce68e5381030b9b58494a155579cfd104a575aada languageName: node linkType: hard @@ -952,7 +952,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 - "@metamask/eth-block-tracker": ^11.0.3 + "@metamask/eth-block-tracker": ^11.0.4 "@metamask/eth-json-rpc-provider": ^4.1.5 "@metamask/eth-sig-util": ^8.1.2 "@metamask/json-rpc-engine": ^10.0.1 From ac55ac0887c19ac95d0ae21f9b73b63cb6eee755 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Thu, 19 Dec 2024 12:59:31 +0100 Subject: [PATCH 3/3] Bump `@metamask/json-rpc-engine` and `@metamask/eth-json-rpc-provider` --- package.json | 4 ++-- yarn.lock | 66 +++++++++++++--------------------------------------- 2 files changed, 18 insertions(+), 52 deletions(-) diff --git a/package.json b/package.json index 887726b..915e5e0 100644 --- a/package.json +++ b/package.json @@ -29,9 +29,9 @@ }, "dependencies": { "@metamask/eth-block-tracker": "^11.0.4", - "@metamask/eth-json-rpc-provider": "^4.1.5", + "@metamask/eth-json-rpc-provider": "^4.1.7", "@metamask/eth-sig-util": "^8.1.2", - "@metamask/json-rpc-engine": "^10.0.1", + "@metamask/json-rpc-engine": "^10.0.2", "@metamask/rpc-errors": "^7.0.2", "@metamask/utils": "^11.0.1", "@types/bn.js": "^5.1.5", diff --git a/yarn.lock b/yarn.lock index 5ad78f4..ce1cc4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -953,9 +953,9 @@ __metadata: "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/eth-block-tracker": ^11.0.4 - "@metamask/eth-json-rpc-provider": ^4.1.5 + "@metamask/eth-json-rpc-provider": ^4.1.7 "@metamask/eth-sig-util": ^8.1.2 - "@metamask/json-rpc-engine": ^10.0.1 + "@metamask/json-rpc-engine": ^10.0.2 "@metamask/rpc-errors": ^7.0.2 "@metamask/utils": ^11.0.1 "@types/bn.js": ^5.1.5 @@ -987,16 +987,16 @@ __metadata: languageName: unknown linkType: soft -"@metamask/eth-json-rpc-provider@npm:^4.1.5": - version: 4.1.5 - resolution: "@metamask/eth-json-rpc-provider@npm:4.1.5" +"@metamask/eth-json-rpc-provider@npm:^4.1.5, @metamask/eth-json-rpc-provider@npm:^4.1.7": + version: 4.1.7 + resolution: "@metamask/eth-json-rpc-provider@npm:4.1.7" dependencies: - "@metamask/json-rpc-engine": ^10.0.0 - "@metamask/rpc-errors": ^7.0.0 + "@metamask/json-rpc-engine": ^10.0.2 + "@metamask/rpc-errors": ^7.0.2 "@metamask/safe-event-emitter": ^3.0.0 - "@metamask/utils": ^9.1.0 + "@metamask/utils": ^11.0.1 uuid: ^8.3.2 - checksum: ec291c0814e24d47412f1a5899ff0a0a5383489cf9a165b825a580a636bd0f0f89e270a8ad5f5d63a726aae4836ed32048f914855df685f18d0790616d51f954 + checksum: 579c8124879518bb007b5a5850acdc5af0dbc4bc2208436f63a5639dc7d552b37e79f154c015de22de01c83d0e86e97cba2d599c86884c7c94b37b326d8fd4bc languageName: node linkType: hard @@ -1014,18 +1014,18 @@ __metadata: languageName: node linkType: hard -"@metamask/json-rpc-engine@npm:^10.0.0, @metamask/json-rpc-engine@npm:^10.0.1": - version: 10.0.1 - resolution: "@metamask/json-rpc-engine@npm:10.0.1" +"@metamask/json-rpc-engine@npm:^10.0.2": + version: 10.0.2 + resolution: "@metamask/json-rpc-engine@npm:10.0.2" dependencies: - "@metamask/rpc-errors": ^7.0.1 + "@metamask/rpc-errors": ^7.0.2 "@metamask/safe-event-emitter": ^3.0.0 - "@metamask/utils": ^10.0.0 - checksum: 277c68cf0036d62c9a1528e9d7e55e000233d02a55fb652edcc16b6149631346d34fe3fefaab13bc55377405e79293afdde5b6e3b61d49a2ce125ca50d7eafe1 + "@metamask/utils": ^11.0.1 + checksum: db561d6ffe4de041dc2fe79c6d1eb098bd9eb444864568c4781f3227e6c7e33563ac2858caadb14f6b58facbf189fe0f50725adbc29f3b2641b787e550e548e6 languageName: node linkType: hard -"@metamask/rpc-errors@npm:^7.0.0, @metamask/rpc-errors@npm:^7.0.1, @metamask/rpc-errors@npm:^7.0.2": +"@metamask/rpc-errors@npm:^7.0.2": version: 7.0.2 resolution: "@metamask/rpc-errors@npm:7.0.2" dependencies: @@ -1049,23 +1049,6 @@ __metadata: languageName: node linkType: hard -"@metamask/utils@npm:^10.0.0": - version: 10.0.1 - resolution: "@metamask/utils@npm:10.0.1" - dependencies: - "@ethereumjs/tx": ^4.2.0 - "@metamask/superstruct": ^3.1.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 - uuid: ^9.0.1 - checksum: 4c350c7a1c881c6af446319942392e6eb62411bff9c512166d816d39702c7b4926a982ebfd56ada317f9332a5416b3211c09e022674cee8272228658977ba851 - languageName: node - linkType: hard - "@metamask/utils@npm:^11.0.1": version: 11.0.1 resolution: "@metamask/utils@npm:11.0.1" @@ -1083,23 +1066,6 @@ __metadata: languageName: node linkType: hard -"@metamask/utils@npm:^9.1.0": - version: 9.1.0 - resolution: "@metamask/utils@npm:9.1.0" - dependencies: - "@ethereumjs/tx": ^4.2.0 - "@metamask/superstruct": ^3.1.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 - uuid: ^9.0.1 - checksum: 01f2c71a8f06158d5335bfe96bfd2f3aa39ec6b2323c5d0ff1d3136071a3e8ff7c1804d640ba1d4e07f96f3e68a95ff7729ddfcd34b373e5fefd86d6ef12d034 - languageName: node - linkType: hard - "@noble/curves@npm:1.1.0, @noble/curves@npm:~1.1.0": version: 1.1.0 resolution: "@noble/curves@npm:1.1.0"