Skip to content

Commit 1be70b0

Browse files
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

3 files changed

+6
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/core-monorepo",
3-
"version": "651.0.0",
3+
"version": "652.0.0",
44
"private": true,
55
"description": "Monorepo for packages shared between MetaMask clients",
66
"repository": {

packages/seedless-onboarding-controller/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [6.0.0]
11+
1012
### Added
1113

1214
- Added new public method, `checkIsSeedlessOnboardingUserAuthenticated` to validate the controller authenticate tokens state. ([#6998](https://github.com/MetaMask/core/pull/6998))
@@ -216,7 +218,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
216218
- `checkIsPasswordOutdated`: Check if the password is current device is outdated, i.e. user changed password in another device.
217219
- `clearState`: Reset the state of the controller to the defaults.
218220

219-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
221+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
222+
[6.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
220223
[5.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
221224
[4.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
222225
[4.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/seedless-onboarding-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/seedless-onboarding-controller",
3-
"version": "5.0.0",
3+
"version": "6.0.0",
44
"description": "Backup and rehydrate SRP(s) using social login and password",
55
"keywords": [
66
"MetaMask",

0 commit comments

Comments
 (0)