Releases: multiversx/mx-sdk-js-core
v12.8.0
What's Changed
What's Changed
- Non-breaking change: add support for "counted-variadic" by @andreibancioiu in #323
- Fix localnet tests by @andreibancioiu in #324
- Uncomment older test (arguments serializer, multi args etc.) by @andreibancioiu in #325
Full Changelog: v12.7.1...v12.8.0
v12.7.1
v12.7.0
What's Changed
The TransactionWatcher
needed to accommodate the latest changes of the sdk-network-providers (see PR here). The isCompleted
field of the TransactionOnNetwork
class has become optional.
The TransactionWatcher
class needs a TransactionFetcher
object when initialized. You can use both ApiNetworkProvider
or ProxyNetworkProvider
because both respect the interface.
In case you are using the proxy provider and you need the isCompleted
field, a plain object that uses the proxy provider can be passed, defining a getTransaction()
method that explicitly calls proxyProvider.getTransaction()
using withProcessStatus=true
.
This can be done as bellow:
let provider = new ProxyNetworkProvider("http://localhost:7950", { timeout: 5000 });
let watcher = new TransactionWatcher({
getTransaction: async (hash: string) => { return await provider.getTransaction(hash, true) }
});
What's Changed
- Check if isCompleted is undefined by @popenta in #315
- Added an unit test by @popenta in #317
- Bump minor version by @popenta in #318
Full Changelog: v12.6.1...v12.7.0
v12.6.1
What's Changed
What's Changed
- typesystem: handle array2 type + unit tests by @javier-nft in #313
New Contributors
- @javier-nft made their first contribution in #313
Full Changelog: v12.6.0...v12.6.1
v12.6.0
v12.5.0
What's Changed
- Update reference to "protobufjs" (npm audit fix) by @andreibancioiu in #309
Full Changelog: v12.4.3...v12.5.0
v12.4.3
What's Changed
- Fix variadic serialization when no value given by @michavie in #307
- Micro-refactoring (typesystem and test utils) by @andreibancioiu in #304
Full Changelog: v12.4.2...v12.4.3
v12.4.2
What's Changed
- Remove (replace) "instanceof Buffer" from applySignature() by @andreibancioiu in #302
- Bump version by @andreibancioiu in #303
Full Changelog: v12.4.1...v12.4.2
v12.4.1
What's Changed
Full Changelog: v12.4.0...v12.4.1
v12.4.0
What's Changed
- Add support for "usernames" on transactions (including relayed V1) by @andreibancioiu in #298
Full Changelog: v12.3.0...v12.4.0