Skip to content

Commit f388e60

Browse files
chore: Bump @metamask/eth-block-tracker from 12.1.0 to 12.2.1 (#3680)
Bumps [@metamask/eth-block-tracker](https://github.com/MetaMask/eth-block-tracker) from 12.1.0 to 12.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/MetaMask/eth-block-tracker/releases"><code>@​metamask/eth-block-tracker</code>'s releases</a>.</em></p> <blockquote> <h2>12.2.1</h2> <h3>Fixed</h3> <ul> <li><code>PollingBlockTracker.checkForLatestBlock()</code> and <code>getLatestBlock()</code> now clear the cached block after <code>blockReset</code> duration when called and the <code>PollingBlockTracker</code> is not polling. (<a href="https://redirect.github.com/MetaMask/eth-block-tracker/pull/348">#348</a>)</li> </ul> <h2>12.2.0</h2> <h3>Changed</h3> <ul> <li><code>PollingBlockTracker.getLatestBlock()</code> now accepts an optional parameter <code>useCache</code> (<a href="https://redirect.github.com/MetaMask/eth-block-tracker/pull/340">#340</a>) <ul> <li>This option defaults to <code>true</code>, but when <code>false</code>, it ignores the cached block number and instead updates and returns a new block number, ensuring that the frequency of requests is limited to the <code>pollingInterval</code> period</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/MetaMask/eth-block-tracker/blob/main/CHANGELOG.md"><code>@​metamask/eth-block-tracker</code>'s changelog</a>.</em></p> <blockquote> <h2>[12.2.1]</h2> <h3>Fixed</h3> <ul> <li><code>PollingBlockTracker.checkForLatestBlock()</code> and <code>getLatestBlock()</code> now clear the cached block after <code>blockReset</code> duration when called and the <code>PollingBlockTracker</code> is not polling. (<a href="https://redirect.github.com/MetaMask/eth-block-tracker/pull/348">#348</a>)</li> </ul> <h2>[12.2.0]</h2> <h3>Changed</h3> <ul> <li><code>PollingBlockTracker.getLatestBlock()</code> now accepts an optional parameter <code>useCache</code> (<a href="https://redirect.github.com/MetaMask/eth-block-tracker/pull/340">#340</a>) <ul> <li>This option defaults to <code>true</code>, but when <code>false</code>, it ignores the cached block number and instead updates and returns a new block number, ensuring that the frequency of requests is limited to the <code>pollingInterval</code> period</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/MetaMask/eth-block-tracker/commit/7b12694ec44493163bee8460b83aa3d47077dbeb"><code>7b12694</code></a> 12.2.1 (<a href="https://redirect.github.com/MetaMask/eth-block-tracker/issues/349">#349</a>)</li> <li><a href="https://github.com/MetaMask/eth-block-tracker/commit/cd5c1345f5d1839b7f6393f896ba52abf0cbc87e"><code>cd5c134</code></a> fix: clear cached block after blockResetTimeout when updating the block while...</li> <li><a href="https://github.com/MetaMask/eth-block-tracker/commit/bf71b66fb43762b881f173048e9381a86cc795a2"><code>bf71b66</code></a> chore: Update codewner to reflect team change (<a href="https://redirect.github.com/MetaMask/eth-block-tracker/issues/347">#347</a>)</li> <li><a href="https://github.com/MetaMask/eth-block-tracker/commit/d6143ed8607866e929d26bd20cf92e9b77137018"><code>d6143ed</code></a> test: Prevent tests from inserting code synchronously after <code>setTimeout</code> (<a href="https://redirect.github.com/MetaMask/eth-block-tracker/issues/346">#346</a>)</li> <li><a href="https://github.com/MetaMask/eth-block-tracker/commit/11291053f49df4712844df9899a584fa39cc4234"><code>1129105</code></a> 12.2.0 (<a href="https://redirect.github.com/MetaMask/eth-block-tracker/issues/341">#341</a>)</li> <li><a href="https://github.com/MetaMask/eth-block-tracker/commit/1d1406bb62be956c6f57641080989d88123f6882"><code>1d1406b</code></a> feat: Add <code>useCache</code> optional param to <code>getLatestBlock()</code> (<a href="https://redirect.github.com/MetaMask/eth-block-tracker/issues/340">#340</a>)</li> <li>See full diff in <a href="https://github.com/MetaMask/eth-block-tracker/compare/v12.1.0...v12.2.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@metamask/eth-block-tracker&package-manager=npm_and_yarn&previous-version=12.1.0&new-version=12.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Upgrade @metamask/eth-block-tracker from 12.1.0 to 12.2.1. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 8be5c79. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 98669a2 commit f388e60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3305,15 +3305,15 @@ __metadata:
33053305
linkType: hard
33063306

33073307
"@metamask/eth-block-tracker@npm:^12.0.0":
3308-
version: 12.1.0
3309-
resolution: "@metamask/eth-block-tracker@npm:12.1.0"
3308+
version: 12.2.1
3309+
resolution: "@metamask/eth-block-tracker@npm:12.2.1"
33103310
dependencies:
33113311
"@metamask/eth-json-rpc-provider": "npm:^5.0.0"
33123312
"@metamask/safe-event-emitter": "npm:^3.1.1"
33133313
"@metamask/utils": "npm:^11.0.1"
33143314
json-rpc-random-id: "npm:^1.0.1"
33153315
pify: "npm:^5.0.0"
3316-
checksum: 10/8d46913e1ca3fb02cc0a6ad821a8d8a46311ecafe1e947e7c0f6f849d5b8b500b64471dcdb50a2fecce9924cbedcae2fcd86850041526af713812c154ac8e0be
3316+
checksum: 10/70f0f4179bb7d0d9d64d54887ea03302e74221c92971a7081db05811d97cc85b8d75d95cf00ea09b10a0188c1c3cde34896d97d1952623e99ea124ac5e5eeb67
33173317
languageName: node
33183318
linkType: hard
33193319

0 commit comments

Comments
 (0)