diff --git a/package-lock.json b/package-lock.json index 06b8ae2f8..3814b719e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,6 +26,7 @@ "class-transformer": "^0.5.1", "core-js": "^3.26.1", "dexie": "^3.2.2", + "dexie-export-import": "^4.0.6", "did-jwt": "^6.9.0", "ethereum-cryptography": "^1.1.2", "ethereumjs-util": "^7.1.5", @@ -12187,6 +12188,14 @@ "node": ">=6.0" } }, + "node_modules/dexie-export-import": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/dexie-export-import/-/dexie-export-import-4.0.6.tgz", + "integrity": "sha512-WFTSm/XB4MNHBZVQJTrWjWvqur7vfpx1mWEWMuTUB9zdW3FTXvkpm7SvsUX55r6y6wmJ3libwA5eRCbVUKmuTw==", + "peerDependencies": { + "dexie": "^2.0.4 || ^3.0.0 || ^4.0.1-alpha.5" + } + }, "node_modules/did-jwt": { "version": "6.9.0", "resolved": "https://registry.npmjs.org/did-jwt/-/did-jwt-6.9.0.tgz", diff --git a/package.json b/package.json index e880fd5b8..9a7a3cb60 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "class-transformer": "^0.5.1", "core-js": "^3.26.1", "dexie": "^3.2.2", + "dexie-export-import": "^4.0.6", "did-jwt": "^6.9.0", "ethereum-cryptography": "^1.1.2", "ethereumjs-util": "^7.1.5", diff --git a/project.yaml b/project.yaml index 8e2141f53..b5b654c21 100644 --- a/project.yaml +++ b/project.yaml @@ -16,6 +16,9 @@ - .2 show error to user when adding a duplicate contact - parse input more robustly (with CSV lib and not commas) +- refactor alerts: + - They show at the top and can be missed, eg. account bakcup download + - commit screen - discover screen diff --git a/src/db/index.ts b/src/db/index.ts index c8c785ccf..6806b600d 100644 --- a/src/db/index.ts +++ b/src/db/index.ts @@ -27,7 +27,7 @@ type NonsensitiveTables = { * https://9to5answer.com/how-to-bypass-warning-unexpected-any-specify-a-different-type-typescript-eslint-no-explicit-any */ export type SensitiveDexie = BaseDexie & T; -export const accountsDB = new BaseDexie("KickStartSensitive") as SensitiveDexie; +export const accountsDB = new BaseDexie("KickStartAccounts") as SensitiveDexie; const SensitiveSchemas = Object.assign({}, AccountsSchema); export type NonsensitiveDexie = diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index 3a8781dc4..f15cb2297 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -122,29 +122,34 @@ Edit Identity + Edit Identity +

Contact Actions

Scan New Contact + Scan New Contact + -

Identity Actions

+

Data

Backup Seed + Backup Identifier Seed + Backup Other Data + Download Settings & Contacts (excluding Identifier Data) + + @@ -198,6 +203,7 @@