@heyamiko/amiko-cli 0.5.12 → 0.5.13
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -75666,7 +75666,7 @@ function registerSwapCommand(program2) {
|
|
|
75666
75666
|
}
|
|
75667
75667
|
const allWallets = auth.agentWallets || config2.agentWallets || [];
|
|
75668
75668
|
const solanaAgentWallet = allWallets.find((w5) => w5.chain === "solana")?.address;
|
|
75669
|
-
const wallet = opts.wallet || config2.wallet
|
|
75669
|
+
const wallet = opts.wallet || solanaAgentWallet || config2.wallet;
|
|
75670
75670
|
if (!wallet) {
|
|
75671
75671
|
console.error(error("No Solana wallet found. Provide --wallet <address>"));
|
|
75672
75672
|
process.exit(1);
|