We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f3d4b2 commit b05d079Copy full SHA for b05d079
app/scripts/migrations/190.ts
@@ -3,6 +3,16 @@ import type { Migrate } from './types';
3
4
export const version = 190;
5
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
+ */
16
export const migrate = (async (versionedData, changedKeys) => {
17
versionedData.meta.version = version;
18
0 commit comments