mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-08 21:34:55 +00:00
update web3.js
This commit is contained in:
parent
fb6e930313
commit
fb1097b191
@ -2443,7 +2443,7 @@ module.exports = {
|
|||||||
|
|
||||||
},{"./sha3.js":19,"bignumber.js":"bignumber.js","utf8":85}],21:[function(require,module,exports){
|
},{"./sha3.js":19,"bignumber.js":"bignumber.js","utf8":85}],21:[function(require,module,exports){
|
||||||
module.exports={
|
module.exports={
|
||||||
"version": "0.18.0"
|
"version": "0.18.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
},{}],22:[function(require,module,exports){
|
},{}],22:[function(require,module,exports){
|
||||||
@ -2936,6 +2936,8 @@ var ContractFactory = function (eth, abi) {
|
|||||||
* @returns {Contract} returns contract instance
|
* @returns {Contract} returns contract instance
|
||||||
*/
|
*/
|
||||||
this.new = function () {
|
this.new = function () {
|
||||||
|
/*jshint maxcomplexity: 7 */
|
||||||
|
|
||||||
var contract = new Contract(this.eth, this.abi);
|
var contract = new Contract(this.eth, this.abi);
|
||||||
|
|
||||||
// parse arguments
|
// parse arguments
|
||||||
@ -4199,13 +4201,10 @@ module.exports = SolidityFunction;
|
|||||||
* @date 2015
|
* @date 2015
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var errors = require('./errors');
|
var errors = require('./errors');
|
||||||
|
|
||||||
// workaround to use httpprovider in different envs
|
// workaround to use httpprovider in different envs
|
||||||
var XMLHttpRequest; // jshint ignore: line
|
|
||||||
var XHR2 = require('xhr2');; // jshint ignore: line
|
|
||||||
|
|
||||||
// browser
|
// browser
|
||||||
if (typeof window !== 'undefined' && window.XMLHttpRequest) {
|
if (typeof window !== 'undefined' && window.XMLHttpRequest) {
|
||||||
@ -4215,6 +4214,8 @@ if (typeof window !== 'undefined' && window.XMLHttpRequest) {
|
|||||||
XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest; // jshint ignore: line
|
XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest; // jshint ignore: line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var XHR2 = require('xhr2'); // jshint ignore: line
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* HttpProvider should be used to send rpc calls over http
|
* HttpProvider should be used to send rpc calls over http
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user