added unlock and send

This commit is contained in:
Fabian Vogelsteller 2016-05-24 16:25:35 +02:00
parent 35a06d36d4
commit 0f1ab3227b
10 changed files with 42 additions and 18 deletions

View File

@ -1,7 +1,7 @@
{
"name": "web3",
"namespace": "ethereum",
"version": "0.16.0",
"version": "0.17.0",
"description": "Ethereum Compatible JavaScript API",
"main": [
"./dist/web3.js",

10
dist/web3-light.js vendored
View File

@ -2471,7 +2471,7 @@ module.exports = {
},{"./sha3.js":19,"bignumber.js":"bignumber.js","utf8":84}],21:[function(require,module,exports){
module.exports={
"version": "0.16.0"
"version": "0.17.0"
}
},{}],22:[function(require,module,exports){
@ -5536,6 +5536,13 @@ var methods = function () {
inputFormatter: [formatters.inputAddressFormatter, null, null]
});
var unlockAccountAndSendTransaction = new Method({
name: 'unlockAccountAndSendTransaction',
call: 'personal_signAndSendTransaction',
params: 2,
inputFormatter: [formatters.inputTransactionFormatter, null]
});
var lockAccount = new Method({
name: 'lockAccount',
call: 'personal_lockAccount',
@ -5546,6 +5553,7 @@ var methods = function () {
return [
newAccount,
unlockAccount,
unlockAccountAndSendTransaction,
lockAccount
];
};

File diff suppressed because one or more lines are too long

10
dist/web3.js vendored
View File

@ -2471,7 +2471,7 @@ module.exports = {
},{"./sha3.js":19,"bignumber.js":"bignumber.js","utf8":84}],21:[function(require,module,exports){
module.exports={
"version": "0.16.0"
"version": "0.17.0"
}
},{}],22:[function(require,module,exports){
@ -5536,6 +5536,13 @@ var methods = function () {
inputFormatter: [formatters.inputAddressFormatter, null, null]
});
var unlockAccountAndSendTransaction = new Method({
name: 'unlockAccountAndSendTransaction',
call: 'personal_signAndSendTransaction',
params: 2,
inputFormatter: [formatters.inputTransactionFormatter, null]
});
var lockAccount = new Method({
name: 'lockAccount',
call: 'personal_lockAccount',
@ -5546,6 +5553,7 @@ var methods = function () {
return [
newAccount,
unlockAccount,
unlockAccountAndSendTransaction,
lockAccount
];
};

6
dist/web3.js.map vendored

File diff suppressed because one or more lines are too long

10
dist/web3.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,3 @@
{
"version": "0.16.0"
"version": "0.17.0"
}

View File

@ -58,6 +58,13 @@ var methods = function () {
inputFormatter: [formatters.inputAddressFormatter, null, null]
});
var unlockAccountAndSendTransaction = new Method({
name: 'unlockAccountAndSendTransaction',
call: 'personal_signAndSendTransaction',
params: 2,
inputFormatter: [formatters.inputTransactionFormatter, null]
});
var lockAccount = new Method({
name: 'lockAccount',
call: 'personal_lockAccount',
@ -68,6 +75,7 @@ var methods = function () {
return [
newAccount,
unlockAccount,
unlockAccountAndSendTransaction,
lockAccount
];
};

View File

@ -1,7 +1,7 @@
/* jshint ignore:start */
Package.describe({
name: 'ethereum:web3',
version: '0.16.0',
version: '0.17.0',
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.

View File

@ -1,7 +1,7 @@
{
"name": "web3",
"namespace": "ethereum",
"version": "0.16.0",
"version": "0.17.0",
"description": "Ethereum JavaScript API, middleware to talk to a ethereum node over RPC",
"main": "./index.js",
"directories": {