diff --git a/client/package.json b/client/package.json index 581d94a4..29e97377 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "@nimiq/keyguard-client", - "version": "1.9.0", + "version": "1.10.0", "description": "Nimiq Keyguard client library", "main": "dist/KeyguardClient.common.js", "module": "dist/KeyguardClient.es.js", diff --git a/client/src/PublicRequest.ts b/client/src/PublicRequest.ts index 98c6820f..14407ec9 100644 --- a/client/src/PublicRequest.ts +++ b/client/src/PublicRequest.ts @@ -31,6 +31,7 @@ export type SingleKeyResult = { }>; fileExported: boolean; wordsExported: boolean; + backupCodesExported: boolean; bitcoinXPub?: string; polygonAddresses?: Array<{ address: string, @@ -155,11 +156,13 @@ export type SimpleRequest = BasicRequest & { export type ExportRequest = SimpleRequest & { fileOnly?: boolean, wordsOnly?: boolean, + backupCodesOnly?: boolean, }; export type ExportResult = { fileExported: boolean, wordsExported: boolean, + backupCodesExported: boolean, }; type SignTransactionRequestCommon = SimpleRequest & TransactionInfo; diff --git a/demos/Export.html b/demos/Export.html index 19411c2e..d039a577 100644 --- a/demos/Export.html +++ b/demos/Export.html @@ -13,6 +13,34 @@
+ The codes combined grant access to your account. + Send them to yourself using two different platforms. +
+ Send this code to yourself for example by email or messenger. + Make sure you will find it, in case you need it. +
+ Send this code to yourself using another email or messenger. + For your safety, both codes must be stored separately. +
+ You should now have both codes, stored as messages on two separate platforms. +
+ Requires the two codes you have sent to yourself. +
+ Requires your written down recovery words. +
+ You should have sent the codes to yourself using two different platforms. + Search for the codes using "Nimiq Backup Code". +
Using the Recovery Words creates a new Login File. Create a password to secure it.
Using the Recovery Words creates a new account. Create a password to secure it.
Using a recovery creates a new Login File. Create a password to secure it.
Using a recovery creates a new account. Create a password to secure it.
Please login again to continue.