hodl-wallet 1.3.8 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.mjs +4 -4
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -93,12 +93,12 @@ class Wallet {
93
93
  async loadAccount(forceReload = false) {
94
94
  let account = this.db.secureGet('account');
95
95
 
96
- const choices = ['Create New Account', 'Import Mnemonic (12 words)', 'Import private-key'];
96
+ const choices = ['Create New Account', 'Import Mnemonic (12 words)', 'Import Private-key'];
97
97
 
98
98
  if (forceReload) {
99
99
  choices.push('Export Account');
100
100
  choices.push('Switch Network');
101
- choices.push('Go back');
101
+ choices.push('Go Back');
102
102
  }
103
103
 
104
104
  if (!account || forceReload) {
@@ -109,7 +109,7 @@ class Wallet {
109
109
  choices,
110
110
  });
111
111
 
112
- if (accountAction === 'Go back') {
112
+ if (accountAction === 'Go Back') {
113
113
  return;
114
114
  }
115
115
 
@@ -166,7 +166,7 @@ class Wallet {
166
166
  }
167
167
  }
168
168
 
169
- if (accountAction === 'Import private-key') {
169
+ if (accountAction === 'Import Private-key') {
170
170
  const { privateKey } = await inquirer.prompt({
171
171
  type: 'password',
172
172
  name: 'privateKey',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hodl-wallet",
3
- "version": "1.3.8",
3
+ "version": "1.4.2",
4
4
  "description": "🧊 HODL Wallet - Fast CLI crypto wallet!",
5
5
  "author": "Martin Clasen",
6
6
  "repository": {