Skip to content

Commit b05d079

Browse files
Update app/scripts/migrations/190.ts
Co-authored-by: Copilot <[email protected]>
1 parent 1f3d4b2 commit b05d079

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/scripts/migrations/190.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ import type { Migrate } from './types';
33

44
export const version = 190;
55

6+
/**
7+
* Migration that removes `null` seedPhrase values from the persisted state.
8+
*
9+
* If the `seedPhrase` property exists on the data object and its value is
10+
* `null`, this migration deletes the property and records `seedPhrase` in
11+
* the set of changed keys.
12+
*
13+
* @param versionedData - The versioned data object to migrate.
14+
* @param changedKeys - A set used to record keys that were modified.
15+
*/
616
export const migrate = (async (versionedData, changedKeys) => {
717
versionedData.meta.version = version;
818

0 commit comments

Comments
 (0)