aiprotocol-sbi 1.2.4 → 1.2.6
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/modules/backend-api/backend-api.service.d.ts +1 -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 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -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
|
@@ -170,7 +170,7 @@ let SetupCommand = class SetupCommand {
|
|
|
170
170
|
if (!opts.applicantName ||
|
|
171
171
|
!opts.applicantEmail ||
|
|
172
172
|
!opts.purpose ||
|
|
173
|
-
|
|
173
|
+
!opts.links) {
|
|
174
174
|
throw new Error("GRANT requires --applicant-name, --applicant-email, --purpose --links");
|
|
175
175
|
}
|
|
176
176
|
this.output.section("AIP Grant Application");
|
|
@@ -182,6 +182,7 @@ let SetupCommand = class SetupCommand {
|
|
|
182
182
|
network,
|
|
183
183
|
wallet_address: wallet.address,
|
|
184
184
|
type: "GRANT",
|
|
185
|
+
links: opts.links,
|
|
185
186
|
});
|
|
186
187
|
this.output.success("Grant application submitted!");
|
|
187
188
|
this.output.row("Application ID", result._id);
|