Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Releases: LedgerHQ/ledger-live-common

v6.3.0

07 Jun 19:36
@gre gre
254b346
Compare
Choose a tag to compare
  • Introduced disableCountervalue on all Currency types
  • single EXPLORER env (v2/v3 urls are now unified)
  • Support ethereum ropsten
  • lazy load libcore in tool

v6.2.0

07 Jun 09:55
@gre gre
bcaf938
Compare
Choose a tag to compare

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

04 Jun 18:54
@gre gre
e42ece7
Compare
Choose a tag to compare

Fixes TokenAccount reconciliation to see id changes

v6.1.0

04 Jun 18:53
@gre gre
f89d3fc
Compare
Choose a tag to compare

Changes TokenAccount#id to not includes any slashes so that can be used as url slug

v6.0.0

04 Jun 11:15
@gre gre
3f508b8
Compare
Choose a tag to compare

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 like c.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 account
    • clearAccount(account) logic added (from desktop code)
    • canBeMigrated(account) tells if a migration mecanism exist for this account
    • findAccountMigration will try to find an account scanned that correspond to the migration version of an existing one
    • groupAddAccounts contains the full UI logic of scanning accounts!
    • addAccounts contains the full logic of adding scanned accounts!
    • getCurrencyColor helper
    • getPortfolio supports ERC20 accounts
    • getAssetsDistribution supports ERC20 accounts and implement a cache system
  • 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 do getTransactionExplorer(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 or ledger-live ... --device ble:selector (where selector is either the uuid, or part of the ble advertisement name)
  • ledger-live dicoverDevices command
  • ledger-live proxy command

v5.12.1

28 May 08:29
@gre gre
9beef8f
Compare
Choose a tag to compare
  • Also return sum in getAssetsDistribution

v5.12.0

28 May 08:02
@gre gre
9f67465
Compare
Choose a tag to compare
  • blockchair for BCH explorers
  • native segwit support

v5.11.2

28 May 08:02
@gre gre
fd698ad
Compare
Choose a tag to compare

fixes for XST

v5.11.1

23 May 07:22
@gre gre
0b3ec9a
Compare
Choose a tag to compare
  • migrate to [email protected]
  • integrate with @ledgerhq/logs
  • introduce function getAssetsDistribution
  • introduce function reorderAccountByCountervalues
  • LL-1383 Removed Coinberry from partner list

v5.10.0

20 May 06:31
@gre gre
f2517d1
Compare
Choose a tag to compare