fibx 0.2.3 → 0.2.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.
package/README.md CHANGED
@@ -14,6 +14,7 @@ A command-line tool for specialized DeFi operations on **Base, Citrea, HyperEVM,
14
14
  - **Aave V3 Integration**: Supply, borrow, repay, and withdraw assets on Base (DeFi).
15
15
  - **Automated Auth Flow**: One-time email OTP login provisions a persistent server wallet linked to your user profile.
16
16
  - **Private Key Import**: Support for importing existing private keys for local execution.
17
+ - **Automated Simulation**: All transactions (send, swap, Aave) are simulated on-chain before execution to prevent failures.
17
18
  - **JSON Output**: All commands support `--json` for easy integration into scripts and pipelines.
18
19
 
19
20
  ## Requirements
@@ -82,7 +83,15 @@ _This will securely prompt for your private key and store it locally in `session
82
83
 
83
84
  > **Security Note:** Your private key is stored locally on your machine. Ensure your environment is secure.
84
85
 
85
- ### 4. Check Status
86
+ ### 4. Logout
87
+
88
+ If you want to clear your local session:
89
+
90
+ ```bash
91
+ npx fibx auth logout
92
+ ```
93
+
94
+ ### 5. Check Status
86
95
 
87
96
  Verify that you are authenticated and the API is healthy:
88
97
 
@@ -186,8 +195,8 @@ npx fibx aave <action> <amount> <token>
186
195
  - `status`: Check account health (HF, LTV)
187
196
  - `supply`: Deposit assets
188
197
  - `borrow`: Borrow assets (requires collateral)
189
- - `repay`: Repay debt
190
- - `withdraw`: Withdraw assets
198
+ - `repay`: Repay debt (use `max` to repay all)
199
+ - `withdraw`: Withdraw assets (use `max` to withdraw all)
191
200
 
192
201
  **Example:**
193
202
 
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ const program = new Command();
15
15
  program
16
16
  .name("fibx")
17
17
  .description("Fibrous DeFi CLI — wallet, transfer, swap")
18
- .version("0.2.3")
18
+ .version("0.2.4")
19
19
  .option("-c, --chain <chain>", "Chain to use (base, citrea, hyperevm, monad)", "base")
20
20
  .option("--json", "Output results as JSON", false);
21
21
  const auth = program.command("auth").description("Authentication commands");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fibx",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "A powerful CLI for DeFi operations on Base, Citrea, HyperEVM, and Monad, powered by Fibrous.",
5
5
  "type": "module",
6
6
  "bin": {