Commit f388e60
authored
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 />
[](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
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3305 | 3305 | | |
3306 | 3306 | | |
3307 | 3307 | | |
3308 | | - | |
3309 | | - | |
| 3308 | + | |
| 3309 | + | |
3310 | 3310 | | |
3311 | 3311 | | |
3312 | 3312 | | |
3313 | 3313 | | |
3314 | 3314 | | |
3315 | 3315 | | |
3316 | | - | |
| 3316 | + | |
3317 | 3317 | | |
3318 | 3318 | | |
3319 | 3319 | | |
| |||
0 commit comments