aiprotocol-sbi 1.2.5 → 1.2.7
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/LICENSE +11 -0
- package/dist/modules/economy/commands/economy-launch.command.js +2 -2
- package/dist/modules/grant/grant-status.command.js +1 -2
- package/dist/modules/payment/payment-status.command.js +1 -1
- package/dist/setup.command.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Your Name
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
...
|
|
@@ -56,10 +56,10 @@ let EconomyLaunchCommand = EconomyLaunchCommand_1 = class EconomyLaunchCommand {
|
|
|
56
56
|
}
|
|
57
57
|
const name = this.security.sanitizeString(opts.name, 64);
|
|
58
58
|
const ticker = tickerCheck.value;
|
|
59
|
-
const description = opts.description
|
|
60
|
-
const image = opts.image
|
|
59
|
+
const description = opts.description
|
|
61
60
|
? this.security.sanitizeString(opts.description, 512)
|
|
62
61
|
: undefined;
|
|
62
|
+
const image = opts.image;
|
|
63
63
|
if (!opts.yes && !opts.json) {
|
|
64
64
|
this.output.blank();
|
|
65
65
|
this.output.row("Name", name);
|
|
@@ -30,7 +30,6 @@ let GrantStatusCommand = class GrantStatusCommand {
|
|
|
30
30
|
.action(async (opts) => {
|
|
31
31
|
const cfg = this.config.load();
|
|
32
32
|
const botId = opts.botId || cfg.botId;
|
|
33
|
-
console.log(cfg, "cfg");
|
|
34
33
|
if (!botId) {
|
|
35
34
|
const msg = "No bot ID provided. Pass --botId or configure a default bot.";
|
|
36
35
|
if (opts.json)
|
|
@@ -78,7 +77,7 @@ let GrantStatusCommand = class GrantStatusCommand {
|
|
|
78
77
|
this.output.blank();
|
|
79
78
|
this.output.info("Your agent is ready to launch economy!");
|
|
80
79
|
this.output.blank();
|
|
81
|
-
this.output.info(`Next: aiprotocol-sbi economy launch --name "token name" --ticker "token ticker" --description "token description"`);
|
|
80
|
+
this.output.info(`Next: aiprotocol-sbi economy launch --name "token name" --ticker "token ticker" --description "token description" --image "link"`);
|
|
82
81
|
this.output.blank();
|
|
83
82
|
}
|
|
84
83
|
catch (err) {
|
|
@@ -83,7 +83,7 @@ let PaymentVerifyCommand = class PaymentVerifyCommand {
|
|
|
83
83
|
this.output.blank();
|
|
84
84
|
this.output.info("Your agent is ready to launch economy!");
|
|
85
85
|
this.output.blank();
|
|
86
|
-
this.output.info(`Next: aiprotocol-sbi economy launch --name "token name" --ticker "token ticker" --description "token description"`);
|
|
86
|
+
this.output.info(`Next: aiprotocol-sbi economy launch --name "token name" --ticker "token ticker" --description "token description" --image "link"`);
|
|
87
87
|
this.output.blank();
|
|
88
88
|
}
|
|
89
89
|
catch (err) {
|
package/dist/setup.command.js
CHANGED
|
@@ -131,7 +131,7 @@ let SetupCommand = class SetupCommand {
|
|
|
131
131
|
this.output.row("Payment Token", token);
|
|
132
132
|
this.output.row("Required Amount", requiredAmount);
|
|
133
133
|
this.output.blank();
|
|
134
|
-
this.output.info("
|
|
134
|
+
this.output.info("Approve these funds using 'Approve Script'");
|
|
135
135
|
if (appStatus?.status === "SUCCESS") {
|
|
136
136
|
this.output.success("✅ Payment confirmed! Your agent is funded.");
|
|
137
137
|
this.output.info("aiprotocol-sbi economy launch");
|
|
@@ -213,7 +213,7 @@ let SetupCommand = class SetupCommand {
|
|
|
213
213
|
this.output.row("Wallet", wallet.address);
|
|
214
214
|
this.output.row("Network", network);
|
|
215
215
|
this.output.row("Required Amount", requiredAmount);
|
|
216
|
-
this.output.info("After sending,
|
|
216
|
+
this.output.info("After sending, approve these funds using 'Approve Script'");
|
|
217
217
|
this.output.info("Verify payment using: aiprotocol-sbi payment verify");
|
|
218
218
|
process.exit(0);
|
|
219
219
|
}
|