Skip to content

monero-javascript-v0.5.0

Compare
Choose a tag to compare
@woodser woodser released this 16 Jan 12:32
· 3221 commits to master since this release

New Features

  • Update to monero-project v0.17.1.9
  • Listen to monero-wallet-rpc for notifications of new blocks or when wallets send or receive (uses polling)
  • Start and connect to monero-wallet-rpc as local, internal process using await monerojs.connectToWalletRpc(string[] cmd)
  • Specify custom wallet sync rate with await wallet.startSyncing(maxSyncPeriod)
  • Compute the number of blocks until next funds and all funds are available with await wallet.getNumBlocksToUnlock() : int[]
  • await daemon.getInfo() supports isBusySyncing() and isSynchronized()
  • Add script to start wallet rpc test servers for browser tests: ./bin/start_wallet_rpc_test_servers.sh
  • Bug fixes and cleanup

Breaking Changes

  • Use await with monerojs.connectToDaemonRpc() and monerojs.connectToWalletRpc()
  • Rename "MoneroWalletWasm" to "MoneroWalletFull" for consistency across libraries to mean "full, client-side wallet"
  • Rename ./dist files to "monero_wallet_full*", "monero_wallet_keys*", and "monero_web_worker*" for consistency
  • Rename git submodule ./external/monero-cpp/external/monero-core to "monero-project"
  • Rename MoneroDaemonRpc.js getNextBlockHeader() to waitForNextBlockHeader()