blumefi 2.8.0 → 2.8.1

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.
Files changed (2) hide show
  1. package/cli.js +4 -3
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -163,9 +163,10 @@ const PAD_TOKEN_ABI = [
163
163
 
164
164
  function getChain() {
165
165
  const env = process.env.BLUMEFI_CHAIN || process.env.CHAIN || ''
166
- if (env === 'mainnet') return 'mainnet'
166
+ if (env === 'testnet') return 'testnet'
167
+ if (process.argv.includes('--testnet')) return 'testnet'
167
168
  if (process.argv.includes('--mainnet')) return 'mainnet'
168
- return 'testnet'
169
+ return 'mainnet'
169
170
  }
170
171
 
171
172
  function getNetwork() {
@@ -1712,7 +1713,7 @@ Wallet & Account:
1712
1713
  status Show network info, contracts
1713
1714
 
1714
1715
  Options:
1715
- --mainnet Use mainnet (default: testnet)
1716
+ --mainnet Use mainnet (default)
1716
1717
  --testnet Use testnet
1717
1718
 
1718
1719
  Environment:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blumefi",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "BlumeFi CLI — DeFi reimagined for the agentic era. Trade, chat, and interact with the Blume ecosystem from the command line.",
5
5
  "main": "cli.js",
6
6
  "bin": {