@metamask-previews/seedless-onboarding-controller 1.0.0-preview-ee33e55 → 1.0.0-preview-48b44963

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -18,6 +18,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
18
18
  - Added a check for `duplicate data` before adding it to the metadata store. ([#5955](https://github.com/MetaMask/core/pull/5955))
19
19
  - renamed `getSeedPhraseBackupHash` to `getSecretDataBackupState` and added optional param (`type`) to look for data with specific type in the controller backup state.
20
20
  - updated `updateBackupMetadataState` method param with `{ keyringId?: string; data: Uint8Array; type: SecretType }`. Previously , `{ keyringId: string; seedPhrase: Uint8Array }`.
21
+ - Added `submitGlobalPassword`. ([#5995](https://github.com/MetaMask/core/pull/5995))
22
+ - Added `storeKeyringEncryptionKey` and `loadKeyringEncryptionKey`. ([#5995](https://github.com/MetaMask/core/pull/5995))
23
+ - Added validations in `fetchAllSecretData`. ([#6047](https://github.com/MetaMask/core/pull/6047))
24
+ - Throwing `NoSecretDataFound` error when the client receives the empty secret data from the metadata store.
25
+ - Throwing `InvalidPrimarySecretDataType` error when the first secret data backup is not a `Mnemonic`. First backup must always be a `Mnemonic`
26
+ since generating a new mnemonic (SRP) is the only way to create a new wallet for a Social Login user.
21
27
 
22
28
  ### Changed
23
29
 
@@ -27,6 +33,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
27
33
  - check for token expired in toprf call, refresh token and retry if expired
28
34
  - `submitPassword` revoke refresh token and replace with new one after password submit to prevent malicious use if refresh token leak in persisted state
29
35
  - Removed `recoveryRatelimitCache` from the controller state. ([#5976](https://github.com/MetaMask/core/pull/5976)).
36
+ - **BREAKING:** Changed `syncLatestGlobalPassword`. ([#5995](https://github.com/MetaMask/core/pull/5995))
37
+ - removed parameter `oldPassword`
38
+ - no longer verifying old password
39
+ - explicitly requring unlocked controller
40
+ - **BREAKING** Changed data structure of return values from `fetchAllSecretData`. ([#6047](https://github.com/MetaMask/core/pull/6047))
41
+ - Now returns `SecretMetadata[]` object instead of `Record<SecretType, Uint8Array[]>`
42
+
43
+ ### Removed
44
+
45
+ - Removed `recoverCurrentDevicePassword`. ([#5995](https://github.com/MetaMask/core/pull/5995))
30
46
 
31
47
  ## [1.0.0]
32
48