Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Releases: eosnetworkfoundation/mandel-eosjs

EOSJS Release 23 Supports Leap 4.0 Release

07 Jun 05:26
2ae9f8c
Compare
Choose a tag to compare

Notable Improvements

  • Introduced support for Read Only Transactions in this release.
  • Removed many unused dependancies, including the no longer used eosjs-ecc
  • Switched to standard TextEncoding Libraries. Special imports for text encoding no longer needed.
  • Removed dependency on semver node package to make browser development easier

What's Changed

New Contributors

Full Changelog: 23.0.0-rc3...23.0.0

EOSJS PreRelease3 Updated Transaction Support Retry and Irreversible

15 Aug 18:56
Compare
Choose a tag to compare

Install

npm install enf-eosjs

What's Changed

  • Updated support for send_transaction2
    • returnFailureTrace: return partial traces on failed transactions
    • retryTrxNumBlocks: request node to retry transaction until in a block of given height, blocking call
    • retryIrreversible: request node to retry transaction until it is irreversible or expires, blocking call
    • useOldRPC: use old RPC push_transaction, rather than new RPC send_transaction
    • useOldSendRPC: use old RPC /v1/chain/send_transaction, rather than new RPC /v1/chain/send_transaction2
  • Updated support for get_info
    • server_version_string: string;
    • fork_db_head_block_num: number,
    • fork_db_head_block_id: string,
    • server_full_version_string: string,
    • total_cpu_weight: string,
    • total_net_weight: string,
    • earliest_available_block_num: number,
    • last_irreversible_block_time: string

Notes

Retry irreversible currently set for 30 blocks. This limit may be revised up to a max of 90 blocks.
Moving to npm. yarn support is deprecated and will go away with full release.

Tested on node 16.15.1 and npm 8.11.00

New Contributors

Full Changelog: https://github.com/eosnetworkfoundation/mandel-eosjs/commits/23.0.0-rc3