Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ethereumjs-tx

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethereumjs-tx - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

fake.js

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 @@ }

4

package.json
{
"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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc