This repository has been archived by the owner on Jul 15, 2022. It is now read-only.
Releases: LedgerHQ/ledger-live-common
Releases · LedgerHQ/ledger-live-common
v6.3.0
v6.2.0
Breaking
- change Token#parentCurrency to be a Currency type
Bugfix
- distribution: Switch from ticker to id to fixes accidentally merging tBTC with BTC.
Features
- libcore ETC
- add sortAccountsComparatorFromOrder
- add comparatorSortAccounts
- add flattenSortAccounts
- add nestedSortAccounts
- failsafe to make sure encodeAccountId components don't use ':'
Technical
- Bump libcore in tool
- Split src/account.js into src/account/*
v6.1.1
v6.1.0
v6.0.0
Getting ready for ERC20! many features added, some breaking changes.
Fixes
- cross.js logic (aka LiveQR export/import) will properly import libcore ethereum
- erc20 operation to properly expose the fees
- libcore eth to support non eip55 addresses
- fixes range logic
Addition
- Many functions and type refinement was done to finalize ERC20 support.
- Added
TokenAccount#parentId
field. - Added
type
fields in Account, TokenAccount, CryptoCurrency, TokenCurrency. That eases logic likec.type==="CryptoCurrency" ? c.color : "grey"
& satisfies Flowtype. flattenAccounts
takes an array of accounts and will return a flat version of all accounts and their erc20. ( not idempotent /!\ )groupAccount(s)OperationsByDay
function accept token accounts.isAccountEmpty
accepts token accountclearAccount(account)
logic added (from desktop code)canBeMigrated(account)
tells if a migration mecanism exist for this accountfindAccountMigration
will try to find an account scanned that correspond to the migration version of an existing onegroupAddAccounts
contains the full UI logic of scanning accounts!addAccounts
contains the full logic of adding scanned accounts!getCurrencyColor
helpergetPortfolio
supports ERC20 accountsgetAssetsDistribution
supports ERC20 accounts and implement a cache system
- Added
- some Bridge is moved in live-common (NB only mobile uses it)
- the main bridge/index.js
- LibcoreBitcoinAccountBridge.js
- LibcoreCurrencyBridge.js
- LibcoreEthereumAccountBridge.js
- makeMockBridge will cover more cases.
- Countervalues added an aliasing mecanism. This is to address countervalue of WETH that should reflect the ETH one.
breaking changes
groupAccountsOperationsByDay(accounts, { count })
signature changed.- same for
groupAccountOperationsByDay
. - removed
getAccountOperationExplorer
(just dogetTransactionExplorer(getDefaultExplorerView(account.currency), operation.hash)
) - removed
debugAppInfosForCurrency
(no longer used, use getAppAndVersion instead) makeMockBridge
signature have changed.
others
- bump BigNumber to 9.x
- bump flowtype to 0.100.0
- embedding the flow-typed folder
- Remove Exmo and Thorswap
ledger-live
tool supports Bluetooth:ledger-live ... --device ble
orledger-live ... --device ble:selector
(where selector is either the uuid, or part of the ble advertisement name)ledger-live dicoverDevices
commandledger-live proxy
command
v5.12.1
v5.12.0
v5.11.2
v5.11.1
v5.10.0
- Update ledgerjs libs to 4.58: https://github.com/LedgerHQ/ledgerjs/releases/tag/v4.58.0
- EXPERIMENTAL_BLE to be a bool flag (not used yet)
- Wrong logic of
getDeviceInfo
to fix support of1.4.2-das
parsing regarding theproviderId