aiprotocol-sbi 1.3.2 → 1.3.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.
@@ -18,7 +18,6 @@ const security_service_1 = require("./modules/security/security.service");
18
18
  const audit_service_1 = require("./modules/security/audit.service");
19
19
  const wallet_crypto_service_1 = require("./modules/wallet/wallet-crypto.service");
20
20
  const bot_identity_service_1 = require("./modules/wallet/bot-identity.service");
21
- const wallet_connect_command_1 = require("./modules/wallet/commands/wallet-connect.command");
22
21
  const wallet_who_command_1 = require("./modules/wallet/commands/wallet-who.command");
23
22
  const wallet_status_command_1 = require("./modules/wallet/commands/wallet-status.command");
24
23
  const economy_launch_command_1 = require("./modules/economy/commands/economy-launch.command");
@@ -56,7 +55,6 @@ exports.AppModule = AppModule = __decorate([
56
55
  audit_service_1.AuditService,
57
56
  wallet_crypto_service_1.WalletCryptoService,
58
57
  bot_identity_service_1.BotIdentityService,
59
- wallet_connect_command_1.WalletConnectCommand,
60
58
  wallet_who_command_1.WalletWhoCommand,
61
59
  wallet_status_command_1.WalletStatusCommand,
62
60
  economy_launch_command_1.EconomyLaunchCommand,
@@ -1,5 +1,4 @@
1
1
  import { SetupCommand } from "./setup.command";
2
- import { WalletConnectCommand } from "./modules/wallet/commands/wallet-connect.command";
3
2
  import { WalletWhoCommand } from "./modules/wallet/commands/wallet-who.command";
4
3
  import { WalletStatusCommand } from "./modules/wallet/commands/wallet-status.command";
5
4
  import { EconomyLaunchCommand } from "./modules/economy/commands/economy-launch.command";
@@ -16,7 +15,6 @@ import { CommentVoteCommand } from "./modules/comments/comment-vote.command";
16
15
  import { EconomyRewardsCommand } from "./modules/economy/commands/economy-rewards.command";
17
16
  export declare class CliService {
18
17
  private readonly setup;
19
- private readonly walletConnect;
20
18
  private readonly walletWho;
21
19
  private readonly walletStatus;
22
20
  private readonly economyLaunch;
@@ -33,7 +31,7 @@ export declare class CliService {
33
31
  private readonly economyRewards;
34
32
  private readonly logger;
35
33
  private readonly program;
36
- constructor(setup: SetupCommand, walletConnect: WalletConnectCommand, walletWho: WalletWhoCommand, walletStatus: WalletStatusCommand, economyLaunch: EconomyLaunchCommand, economyStatus: EconomyStatusCommand, economyInfo: EconomyInfoCommand, economyList: EconomyListCommand, createCommentCommand: CreateCommentCommand, commentListCommand: CommentListCommand, commentReplyCommand: CommentReplyCommand, commentRepliesCommand: CommentRepliesCommand, commentVoteCommand: CommentVoteCommand, paymentVerify: PaymentVerifyCommand, grantStatus: GrantStatusCommand, economyRewards: EconomyRewardsCommand);
34
+ constructor(setup: SetupCommand, walletWho: WalletWhoCommand, walletStatus: WalletStatusCommand, economyLaunch: EconomyLaunchCommand, economyStatus: EconomyStatusCommand, economyInfo: EconomyInfoCommand, economyList: EconomyListCommand, createCommentCommand: CreateCommentCommand, commentListCommand: CommentListCommand, commentReplyCommand: CommentReplyCommand, commentRepliesCommand: CommentRepliesCommand, commentVoteCommand: CommentVoteCommand, paymentVerify: PaymentVerifyCommand, grantStatus: GrantStatusCommand, economyRewards: EconomyRewardsCommand);
37
35
  run(argv: string[]): Promise<void>;
38
36
  private buildProgram;
39
37
  }
@@ -15,7 +15,6 @@ const common_1 = require("@nestjs/common");
15
15
  const commander_1 = require("commander");
16
16
  const constants_1 = require("./common/constants");
17
17
  const setup_command_1 = require("./setup.command");
18
- const wallet_connect_command_1 = require("./modules/wallet/commands/wallet-connect.command");
19
18
  const wallet_who_command_1 = require("./modules/wallet/commands/wallet-who.command");
20
19
  const wallet_status_command_1 = require("./modules/wallet/commands/wallet-status.command");
21
20
  const economy_launch_command_1 = require("./modules/economy/commands/economy-launch.command");
@@ -31,9 +30,8 @@ const list_replies_command_1 = require("./modules/comments/list-replies.command"
31
30
  const comment_vote_command_1 = require("./modules/comments/comment-vote.command");
32
31
  const economy_rewards_command_1 = require("./modules/economy/commands/economy-rewards.command");
33
32
  let CliService = CliService_1 = class CliService {
34
- constructor(setup, walletConnect, walletWho, walletStatus, economyLaunch, economyStatus, economyInfo, economyList, createCommentCommand, commentListCommand, commentReplyCommand, commentRepliesCommand, commentVoteCommand, paymentVerify, grantStatus, economyRewards) {
33
+ constructor(setup, walletWho, walletStatus, economyLaunch, economyStatus, economyInfo, economyList, createCommentCommand, commentListCommand, commentReplyCommand, commentRepliesCommand, commentVoteCommand, paymentVerify, grantStatus, economyRewards) {
35
34
  this.setup = setup;
36
- this.walletConnect = walletConnect;
37
35
  this.walletWho = walletWho;
38
36
  this.walletStatus = walletStatus;
39
37
  this.economyLaunch = economyLaunch;
@@ -66,7 +64,6 @@ let CliService = CliService_1 = class CliService {
66
64
  const wallet = this.program
67
65
  .command("wallet")
68
66
  .description("Manage the agent wallet and bot identity");
69
- this.walletConnect.register(wallet);
70
67
  this.walletWho.register(wallet);
71
68
  this.walletStatus.register(wallet);
72
69
  const economy = this.program
@@ -99,7 +96,6 @@ exports.CliService = CliService;
99
96
  exports.CliService = CliService = CliService_1 = __decorate([
100
97
  (0, common_1.Injectable)(),
101
98
  __metadata("design:paramtypes", [setup_command_1.SetupCommand,
102
- wallet_connect_command_1.WalletConnectCommand,
103
99
  wallet_who_command_1.WalletWhoCommand,
104
100
  wallet_status_command_1.WalletStatusCommand,
105
101
  economy_launch_command_1.EconomyLaunchCommand,
@@ -57,10 +57,10 @@ let EconomyLaunchCommand = EconomyLaunchCommand_1 = class EconomyLaunchCommand {
57
57
  }
58
58
  const name = this.security.sanitizeString(opts.name, 64);
59
59
  const ticker = tickerCheck.value;
60
- const description = opts?.description;
61
- const moltBookUrl = opts?.moltbook
60
+ const description = opts?.description
62
61
  ? this.security.sanitizeString(opts.description, 512)
63
62
  : undefined;
63
+ const moltBookUrl = opts?.moltbook;
64
64
  const image = opts.image;
65
65
  if (!opts.yes && !opts.json) {
66
66
  this.output.blank();