ethereum-input-data-decoder
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -36,3 +36,5 @@ const path = require('path') | ||
} else if (input) { | ||
input = fs.readFileSync(path.resolve(input)) | ||
try { | ||
input = fs.readFileSync(path.resolve(input)) | ||
} catch(err) { } | ||
run(abi, input) | ||
@@ -62,2 +64,7 @@ } else { | ||
if (result.name === null && result.types.length === 0) { | ||
console.log('No matches') | ||
return | ||
} | ||
const output = [`${'name'.padEnd(10)}${result.name}`] | ||
@@ -64,0 +71,0 @@ for (let i = 0; i < result.types.length; i++) { |
{ | ||
"name": "ethereum-input-data-decoder", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Ethereum smart contract transaction input data decoder", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
991475
26142