mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-24 03:58:13 +00:00
added unlock and send
This commit is contained in:
parent
35a06d36d4
commit
0f1ab3227b
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "web3",
|
"name": "web3",
|
||||||
"namespace": "ethereum",
|
"namespace": "ethereum",
|
||||||
"version": "0.16.0",
|
"version": "0.17.0",
|
||||||
"description": "Ethereum Compatible JavaScript API",
|
"description": "Ethereum Compatible JavaScript API",
|
||||||
"main": [
|
"main": [
|
||||||
"./dist/web3.js",
|
"./dist/web3.js",
|
||||||
|
10
dist/web3-light.js
vendored
10
dist/web3-light.js
vendored
@ -2471,7 +2471,7 @@ module.exports = {
|
|||||||
|
|
||||||
},{"./sha3.js":19,"bignumber.js":"bignumber.js","utf8":84}],21:[function(require,module,exports){
|
},{"./sha3.js":19,"bignumber.js":"bignumber.js","utf8":84}],21:[function(require,module,exports){
|
||||||
module.exports={
|
module.exports={
|
||||||
"version": "0.16.0"
|
"version": "0.17.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
},{}],22:[function(require,module,exports){
|
},{}],22:[function(require,module,exports){
|
||||||
@ -5536,6 +5536,13 @@ var methods = function () {
|
|||||||
inputFormatter: [formatters.inputAddressFormatter, null, null]
|
inputFormatter: [formatters.inputAddressFormatter, null, null]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var unlockAccountAndSendTransaction = new Method({
|
||||||
|
name: 'unlockAccountAndSendTransaction',
|
||||||
|
call: 'personal_signAndSendTransaction',
|
||||||
|
params: 2,
|
||||||
|
inputFormatter: [formatters.inputTransactionFormatter, null]
|
||||||
|
});
|
||||||
|
|
||||||
var lockAccount = new Method({
|
var lockAccount = new Method({
|
||||||
name: 'lockAccount',
|
name: 'lockAccount',
|
||||||
call: 'personal_lockAccount',
|
call: 'personal_lockAccount',
|
||||||
@ -5546,6 +5553,7 @@ var methods = function () {
|
|||||||
return [
|
return [
|
||||||
newAccount,
|
newAccount,
|
||||||
unlockAccount,
|
unlockAccount,
|
||||||
|
unlockAccountAndSendTransaction,
|
||||||
lockAccount
|
lockAccount
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
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
10
dist/web3.js
vendored
10
dist/web3.js
vendored
@ -2471,7 +2471,7 @@ module.exports = {
|
|||||||
|
|
||||||
},{"./sha3.js":19,"bignumber.js":"bignumber.js","utf8":84}],21:[function(require,module,exports){
|
},{"./sha3.js":19,"bignumber.js":"bignumber.js","utf8":84}],21:[function(require,module,exports){
|
||||||
module.exports={
|
module.exports={
|
||||||
"version": "0.16.0"
|
"version": "0.17.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
},{}],22:[function(require,module,exports){
|
},{}],22:[function(require,module,exports){
|
||||||
@ -5536,6 +5536,13 @@ var methods = function () {
|
|||||||
inputFormatter: [formatters.inputAddressFormatter, null, null]
|
inputFormatter: [formatters.inputAddressFormatter, null, null]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var unlockAccountAndSendTransaction = new Method({
|
||||||
|
name: 'unlockAccountAndSendTransaction',
|
||||||
|
call: 'personal_signAndSendTransaction',
|
||||||
|
params: 2,
|
||||||
|
inputFormatter: [formatters.inputTransactionFormatter, null]
|
||||||
|
});
|
||||||
|
|
||||||
var lockAccount = new Method({
|
var lockAccount = new Method({
|
||||||
name: 'lockAccount',
|
name: 'lockAccount',
|
||||||
call: 'personal_lockAccount',
|
call: 'personal_lockAccount',
|
||||||
@ -5546,6 +5553,7 @@ var methods = function () {
|
|||||||
return [
|
return [
|
||||||
newAccount,
|
newAccount,
|
||||||
unlockAccount,
|
unlockAccount,
|
||||||
|
unlockAccountAndSendTransaction,
|
||||||
lockAccount
|
lockAccount
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
6
dist/web3.js.map
vendored
6
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.16.0"
|
"version": "0.17.0"
|
||||||
}
|
}
|
||||||
|
@ -58,6 +58,13 @@ var methods = function () {
|
|||||||
inputFormatter: [formatters.inputAddressFormatter, null, null]
|
inputFormatter: [formatters.inputAddressFormatter, null, null]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var unlockAccountAndSendTransaction = new Method({
|
||||||
|
name: 'unlockAccountAndSendTransaction',
|
||||||
|
call: 'personal_signAndSendTransaction',
|
||||||
|
params: 2,
|
||||||
|
inputFormatter: [formatters.inputTransactionFormatter, null]
|
||||||
|
});
|
||||||
|
|
||||||
var lockAccount = new Method({
|
var lockAccount = new Method({
|
||||||
name: 'lockAccount',
|
name: 'lockAccount',
|
||||||
call: 'personal_lockAccount',
|
call: 'personal_lockAccount',
|
||||||
@ -68,6 +75,7 @@ var methods = function () {
|
|||||||
return [
|
return [
|
||||||
newAccount,
|
newAccount,
|
||||||
unlockAccount,
|
unlockAccount,
|
||||||
|
unlockAccountAndSendTransaction,
|
||||||
lockAccount
|
lockAccount
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* jshint ignore:start */
|
/* jshint ignore:start */
|
||||||
Package.describe({
|
Package.describe({
|
||||||
name: 'ethereum:web3',
|
name: 'ethereum:web3',
|
||||||
version: '0.16.0',
|
version: '0.17.0',
|
||||||
summary: 'Ethereum JavaScript API, middleware to talk to a ethreum node over RPC',
|
summary: 'Ethereum JavaScript API, middleware to talk to a ethreum node over RPC',
|
||||||
git: 'https://github.com/ethereum/ethereum.js',
|
git: 'https://github.com/ethereum/ethereum.js',
|
||||||
// By default, Meteor will default to using README.md for documentation.
|
// By default, Meteor will default to using README.md for documentation.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "web3",
|
"name": "web3",
|
||||||
"namespace": "ethereum",
|
"namespace": "ethereum",
|
||||||
"version": "0.16.0",
|
"version": "0.17.0",
|
||||||
"description": "Ethereum JavaScript API, middleware to talk to a ethereum node over RPC",
|
"description": "Ethereum JavaScript API, middleware to talk to a ethereum node over RPC",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user