yarn web3-eth-contract 1.0.0-beta.35
web3.js 1.0.0-beta.35

latest releases: 1.7.5-rc.1, 1.7.5-rc.0, 1.7.4...
6 years ago

This adds support for the stateMutability property fo solidity 0.5.0, and some minor fixes.

Breaking change:

The HTTP provider now accepts an options object, instead of timeout and headers parameters:

var options = {
    timeout: 20000, // milliseconds,
    headers: [{name: 'Access-Control-Allow-Origin', value: '*'},{...}]
};
var http = new Web3HttpProvider('http://localhost:8545', options);

Don't miss a new web3-eth-contract release

NewReleases is sending notifications on new releases.