web3.js 2.0.0-alpha.1
Pre-release
Pre-release
This release contains several stability improvements and smaller additions.
Added
- Length check of the PK added to the
fromPrivateKey
method of theAccount
model (#2928) - WebsocketProvider options extended with
requestOptions
andorigins
(#2938, #2995) changed
listener added to Contract event subscriptions (#2960)
Changed
Fixed
- miner.startMining fixed (#2877)
- Subscription type definitions fixed (#2919)
ContractOptions
type definitions corrected (#2939)- Scrypt compatibility with older and newer nodejs versions fixed (#2952)
- Encryption of the V3Keystore fixed (#2950)
- Provider timeout fixed and Maps are used now to handle subscriptions (#2955)
- stripHexPrefix fixed (#2989)
- BatchRequest error handling fixed for callbacks (#2993)
reconnected
event and reconnection delay option added to WebsocketProvider (#2994)clearSubscriptions
fixed (#3007)
Thanks to all the involved contributors!