@metamask-previews/seedless-onboarding-controller 4.1.1-preview-9fa15fd0 → 5.0.0-preview-55f130d1

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
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [5.0.0]
11
+
12
+ ### Changed
13
+
14
+ - **BREAKING:** Use new `Messenger` from `@metamask/messenger` ([#6364](https://github.com/MetaMask/core/pull/6364))
15
+ - Previously, `SeedlessOnboardingController` accepted a `RestrictedMessenger` instance from `@metamask/base-controller`.
16
+ - **BREAKING:** Metadata property `anonymous` renamed to `includeInDebugSnapshot` ([#6364](https://github.com/MetaMask/core/pull/6364))
17
+ - **BREAKING:** Bump `@metamask/keyring-controller` from `^23.0.0` to `^24.0.0` ([#6962](https://github.com/MetaMask/core/pull/6962))
18
+ - Bump `@metamask/base-controller` from `^8.4.2` to `^9.0.0` ([#6962](https://github.com/MetaMask/core/pull/6962))
19
+
10
20
  ## [4.1.1]
11
21
 
12
22
  ### Changed
@@ -192,7 +202,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
192
202
  - `checkIsPasswordOutdated`: Check if the password is current device is outdated, i.e. user changed password in another device.
193
203
  - `clearState`: Reset the state of the controller to the defaults.
194
204
 
195
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/seedless-onboarding-controller@4.1.1...HEAD
205
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/seedless-onboarding-controller@5.0.0...HEAD
206
+ [5.0.0]: https://github.com/MetaMask/core/compare/@metamask/seedless-onboarding-controller@4.1.1...@metamask/seedless-onboarding-controller@5.0.0
196
207
  [4.1.1]: https://github.com/MetaMask/core/compare/@metamask/seedless-onboarding-controller@4.1.0...@metamask/seedless-onboarding-controller@4.1.1
197
208
  [4.1.0]: https://github.com/MetaMask/core/compare/@metamask/seedless-onboarding-controller@4.0.0...@metamask/seedless-onboarding-controller@4.1.0
198
209
  [4.0.0]: https://github.com/MetaMask/core/compare/@metamask/seedless-onboarding-controller@3.0.0...@metamask/seedless-onboarding-controller@4.0.0
@@ -63,99 +63,99 @@ const seedlessOnboardingMetadata = {
63
63
  vault: {
64
64
  includeInStateLogs: false,
65
65
  persist: true,
66
- anonymous: false,
66
+ includeInDebugSnapshot: false,
67
67
  usedInUi: false,
68
68
  },
69
69
  socialBackupsMetadata: {
70
70
  includeInStateLogs: false,
71
71
  persist: true,
72
- anonymous: false,
72
+ includeInDebugSnapshot: false,
73
73
  usedInUi: false,
74
74
  },
75
75
  nodeAuthTokens: {
76
76
  includeInStateLogs: (nodeAuthTokens) => !(0, utils_1.isNullOrUndefined)(nodeAuthTokens),
77
77
  persist: true,
78
- anonymous: false,
78
+ includeInDebugSnapshot: false,
79
79
  usedInUi: false,
80
80
  },
81
81
  authConnection: {
82
82
  includeInStateLogs: true,
83
83
  persist: true,
84
- anonymous: true,
84
+ includeInDebugSnapshot: true,
85
85
  usedInUi: true,
86
86
  },
87
87
  authConnectionId: {
88
88
  includeInStateLogs: true,
89
89
  persist: true,
90
- anonymous: true,
90
+ includeInDebugSnapshot: true,
91
91
  usedInUi: false,
92
92
  },
93
93
  groupedAuthConnectionId: {
94
94
  includeInStateLogs: true,
95
95
  persist: true,
96
- anonymous: true,
96
+ includeInDebugSnapshot: true,
97
97
  usedInUi: false,
98
98
  },
99
99
  userId: {
100
100
  includeInStateLogs: true,
101
101
  persist: true,
102
- anonymous: false,
102
+ includeInDebugSnapshot: false,
103
103
  usedInUi: false,
104
104
  },
105
105
  socialLoginEmail: {
106
106
  includeInStateLogs: false,
107
107
  persist: true,
108
- anonymous: false,
108
+ includeInDebugSnapshot: false,
109
109
  usedInUi: true,
110
110
  },
111
111
  vaultEncryptionKey: {
112
112
  includeInStateLogs: false,
113
113
  persist: false,
114
- anonymous: false,
114
+ includeInDebugSnapshot: false,
115
115
  usedInUi: false,
116
116
  },
117
117
  vaultEncryptionSalt: {
118
118
  includeInStateLogs: false,
119
119
  persist: false,
120
- anonymous: false,
120
+ includeInDebugSnapshot: false,
121
121
  usedInUi: false,
122
122
  },
123
123
  authPubKey: {
124
124
  includeInStateLogs: true,
125
125
  persist: true,
126
- anonymous: false,
126
+ includeInDebugSnapshot: false,
127
127
  usedInUi: false,
128
128
  },
129
129
  passwordOutdatedCache: {
130
130
  includeInStateLogs: true,
131
131
  persist: true,
132
- anonymous: true,
132
+ includeInDebugSnapshot: true,
133
133
  usedInUi: false,
134
134
  },
135
135
  refreshToken: {
136
136
  includeInStateLogs: (refreshToken) => !(0, utils_1.isNullOrUndefined)(refreshToken),
137
137
  persist: true,
138
- anonymous: false,
138
+ includeInDebugSnapshot: false,
139
139
  usedInUi: false,
140
140
  },
141
141
  revokeToken: {
142
142
  includeInStateLogs: (revokeToken) => !(0, utils_1.isNullOrUndefined)(revokeToken),
143
143
  persist: false,
144
- anonymous: false,
144
+ includeInDebugSnapshot: false,
145
145
  usedInUi: false,
146
146
  },
147
147
  pendingToBeRevokedTokens: {
148
148
  includeInStateLogs: (pendingToBeRevokedTokens) => !(0, utils_1.isNullOrUndefined)(pendingToBeRevokedTokens) &&
149
149
  pendingToBeRevokedTokens.length > 0,
150
150
  persist: true,
151
- anonymous: false,
151
+ includeInDebugSnapshot: false,
152
152
  usedInUi: false,
153
153
  },
154
154
  // stays in vault
155
155
  accessToken: {
156
156
  includeInStateLogs: (accessToken) => !(0, utils_1.isNullOrUndefined)(accessToken),
157
157
  persist: false,
158
- anonymous: false,
158
+ includeInDebugSnapshot: false,
159
159
  usedInUi: false,
160
160
  },
161
161
  // stays outside of vault as this token is accessed by the metadata service
@@ -163,25 +163,25 @@ const seedlessOnboardingMetadata = {
163
163
  metadataAccessToken: {
164
164
  includeInStateLogs: (metadataAccessToken) => !(0, utils_1.isNullOrUndefined)(metadataAccessToken),
165
165
  persist: true,
166
- anonymous: false,
166
+ includeInDebugSnapshot: false,
167
167
  usedInUi: false,
168
168
  },
169
169
  encryptedSeedlessEncryptionKey: {
170
170
  includeInStateLogs: false,
171
171
  persist: true,
172
- anonymous: false,
172
+ includeInDebugSnapshot: false,
173
173
  usedInUi: false,
174
174
  },
175
175
  encryptedKeyringEncryptionKey: {
176
176
  includeInStateLogs: false,
177
177
  persist: true,
178
- anonymous: false,
178
+ includeInDebugSnapshot: false,
179
179
  usedInUi: false,
180
180
  },
181
181
  isSeedlessOnboardingUserAuthenticated: {
182
182
  includeInStateLogs: true,
183
183
  persist: true,
184
- anonymous: true,
184
+ includeInDebugSnapshot: true,
185
185
  usedInUi: false,
186
186
  },
187
187
  };