mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-22 19:18:07 +00:00
bumped version
This commit is contained in:
parent
aeb8baf915
commit
76f8798cb5
55
dist/web3-light.js
vendored
55
dist/web3-light.js
vendored
@ -2258,8 +2258,6 @@ var isAddress = function (address) {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Checks if the given string is a checksummed address
|
||||
*
|
||||
@ -2410,6 +2408,38 @@ var isJson = function (str) {
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns true if given string is a valid Ethereum block header bloom.
|
||||
*
|
||||
* @method isBloom
|
||||
* @param {String} hex encoded bloom filter
|
||||
* @return {Boolean}
|
||||
*/
|
||||
var isBloom = function (bloom) {
|
||||
if (!/^(0x)?[0-9a-f]{512}$/i.test(bloom)) {
|
||||
return false;
|
||||
} else if (/^(0x)?[0-9a-f]{512}$/.test(bloom) || /^(0x)?[0-9A-F]{512}$/.test(bloom)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns true if given string is a valid log topic.
|
||||
*
|
||||
* @method isTopic
|
||||
* @param {String} hex encoded topic
|
||||
* @return {Boolean}
|
||||
*/
|
||||
var isTopic = function (topic) {
|
||||
if (!/^(0x)?[0-9a-f]{64}$/i.test(topic)) {
|
||||
return false;
|
||||
} else if (/^(0x)?[0-9a-f]{64}$/.test(topic) || /^(0x)?[0-9A-F]{64}$/.test(topic)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
padLeft: padLeft,
|
||||
padRight: padRight,
|
||||
@ -2438,12 +2468,14 @@ module.exports = {
|
||||
isObject: isObject,
|
||||
isBoolean: isBoolean,
|
||||
isArray: isArray,
|
||||
isJson: isJson
|
||||
isJson: isJson,
|
||||
isBloom: isBloom,
|
||||
isTopic: isTopic,
|
||||
};
|
||||
|
||||
},{"./sha3.js":19,"bignumber.js":"bignumber.js","utf8":85}],21:[function(require,module,exports){
|
||||
module.exports={
|
||||
"version": "0.18.3"
|
||||
"version": "0.18.4"
|
||||
}
|
||||
|
||||
},{}],22:[function(require,module,exports){
|
||||
@ -2957,7 +2989,7 @@ var ContractFactory = function (eth, abi) {
|
||||
if (options.value > 0) {
|
||||
var constructorAbi = abi.filter(function (json) {
|
||||
return json.type === 'constructor' && json.inputs.length === args.length;
|
||||
})[0] || {};
|
||||
})[0] || {};
|
||||
|
||||
if (!constructorAbi.payable) {
|
||||
throw new Error('Cannot send value to non-payable constructor');
|
||||
@ -5155,12 +5187,12 @@ function Eth(web3) {
|
||||
|
||||
var self = this;
|
||||
|
||||
methods().forEach(function(method) {
|
||||
methods().forEach(function(method) {
|
||||
method.attachToObject(self);
|
||||
method.setRequestManager(self._requestManager);
|
||||
});
|
||||
|
||||
properties().forEach(function(p) {
|
||||
properties().forEach(function(p) {
|
||||
p.attachToObject(self);
|
||||
p.setRequestManager(self._requestManager);
|
||||
});
|
||||
@ -5296,6 +5328,13 @@ var methods = function () {
|
||||
inputFormatter: [formatters.inputTransactionFormatter]
|
||||
});
|
||||
|
||||
var signTransaction = new Method({
|
||||
name: 'signTransaction',
|
||||
call: 'eth_signTransaction',
|
||||
params: 1,
|
||||
inputFormatter: [formatters.inputTransactionFormatter]
|
||||
});
|
||||
|
||||
var sign = new Method({
|
||||
name: 'sign',
|
||||
call: 'eth_sign',
|
||||
@ -5364,6 +5403,7 @@ var methods = function () {
|
||||
call,
|
||||
estimateGas,
|
||||
sendRawTransaction,
|
||||
signTransaction,
|
||||
sendTransaction,
|
||||
sign,
|
||||
compileSolidity,
|
||||
@ -5439,7 +5479,6 @@ Eth.prototype.isSyncing = function (callback) {
|
||||
|
||||
module.exports = Eth;
|
||||
|
||||
|
||||
},{"../../utils/config":18,"../../utils/utils":20,"../contract":25,"../filter":29,"../formatters":30,"../iban":33,"../method":36,"../namereg":44,"../property":45,"../syncing":48,"../transfer":49,"./watches":43}],39:[function(require,module,exports){
|
||||
/*
|
||||
This file is part of web3.js.
|
||||
|
8
dist/web3-light.min.js
vendored
8
dist/web3-light.min.js
vendored
File diff suppressed because one or more lines are too long
55
dist/web3.js
vendored
55
dist/web3.js
vendored
@ -2258,8 +2258,6 @@ var isAddress = function (address) {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Checks if the given string is a checksummed address
|
||||
*
|
||||
@ -2410,6 +2408,38 @@ var isJson = function (str) {
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns true if given string is a valid Ethereum block header bloom.
|
||||
*
|
||||
* @method isBloom
|
||||
* @param {String} hex encoded bloom filter
|
||||
* @return {Boolean}
|
||||
*/
|
||||
var isBloom = function (bloom) {
|
||||
if (!/^(0x)?[0-9a-f]{512}$/i.test(bloom)) {
|
||||
return false;
|
||||
} else if (/^(0x)?[0-9a-f]{512}$/.test(bloom) || /^(0x)?[0-9A-F]{512}$/.test(bloom)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns true if given string is a valid log topic.
|
||||
*
|
||||
* @method isTopic
|
||||
* @param {String} hex encoded topic
|
||||
* @return {Boolean}
|
||||
*/
|
||||
var isTopic = function (topic) {
|
||||
if (!/^(0x)?[0-9a-f]{64}$/i.test(topic)) {
|
||||
return false;
|
||||
} else if (/^(0x)?[0-9a-f]{64}$/.test(topic) || /^(0x)?[0-9A-F]{64}$/.test(topic)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
padLeft: padLeft,
|
||||
padRight: padRight,
|
||||
@ -2438,12 +2468,14 @@ module.exports = {
|
||||
isObject: isObject,
|
||||
isBoolean: isBoolean,
|
||||
isArray: isArray,
|
||||
isJson: isJson
|
||||
isJson: isJson,
|
||||
isBloom: isBloom,
|
||||
isTopic: isTopic,
|
||||
};
|
||||
|
||||
},{"./sha3.js":19,"bignumber.js":"bignumber.js","utf8":85}],21:[function(require,module,exports){
|
||||
module.exports={
|
||||
"version": "0.18.3"
|
||||
"version": "0.18.4"
|
||||
}
|
||||
|
||||
},{}],22:[function(require,module,exports){
|
||||
@ -2957,7 +2989,7 @@ var ContractFactory = function (eth, abi) {
|
||||
if (options.value > 0) {
|
||||
var constructorAbi = abi.filter(function (json) {
|
||||
return json.type === 'constructor' && json.inputs.length === args.length;
|
||||
})[0] || {};
|
||||
})[0] || {};
|
||||
|
||||
if (!constructorAbi.payable) {
|
||||
throw new Error('Cannot send value to non-payable constructor');
|
||||
@ -5155,12 +5187,12 @@ function Eth(web3) {
|
||||
|
||||
var self = this;
|
||||
|
||||
methods().forEach(function(method) {
|
||||
methods().forEach(function(method) {
|
||||
method.attachToObject(self);
|
||||
method.setRequestManager(self._requestManager);
|
||||
});
|
||||
|
||||
properties().forEach(function(p) {
|
||||
properties().forEach(function(p) {
|
||||
p.attachToObject(self);
|
||||
p.setRequestManager(self._requestManager);
|
||||
});
|
||||
@ -5296,6 +5328,13 @@ var methods = function () {
|
||||
inputFormatter: [formatters.inputTransactionFormatter]
|
||||
});
|
||||
|
||||
var signTransaction = new Method({
|
||||
name: 'signTransaction',
|
||||
call: 'eth_signTransaction',
|
||||
params: 1,
|
||||
inputFormatter: [formatters.inputTransactionFormatter]
|
||||
});
|
||||
|
||||
var sign = new Method({
|
||||
name: 'sign',
|
||||
call: 'eth_sign',
|
||||
@ -5364,6 +5403,7 @@ var methods = function () {
|
||||
call,
|
||||
estimateGas,
|
||||
sendRawTransaction,
|
||||
signTransaction,
|
||||
sendTransaction,
|
||||
sign,
|
||||
compileSolidity,
|
||||
@ -5439,7 +5479,6 @@ Eth.prototype.isSyncing = function (callback) {
|
||||
|
||||
module.exports = Eth;
|
||||
|
||||
|
||||
},{"../../utils/config":18,"../../utils/utils":20,"../contract":25,"../filter":29,"../formatters":30,"../iban":33,"../method":36,"../namereg":44,"../property":45,"../syncing":48,"../transfer":49,"./watches":43}],39:[function(require,module,exports){
|
||||
/*
|
||||
This file is part of web3.js.
|
||||
|
10
dist/web3.js.map
vendored
10
dist/web3.js.map
vendored
File diff suppressed because one or more lines are too long
10
dist/web3.min.js
vendored
10
dist/web3.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": "0.18.3"
|
||||
"version": "0.18.4"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* jshint ignore:start */
|
||||
Package.describe({
|
||||
name: 'ethereum:web3',
|
||||
version: '0.18.3',
|
||||
version: '0.18.4',
|
||||
summary: 'Ethereum JavaScript API, middleware to talk to a ethreum node over RPC',
|
||||
git: 'https://github.com/ethereum/ethereum.js',
|
||||
// By default, Meteor will default to using README.md for documentation.
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "web3",
|
||||
"namespace": "ethereum",
|
||||
"version": "0.18.3",
|
||||
"version": "0.18.4",
|
||||
"description": "Ethereum JavaScript API, middleware to talk to a ethereum node over RPC",
|
||||
"main": "./index.js",
|
||||
"directories": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user