Commit 1be70b0
authored
Release/652.0.0 (#7009)
## Explanation
<!--
Thanks for your contribution! Take a moment to answer these questions so
that reviewers have the information they need to properly understand
your changes:
* What is the current state of things and why does it need to change?
* What is the solution your changes offer and how does it work?
* Are there any changes whose purpose might not obvious to those
unfamiliar with the domain?
* If your primary goal was to update one package but you found you had
to update another one along the way, why did you do so?
* If you had to upgrade a dependency, why did you do so?
-->
Major release of SeedlessOnboardingController v6 ~
- Added new public method, `checkIsSeedlessOnboardingUserAuthenticated`
to validate the controller authenticate tokens state.
([#6998](#6998))
- **BREAKING** Update `refreshToken` and `revokeToken` params as
required in `Authenticate` method.
([#6998](#6998))
- Refactor `refreshAuthTokens` method, separately catch refreshJWTToken
and authenticate errors.
([#6998](#6998))
- Bump `@metamask/toprf-secure-backup` package to `0.10.0`.
([#6998](#6998))
- Fixed `Invalid Access Token` error during rehydration.
([#6998](#6998))
## References
<!--
Are there any issues that this pull request is tied to?
Are there other links that reviewers should consult to understand these
changes better?
Are there client or consumer pull requests to adopt any breaking
changes?
For example:
* Fixes #12345
* Related to #67890
-->
* Fix: MetaMask/metamask-extension#37337
## Checklist
- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've communicated my changes to consumers by [updating changelogs
for packages I've
changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs),
highlighting breaking changes as necessary
- [x] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Publishes monorepo 652.0.0 and releases
`@metamask/seedless-onboarding-controller` v6.0.0 with a new auth check
method, breaking auth parameter changes, token refresh refactor,
dependency bump, and an access token fix.
>
> - **`@metamask/seedless-onboarding-controller` v6.0.0**:
> - Added `checkIsSeedlessOnboardingUserAuthenticated`.
> - BREAKING: `authenticate` now requires `refreshToken` and
`revokeToken` params.
> - Refactored `refreshAuthTokens` to separately handle refresh/auth
errors.
> - Bumped `@metamask/toprf-secure-backup` to `0.10.0`.
> - Fixed `Invalid Access Token` during rehydration.
> - **Monorepo**:
> - Bumped root `version` to `652.0.0`.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
9851013. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 7ac6585 commit 1be70b0
File tree
3 files changed
+6
-3
lines changed- packages/seedless-onboarding-controller
3 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
216 | 218 | | |
217 | 219 | | |
218 | 220 | | |
219 | | - | |
| 221 | + | |
| 222 | + | |
220 | 223 | | |
221 | 224 | | |
222 | 225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments