v0.19.0
- update @multiversx/sdk-core library (v13)
- breaking: with this version, the @multiversx/sdk-core is now a peer dependency, you must have it in your project to work with useElven, at least v13.0.0. So, as always, freeze on 0.18.0 if you still need to use older sdk-core
- breaking: the
useScDeploy
hook accepts a different set of arguments - breaking:
useMultiTokenTransfer
is renamed touseTokenTransfer
. The olduseTokenTransfer
has been removed. You should use the same hook for single and multi-transfers. Now, gasLimit param is required when transferring to a smart contract using the provided endpoint name. For standard transfers, the gas limit isn't required - added two simple utilities for parsing and formatting amounts:
formatAmount
andparseAmount
Full Changelog: v0.18.0...v0.19.0