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

eris-contracts-promise

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eris-contracts-promise - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

14

lib/Contract.js

@@ -18,2 +18,9 @@ 'use strict'

args = args.map((argument) => {
if (util.isAddress(argument) && argument.slice(0, 2) !== '0x')
return '0x' + argument
return argument
})
if (callback)

@@ -30,3 +37,8 @@ return solidityFunction[name](...args)

resolve(outputUnpacker(data))
data = outputUnpacker(data)
if (_.isString(data) && data.slice(0, 2) == '0x')
data = data.slice(2).toUpperCase()
resolve(data)
})

@@ -33,0 +45,0 @@

4

package.json
{
"name": "eris-contracts-promise",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -23,3 +23,3 @@ "main": "index.js",

"lodash": "^4.17.4",
"web3": "^0.18.2"
"web3": "eris-ltd/web3.js#cdf7bec7417988f9587d808796eb2872e0a8df23"
},

@@ -26,0 +26,0 @@ "eslintConfig": {

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