Skip to content

Commit

Permalink
Merge pull request #186 from entropyxyz/naynay/sync-dev
Browse files Browse the repository at this point in the history
Naynay/sync dev
  • Loading branch information
frankiebee authored Jul 17, 2024
2 parents c510e56 + 577d9e5 commit 79f365c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The format extends [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

Version header format: `[version] Name - year-month-day (entropy-core compatibility: version [range])`

## [0.0.2] AntMan - 2024-07-12 (entropy-core compatibility: 0.2.0)
## [UNRELEASED]

### Added
- new: 'src/flows/register/register.ts' - service file for register pure function
Expand All @@ -27,13 +27,14 @@ Version header format: `[version] Name - year-month-day (entropy-core compatibil
- new: 'src/flows/user-program-management/view.ts' - service file for pure functions of viewing user programs
- new: 'src/flows/user-program-management/helpers/utils.ts' - utility helper file for user program management specific methods
- new: './src/flows/user-program-management/remove.ts' - service file for removing user program pure function
### Fixed

### Changed
- folder name for user programs to match the kebab-case style for folder namespace
### Broke

### Meta/Dev
## [0.0.3] Blade - 2024-07-17 (entropy-core compatibility: 0.2.0)

### Fixed
- HOT-FIX programmatic balance error [183](https://github.com/entropyxyz/cli/pull/183)

## [0.0.2] AntMan - 2024-07-12 (entropy-core compatibility: 0.2.0)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@entropyxyz/cli",
"version": "0.0.2",
"version": "0.0.3",
"description": "cli and tui for interacting with the entropy protocol",
"type": "module",
"scripts": {
Expand Down
2 changes: 0 additions & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ program.command('sign')
process.exit(0)
})



function writeOut (result) {
const prettyResult = typeof result === 'object'
? JSON.stringify(result, null, 2)
Expand Down
4 changes: 2 additions & 2 deletions src/flows/balance/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export async function cliGetBalance ({ address, password, endpoint }) {

const entropy = await initializeEntropy({ keyMaterial: account.data, password, endpoint })
const balance = await getBalance(entropy, address)

return balance
return `${balance.toLocaleString('en-US')} BITS`
}

0 comments on commit 79f365c

Please sign in to comment.