Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/profile-metrics-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Tag each account with an `accountSource` on `AccountWithScopes`, submitted to the auth API as `account_source` ([#10107](https://github.com/MetaMask/core/pull/10107))
- The value (`'mnemonic' | 'hardware' | 'imported' | 'snap'`) is derived from the account's entropy source and `metadata.keyring.type`; accounts with an unrecognized keyring type are left untagged since the API rejects unknown values.
- Adds a `reportedAccounts` state property recording the canonical addresses that have been submitted, so enqueuing them again is a no-op.
- Re-enqueues all known accounts on the first unlock after upgrading so previously-synced records get an account source and canonical address, gated by a new `accountSourceBackfillEnqueued` state flag (fresh installs flip the flag on their initial sync).

### Changed

- Canonicalize account addresses when they are enqueued rather than only when a proof of ownership is signed, so accounts without a proof (hardware, imported, non-mnemonic Snap) are also submitted in canonical form ([#10107](https://github.com/MetaMask/core/pull/10107))
Comment thread
mathieuartu marked this conversation as resolved.
- Bump `uuid` from `^8.3.2` to `^9.0.1` ([#10117](https://github.com/MetaMask/core/pull/10117))

## [5.0.0]
Expand Down
Loading