Skip to content

web3.js 1.0.0-beta.35

Pre-release
Pre-release
Compare
Choose a tag to compare
@frozeman frozeman released this 25 Jul 13:29
6510fe5

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);