clawmoney 0.17.21 → 0.17.22
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/commands/setup.js +5 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/commands/setup.js
CHANGED
|
@@ -120,10 +120,10 @@ export async function setupCommand() {
|
|
|
120
120
|
wallet_address: loginData.agent?.wallet_address ?? undefined,
|
|
121
121
|
});
|
|
122
122
|
// Always hit /me/wallet/balance to (a) let the backend reconcile
|
|
123
|
-
//
|
|
124
|
-
//
|
|
125
|
-
//
|
|
126
|
-
//
|
|
123
|
+
// any pre-CDP wallet address still on the agent row to the canonical
|
|
124
|
+
// Coinbase server wallet, and (b) cache the authoritative address
|
|
125
|
+
// back to config. The returned `address` is the CDP server-wallet
|
|
126
|
+
// account address after _ensure_agent_wallet has run.
|
|
127
127
|
let walletAddress = '';
|
|
128
128
|
const walletSpinner = ora('Reconciling CDP wallet...').start();
|
|
129
129
|
try {
|
|
@@ -134,7 +134,7 @@ export async function setupCommand() {
|
|
|
134
134
|
const prior = loginData.agent?.wallet_address ?? '';
|
|
135
135
|
if (prior && prior.toLowerCase() !== walletAddress.toLowerCase()) {
|
|
136
136
|
walletSpinner.succeed(`Wallet migrated: ${prior} → ${walletAddress}`);
|
|
137
|
-
console.log(chalk.yellow(` (Your
|
|
137
|
+
console.log(chalk.yellow(` (Your previous address ${prior} is no longer`));
|
|
138
138
|
console.log(chalk.yellow(` used by this CLI. Transfer any remaining funds manually.)`));
|
|
139
139
|
}
|
|
140
140
|
else {
|
package/dist/index.js
CHANGED
|
@@ -160,7 +160,7 @@ promote
|
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
162
|
// wallet
|
|
163
|
-
const wallet = program.command('wallet').description('Wallet commands (
|
|
163
|
+
const wallet = program.command('wallet').description('Wallet commands (Coinbase server wallet)');
|
|
164
164
|
wallet
|
|
165
165
|
.command('status')
|
|
166
166
|
.description('Show wallet authentication status')
|