zoa-wallet 0.2.2 → 0.2.4
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.mjs +9 -23
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -48482,6 +48482,7 @@ function registerSendCommand(program2) {
|
|
|
48482
48482
|
|
|
48483
48483
|
// dist/ui/banner.js
|
|
48484
48484
|
import chalk3 from "chalk";
|
|
48485
|
+
import figlet from "figlet";
|
|
48485
48486
|
import gradient2 from "gradient-string";
|
|
48486
48487
|
var zoaGradient2 = gradient2([
|
|
48487
48488
|
"#00f5d4",
|
|
@@ -48491,21 +48492,11 @@ var zoaGradient2 = gradient2([
|
|
|
48491
48492
|
"#c77dff"
|
|
48492
48493
|
]);
|
|
48493
48494
|
var subtleGradient = gradient2(["#6b7280", "#9ca3af", "#6b7280"]);
|
|
48494
|
-
var VERSION = "0.2.
|
|
48495
|
-
var ZOA_WALLET_ART = [
|
|
48496
|
-
" \u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588",
|
|
48497
|
-
"\u2591\u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2588\u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 ",
|
|
48498
|
-
" \u2591\u2591\u2591\u2588\u2588\u2588 \u2588\u2588\u2588 \u2591\u2591\u2591 \u2591\u2588\u2588\u2588 \u2588 \u2591 \u2591\u2588\u2588\u2588\u2591\u2588\u2588\u2588\u2588\u2588\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 ",
|
|
48499
|
-
" \u2591\u2591\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2591\u2591\u2588\u2588\u2588\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 ",
|
|
48500
|
-
" \u2588\u2588\u2588\u2591 \u2591\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2591\u2591\u2588 \u2591\u2588\u2588\u2588 \u2591\u2591\u2591 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 ",
|
|
48501
|
-
" \u2588\u2588\u2588\u2591 \u2591\u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591 \u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 ",
|
|
48502
|
-
" \u2588\u2588\u2588\u2591 \u2591\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2591\u2591\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588",
|
|
48503
|
-
"\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591 \u2591\u2591\u2591\u2591\u2591"
|
|
48504
|
-
].join("\n");
|
|
48495
|
+
var VERSION = "0.2.4";
|
|
48505
48496
|
function displayBanner() {
|
|
48497
|
+
const banner = figlet.textSync("ZOA-wallet", { font: "ANSI Shadow" });
|
|
48506
48498
|
console.log();
|
|
48507
|
-
console.log(zoaGradient2.multiline(
|
|
48508
|
-
console.log();
|
|
48499
|
+
console.log(zoaGradient2.multiline(banner));
|
|
48509
48500
|
const tagline = " API-First Crypto Wallet for Developers & AI Agents";
|
|
48510
48501
|
console.log(subtleGradient(tagline));
|
|
48511
48502
|
console.log();
|
|
@@ -48517,13 +48508,6 @@ function displayBanner() {
|
|
|
48517
48508
|
console.log(chalk3.hex("#2d2d2d")(" " + "\u2500".repeat(58)));
|
|
48518
48509
|
console.log();
|
|
48519
48510
|
}
|
|
48520
|
-
function displayMiniBanner() {
|
|
48521
|
-
const diamond = zoaGradient2("\u25C6");
|
|
48522
|
-
const name = zoaGradient2("ZOA");
|
|
48523
|
-
console.log();
|
|
48524
|
-
console.log(` ${diamond} ${chalk3.bold(name)} ${chalk3.hex("#4b5563")(`v${VERSION}`)}`);
|
|
48525
|
-
console.log();
|
|
48526
|
-
}
|
|
48527
48511
|
|
|
48528
48512
|
// dist/index.js
|
|
48529
48513
|
program.option("--json", "Output results as JSON (for scripts and AI agents)");
|
|
@@ -48534,11 +48518,11 @@ program.hook("preAction", (_thisCommand, actionCommand) => {
|
|
|
48534
48518
|
} else {
|
|
48535
48519
|
const cmdName = actionCommand.name();
|
|
48536
48520
|
if (cmdName !== "help") {
|
|
48537
|
-
|
|
48521
|
+
displayBanner();
|
|
48538
48522
|
}
|
|
48539
48523
|
}
|
|
48540
48524
|
});
|
|
48541
|
-
program.name("zoa").description("ZOA Wallet \u2014 API-First Crypto Wallet for Developers & AI Agents").version("0.2.
|
|
48525
|
+
program.name("zoa").description("ZOA Wallet \u2014 API-First Crypto Wallet for Developers & AI Agents").version("0.2.4");
|
|
48542
48526
|
registerInitCommand(program);
|
|
48543
48527
|
registerBalanceCommand(program);
|
|
48544
48528
|
registerSendCommand(program);
|
|
@@ -48549,9 +48533,11 @@ registerChainsCommand(program);
|
|
|
48549
48533
|
registerPricesCommand(program);
|
|
48550
48534
|
registerConfigCommand(program);
|
|
48551
48535
|
registerApiCommand(program);
|
|
48552
|
-
program.parse(process.argv);
|
|
48553
48536
|
if (!process.argv.slice(2).length) {
|
|
48554
48537
|
displayBanner();
|
|
48538
|
+
}
|
|
48539
|
+
program.parse(process.argv);
|
|
48540
|
+
if (!process.argv.slice(2).length) {
|
|
48555
48541
|
program.outputHelp();
|
|
48556
48542
|
console.log();
|
|
48557
48543
|
}
|