diff --git a/exodusRecovery.js b/exodusRecovery.js index 87a332d..208d84d 100644 --- a/exodusRecovery.js +++ b/exodusRecovery.js @@ -1,4 +1,4 @@ -const cryptography = require('@liskhq/lisk-cryptography'); +const cryptography = require('@liskhq/lisk-cryptography'); const readline = require('readline'); const nacl = require('tweetnacl'); @@ -60,8 +60,11 @@ rl.question('Enter your private key (hex format): ', (privateKeyHex) => { } catch (error) { console.error('Error:', error); } finally { - rl.close(); - process.exit(0); + rl.question('Press Enter to exit...', () => { + rl.close(); + process.exit(0); + }); } }); }); + diff --git a/package.json b/package.json index ce5ba88..b589805 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,6 @@ "version": "1.0.0", "description": "Tool for creating backup JSON for the Lisk Desktop from a private key", "main": "exodusRecovery.js", - }, "bin": { "exodusRecovery": "./exodusRecovery.js" }, @@ -13,7 +12,7 @@ "node": "18.x" }, "dependencies": { - "@liskhq/lisk-cryptography": "^4.4.0", + "@liskhq/lisk-cryptography": "^4.0.0", "tweetnacl": "^1.0.3" } }