motebit 0.6.2 → 0.6.3
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.
- package/dist/index.js +9 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5315,7 +5315,7 @@ var init_config2 = __esm({
|
|
|
5315
5315
|
"src/config.ts"() {
|
|
5316
5316
|
"use strict";
|
|
5317
5317
|
init_esm_shims();
|
|
5318
|
-
VERSION = true ? "0.6.
|
|
5318
|
+
VERSION = true ? "0.6.3" : "0.0.0-dev";
|
|
5319
5319
|
CONFIG_DIR = path2.join(os.homedir(), ".motebit");
|
|
5320
5320
|
CONFIG_PATH = path2.join(CONFIG_DIR, "config.json");
|
|
5321
5321
|
}
|
|
@@ -29271,10 +29271,14 @@ async function main() {
|
|
|
29271
29271
|
try {
|
|
29272
29272
|
await decryptPrivateKey(fullConfig.cli_encrypted_key, passphrase);
|
|
29273
29273
|
} catch {
|
|
29274
|
-
console.
|
|
29275
|
-
console.
|
|
29276
|
-
|
|
29277
|
-
);
|
|
29274
|
+
console.log();
|
|
29275
|
+
console.log(` ${dim("\u2500")} ${bold("Incorrect passphrase.")}`);
|
|
29276
|
+
console.log();
|
|
29277
|
+
console.log(` ${dim("Try again, or reset your identity:")}`);
|
|
29278
|
+
console.log();
|
|
29279
|
+
console.log(` ${dim("rm ~/.motebit/config.json")}`);
|
|
29280
|
+
console.log(` ${dim("motebit")}`);
|
|
29281
|
+
console.log();
|
|
29278
29282
|
process.exit(1);
|
|
29279
29283
|
}
|
|
29280
29284
|
} else if (fullConfig.cli_private_key != null && fullConfig.cli_private_key !== "") {
|