ethereumjs-tx
Advanced tools
Comparing version 1.0.0 to 1.0.1
11
index.js
@@ -39,3 +39,2 @@ const ethUtil = require('ethereumjs-util') | ||
* @prop {Buffer} s EC recovery ID | ||
* @prop {Buffer} from If you are not planing on signing the tx you can set the from property. If you do sign it will be over written | ||
*/ | ||
@@ -98,2 +97,12 @@ var Transaction = module.exports = function (data) { | ||
ethUtil.defineProperties(this, fields, data) | ||
/** | ||
* @prop {Buffer} from (read only) sender address of this transaction, mathematically derived from other parameters. | ||
*/ | ||
Object.defineProperty(this, 'from', { | ||
enumerable: true, | ||
configurable: true, | ||
get: this.getSenderAddress.bind(this) | ||
}) | ||
this._homestead = true | ||
@@ -100,0 +109,0 @@ } |
{ | ||
"name": "ethereumjs-tx", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "An simple module for creating, manipulating and signing ethereum transactions", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"ethereum-common": "0.0.16", | ||
"ethereumjs-util": "^4.0.0" | ||
"ethereumjs-util": "^4.0.1" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1693072
35
36222
Updatedethereumjs-util@^4.0.1