Releases: mainnet-cash/mainnet-js
Releases · mainnet-cash/mainnet-js
v2.5.0 - Upgrade to libauth v3 and cashscript v0.10.0
- Minor Breaking: upgrade dependencies
- Upgrade libauth to v3
- Upgrade cashscript to 0.10.0, remove libauth template generation
- Upgrade typescript
- Update HD key derivation implementation
- Remove 'meep' debug command from Contract class
v2.4.3 - Remove coingecko price lookups
- Remove coingecko price lookups. The service now requires the paid subscription and browser console is plagued with errors upon price lookups.
v2.4.2 - Add a demo/vue-quasar project with tailwind css and mainnet-js integrated
- Add a demo/vue-quasar project with tailwind css and mainnet-js integrated
v2.4.1 - Bugfix: export TransactionHistoryItem interface
- Bugfix: export TransactionHistoryItem interface
v2.4.0 - Rework Wallet.getHistory, improve other network methods
-
Minor Breaking: Rework Wallet.getHistory method and interfaces with focus on output compatibility with ElectronCash wallet
getHistory
gets transaction history of this wallet with most data decoded and ready to present to user- note: balance calculations are valid only if querying to the blockchain tip (
toHeight
=== -1,count
=== -1) - note: this method is heavy on network calls, if invoked in browser use of cache is advised, see
Config.UseLocalStorageCache
- note: this method tries to recreate the history tab view of Electron Cash wallet, however, it may not be 100% accurate if the tnransaction value changes are the same in the same block (ordering)
-
watchBlocks now can take a parameter to not skip current block height notification
-
getRawHistory now takes optional fromHeight and toHeight parameters according to updated electrum cash protocol
v2.3.16 - Add `getHeader` method to network provider
- Add
getHeader
method to network provider - Add
localStorage
caching behaviour to it steered byConfig.UseLocalStorageCache
v2.3.15 - Add Config.UseLocalStorageCache setting
- Add Config.UseLocalStorageCache setting to cache fetched raw transaction data in local storage
- Fix docker image build
v2.3.14 - Support many fiat currencies
- Support many fiat currencies
- Add Config.DefaultCurrency setting (defaults to "usd")
bugfix: token fee rounding.
Fixes bug with fee estimation.
bugfix - token fee rounding
Fixes a bug when sending tokens where a fractional fee estimate was returned.