Commit a8022b5
release(runway): cherry-pick bump: @metamask/profile-metrics-controller cp-13.14.1 (#39359)
- bump: @metamask/profile-metrics-controller cp-13.14.1 (#39270)
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->
~~Depends on MetaMask/core#7624
<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->
Bumping `@metamask/profile-metrics-controller` to `^3.0.0`.
```markdown
- `ProfileMetricsController` contructor now accepts an optional `initialDelayDuration` parameter ([#7624](MetaMask/core#7624))
- The parameter can be used to override the default time-based delay for the first data collection after opt-in
- Add `skipInitialDelay()` method to `ProfileMetricsController` ([#7624](MetaMask/core#7624))
- The method can be also called through the `ProfileMetricsController:skipInitialDelay` action via messenger
- **BREAKING:** `ProileMetricsControllerMessenger` now requires the `TransactionController:transactionSubmitted` action to be allowed ([#7624](MetaMask/core#7624))
- Set time-based delay for first `ProfileMetricsController` data collection after opt-in ([#7624](MetaMask/core#7624))
- Upgrade `@metamask/utils` from `^11.8.1` to `^11.9.0` ([#7511](MetaMask/core#7511))
- Bump `@metamask/controller-utils` from `^11.16.0` to `^11.18.0` ([#7534](MetaMask/core#7534), [#7583](MetaMask/core#7583))
- Bump `@metamask/accounts-controller` from `^35.0.0` to `^35.0.2` ([#7604](MetaMask/core#7604), [#7642](MetaMask/core#7642))
- Bump `@metamask/polling-controller` from `^16.0.0` to `^16.0.2` ([#7604](MetaMask/core#7604), [#7642](MetaMask/core#7642))
```
[](https://codespaces.new/MetaMask/metamask-extension/pull/39270?quickstart=1)
<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`
If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`
(This helps the Release Engineer do their job more quickly and
accurately)
-->
CHANGELOG entry: null
Fixes:
1. Go to this page...
2.
3.
<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->
<!-- [screenshots/recordings] -->
<!-- [screenshots/recordings] -->
- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.
- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Upgrade and integration of profile metrics delay**
>
> - Bumps `@metamask/profile-metrics-controller` to `^3.0.0`;
initializes with `initialDelayDuration` (test: 1s, prod: 10m)
> - Adds `ProfileMetricsController:skipInitialDelay` action to
`AppStateController` messenger and invokes it when
`setPna25Acknowledged(true, true)` is called
> - Updates Profile Metrics messenger to require
`TransactionController:transactionSubmitted` event
> - Adjusts UI (`metametrics` and `welcome`) and `setPna25Acknowledged`
action to support optional delay skipping; updates tests accordingly
> - Updates LavaMoat policies and bumps related packages
(`network-controller`, `polling-controller`, `gas-fee-controller`,
`json-rpc-engine`, `eth-block-tracker`, etc.)
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
f32290f. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
[dba4a74](dba4a74)
---------
Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com>
Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
Co-authored-by: Mark Stacey <mark.stacey@consensys.net>1 parent 4253034 commit a8022b5
File tree
7 files changed
+248
-31
lines changed- lavamoat
- browserify
- beta
- experimental
- flask
- main
- webpack/mv2
7 files changed
+248
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27557 | 27557 | | |
27558 | 27558 | | |
27559 | 27559 | | |
27560 | | - | |
| 27560 | + | |
27561 | 27561 | | |
27562 | 27562 | | |
27563 | 27563 | | |
| |||
28490 | 28490 | | |
28491 | 28491 | | |
28492 | 28492 | | |
| 28493 | + | |
| 28494 | + | |
| 28495 | + | |
| 28496 | + | |
| 28497 | + | |
| 28498 | + | |
| 28499 | + | |
| 28500 | + | |
| 28501 | + | |
| 28502 | + | |
| 28503 | + | |
| 28504 | + | |
| 28505 | + | |
| 28506 | + | |
| 28507 | + | |
| 28508 | + | |
| 28509 | + | |
| 28510 | + | |
| 28511 | + | |
| 28512 | + | |
| 28513 | + | |
| 28514 | + | |
| 28515 | + | |
| 28516 | + | |
| 28517 | + | |
| 28518 | + | |
28493 | 28519 | | |
28494 | 28520 | | |
28495 | 28521 | | |
| |||
28514 | 28540 | | |
28515 | 28541 | | |
28516 | 28542 | | |
28517 | | - | |
| 28543 | + | |
28518 | 28544 | | |
28519 | 28545 | | |
28520 | 28546 | | |
| |||
29962 | 29988 | | |
29963 | 29989 | | |
29964 | 29990 | | |
29965 | | - | |
| 29991 | + | |
29966 | 29992 | | |
29967 | 29993 | | |
29968 | 29994 | | |
| |||
30171 | 30197 | | |
30172 | 30198 | | |
30173 | 30199 | | |
| 30200 | + | |
| 30201 | + | |
| 30202 | + | |
| 30203 | + | |
| 30204 | + | |
| 30205 | + | |
| 30206 | + | |
| 30207 | + | |
| 30208 | + | |
| 30209 | + | |
| 30210 | + | |
| 30211 | + | |
| 30212 | + | |
| 30213 | + | |
| 30214 | + | |
| 30215 | + | |
| 30216 | + | |
| 30217 | + | |
| 30218 | + | |
| 30219 | + | |
| 30220 | + | |
30174 | 30221 | | |
30175 | 30222 | | |
30176 | 30223 | | |
| |||
30528 | 30575 | | |
30529 | 30576 | | |
30530 | 30577 | | |
30531 | | - | |
| 30578 | + | |
30532 | 30579 | | |
30533 | 30580 | | |
30534 | 30581 | | |
| |||
30615 | 30662 | | |
30616 | 30663 | | |
30617 | 30664 | | |
30618 | | - | |
| 30665 | + | |
30619 | 30666 | | |
30620 | 30667 | | |
30621 | 30668 | | |
| |||
32802 | 32849 | | |
32803 | 32850 | | |
32804 | 32851 | | |
| 32852 | + | |
| 32853 | + | |
| 32854 | + | |
| 32855 | + | |
| 32856 | + | |
| 32857 | + | |
| 32858 | + | |
| 32859 | + | |
| 32860 | + | |
| 32861 | + | |
| 32862 | + | |
| 32863 | + | |
| 32864 | + | |
| 32865 | + | |
| 32866 | + | |
| 32867 | + | |
| 32868 | + | |
| 32869 | + | |
| 32870 | + | |
| 32871 | + | |
| 32872 | + | |
| 32873 | + | |
| 32874 | + | |
| 32875 | + | |
| 32876 | + | |
| 32877 | + | |
32805 | 32878 | | |
32806 | 32879 | | |
32807 | 32880 | | |
| |||
33347 | 33420 | | |
33348 | 33421 | | |
33349 | 33422 | | |
33350 | | - | |
| 33423 | + | |
33351 | 33424 | | |
33352 | 33425 | | |
33353 | 33426 | | |
| |||
33634 | 33707 | | |
33635 | 33708 | | |
33636 | 33709 | | |
33637 | | - | |
| 33710 | + | |
33638 | 33711 | | |
33639 | 33712 | | |
33640 | 33713 | | |
| |||
34942 | 35015 | | |
34943 | 35016 | | |
34944 | 35017 | | |
34945 | | - | |
| 35018 | + | |
34946 | 35019 | | |
34947 | 35020 | | |
34948 | 35021 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | | - | |
| 1026 | + | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
| |||
1195 | 1195 | | |
1196 | 1196 | | |
1197 | 1197 | | |
1198 | | - | |
| 1198 | + | |
1199 | 1199 | | |
1200 | 1200 | | |
1201 | 1201 | | |
| |||
1761 | 1761 | | |
1762 | 1762 | | |
1763 | 1763 | | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
1764 | 1793 | | |
1765 | 1794 | | |
1766 | 1795 | | |
| |||
2311 | 2340 | | |
2312 | 2341 | | |
2313 | 2342 | | |
2314 | | - | |
| 2343 | + | |
2315 | 2344 | | |
2316 | 2345 | | |
2317 | 2346 | | |
| |||
5795 | 5824 | | |
5796 | 5825 | | |
5797 | 5826 | | |
5798 | | - | |
| 5827 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | | - | |
| 1026 | + | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
| |||
1195 | 1195 | | |
1196 | 1196 | | |
1197 | 1197 | | |
1198 | | - | |
| 1198 | + | |
1199 | 1199 | | |
1200 | 1200 | | |
1201 | 1201 | | |
| |||
1761 | 1761 | | |
1762 | 1762 | | |
1763 | 1763 | | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
1764 | 1793 | | |
1765 | 1794 | | |
1766 | 1795 | | |
| |||
2311 | 2340 | | |
2312 | 2341 | | |
2313 | 2342 | | |
2314 | | - | |
| 2343 | + | |
2315 | 2344 | | |
2316 | 2345 | | |
2317 | 2346 | | |
| |||
5795 | 5824 | | |
5796 | 5825 | | |
5797 | 5826 | | |
5798 | | - | |
| 5827 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | | - | |
| 1026 | + | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
| |||
1195 | 1195 | | |
1196 | 1196 | | |
1197 | 1197 | | |
1198 | | - | |
| 1198 | + | |
1199 | 1199 | | |
1200 | 1200 | | |
1201 | 1201 | | |
| |||
1761 | 1761 | | |
1762 | 1762 | | |
1763 | 1763 | | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
1764 | 1793 | | |
1765 | 1794 | | |
1766 | 1795 | | |
| |||
2311 | 2340 | | |
2312 | 2341 | | |
2313 | 2342 | | |
2314 | | - | |
| 2343 | + | |
2315 | 2344 | | |
2316 | 2345 | | |
2317 | 2346 | | |
| |||
5795 | 5824 | | |
5796 | 5825 | | |
5797 | 5826 | | |
5798 | | - | |
| 5827 | + | |
0 commit comments