Skip to content

Commit 2946ebe

Browse files
authored
Bump eth-block-tracker to v12 (#372)
`@metamask/eth-block-tracker` 12.0.0 contains a fix to `getLatestBlock` where it will now reject if an error is thrown while making the request instead of hanging.
1 parent ccaa4c9 commit 2946ebe

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"test:watch": "jest --watch"
3030
},
3131
"dependencies": {
32-
"@metamask/eth-block-tracker": "^11.0.4",
32+
"@metamask/eth-block-tracker": "^12.0.0",
3333
"@metamask/eth-json-rpc-provider": "^4.1.7",
3434
"@metamask/eth-sig-util": "^8.1.2",
3535
"@metamask/json-rpc-engine": "^10.0.2",

yarn.lock

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,6 +981,19 @@ __metadata:
981981
languageName: node
982982
linkType: hard
983983

984+
"@metamask/eth-block-tracker@npm:^12.0.0":
985+
version: 12.0.0
986+
resolution: "@metamask/eth-block-tracker@npm:12.0.0"
987+
dependencies:
988+
"@metamask/eth-json-rpc-provider": ^4.1.5
989+
"@metamask/safe-event-emitter": ^3.1.1
990+
"@metamask/utils": ^11.0.1
991+
json-rpc-random-id: ^1.0.1
992+
pify: ^5.0.0
993+
checksum: d64d5268abcaa146ac5a042e1d54acb338ebe545360fe86b4593499c0c964ce7124d181fddbd9a5839cb51988db44ef5e84525bc93bbe76fa257da34b6893cad
994+
languageName: node
995+
linkType: hard
996+
984997
"@metamask/eth-json-rpc-infura@npm:^10.0.0":
985998
version: 10.0.0
986999
resolution: "@metamask/eth-json-rpc-infura@npm:10.0.0"
@@ -1024,7 +1037,7 @@ __metadata:
10241037
"@metamask/eslint-config-jest": ^12.1.0
10251038
"@metamask/eslint-config-nodejs": ^12.1.0
10261039
"@metamask/eslint-config-typescript": ^12.1.0
1027-
"@metamask/eth-block-tracker": ^11.0.4
1040+
"@metamask/eth-block-tracker": ^12.0.0
10281041
"@metamask/eth-json-rpc-provider": ^4.1.7
10291042
"@metamask/eth-sig-util": ^8.1.2
10301043
"@metamask/json-rpc-engine": ^10.0.2

0 commit comments

Comments
 (0)