Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[4.0.1-alpha.1]
Added
- Added and exported three reusable utility functions:
pollTillDefined
,rejectIfTimeout
andrejectIfConditionAtInterval
which are useful when dealing with promises that involves polling, rejecting after timeout or rejecting if a condition was met when calling repeatably at every time intervals.
[4.0.1-alpha.2]
Added
- Export a new function
uuidV4
that generates a random v4 Uuid (#5373). - Enable passing a starting number, to increment based on it, for the Json Rpc Request
id
(#5652). - Export a new function
isPromise
that checks if an object is a promise (#5652).
Fixed
- Use Uuid for the response id, to fix the issue "Responses get mixed up due to conflicting payload IDs" (#5373).
[4.0.1-alpha.3]
Changed
- Updated dependencies (#5725)
[4.0.1-alpha.4]
Changed
tsc
compiled files moved tolib/
directory fromdist/
(#5739)- Add SocketProvider class and Eip1193Provider abstract class (#5683)
[4.0.1-alpha.5]
Changed
- web3.js dependencies (#5757)
[Unreleased]
Removed
- Moved
TypedArray
toweb3-types
(was also duplicated atweb3-validator
) (#5771) - Removed support of
genesis
tag incompareBlockNumbers
function (#5823)
Added
- Added support of
safe
andfinalized
block tags (#5823)
Changed
compareBlockNumbers
function now only supports comparison of both blocktags params ( exceptearliest
vs number) or both block number params (#5842)SocketProvider
abstract class now resolves JSON RPC response errors instead of rejecting them (#5844)- Exposes the getter of
SocketConnection
inSocketProvider
(#5891)