@blockrun/clawrouter 0.12.124 → 0.12.126
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 +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/reinstall.sh +40 -5
- package/scripts/update.sh +45 -6
package/dist/index.js
CHANGED
|
@@ -80993,7 +80993,7 @@ function restartProxyForChainSwitch(api) {
|
|
|
80993
80993
|
}
|
|
80994
80994
|
function createWalletCommand(api) {
|
|
80995
80995
|
return {
|
|
80996
|
-
name: "
|
|
80996
|
+
name: "wallet",
|
|
80997
80997
|
description: "Show BlockRun wallet info, balance, chain, or export key",
|
|
80998
80998
|
acceptsArgs: true,
|
|
80999
80999
|
requireAuth: true,
|
|
@@ -81208,12 +81208,12 @@ Run \`openclaw plugins install @blockrun/clawrouter\` to generate a wallet.`,
|
|
|
81208
81208
|
`**Key File:** \`${WALLET_FILE}\``,
|
|
81209
81209
|
"",
|
|
81210
81210
|
"**Commands:**",
|
|
81211
|
-
"\u2022 `/
|
|
81212
|
-
"\u2022 `/
|
|
81211
|
+
"\u2022 `/wallet` - Show this status",
|
|
81212
|
+
"\u2022 `/wallet export` - Export private key for backup",
|
|
81213
81213
|
"\u2022 `/stats` - Detailed usage breakdown",
|
|
81214
|
-
!solanaSection ? "\u2022 `/
|
|
81215
|
-
solanaSection ? "\u2022 `/
|
|
81216
|
-
solanaSection ? "\u2022 `/
|
|
81214
|
+
!solanaSection ? "\u2022 `/wallet solana` - Enable Solana payments" : "",
|
|
81215
|
+
solanaSection ? "\u2022 `/wallet base` - Switch to Base (EVM)" : "",
|
|
81216
|
+
solanaSection ? "\u2022 `/wallet solana` - Switch to Solana" : ""
|
|
81217
81217
|
].filter(Boolean).join("\n")
|
|
81218
81218
|
};
|
|
81219
81219
|
}
|
|
@@ -81301,14 +81301,14 @@ var plugin = {
|
|
|
81301
81301
|
}
|
|
81302
81302
|
api.registerCommand(createWalletCommand(api));
|
|
81303
81303
|
try {
|
|
81304
|
-
const
|
|
81305
|
-
|
|
81306
|
-
api.registerCommand(
|
|
81304
|
+
const blockrunAlias = createWalletCommand(api);
|
|
81305
|
+
blockrunAlias.name = "blockrun";
|
|
81306
|
+
api.registerCommand(blockrunAlias);
|
|
81307
81307
|
} catch {
|
|
81308
81308
|
}
|
|
81309
81309
|
api.registerCommand(createStatsCommand());
|
|
81310
81310
|
api.registerCommand(createExcludeCommand());
|
|
81311
|
-
api.logger.info("Commands registered: /
|
|
81311
|
+
api.logger.info("Commands registered: /wallet, /blockrun, /stats, /exclude");
|
|
81312
81312
|
api.registerService({
|
|
81313
81313
|
id: "clawrouter-proxy",
|
|
81314
81314
|
start: () => {
|