eris-contracts-promise
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -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 @@ |
{ | ||
"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": { |
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
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
19562
575
1
1
- Removedcrypto-js@3.3.0(transitive)
- Removedutf8@2.1.2(transitive)
- Removedweb3@0.18.4(transitive)
- Removedxhr2@0.2.1(transitive)
- Removedxmlhttprequest@1.8.0(transitive)
Updatedweb3@eris-ltd/web3.js#cdf7bec7417988f9587d808796eb2872e0a8df23