Comparing version 0.1.12 to 0.1.13
{ | ||
"name": "eth-lib", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "Lightweight Ethereum libraries", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -53,3 +53,3 @@ const Api = provider => { | ||
// Address, Address, ContractInterface -> Contract | ||
const contract = (from, address, interface) => { | ||
const contract = (from, address, contractInterface) => { | ||
let contract = {}; | ||
@@ -59,3 +59,3 @@ contract._address = address; | ||
contract.broadcast = {}; | ||
interface.forEach(method => { | ||
contractInterface.forEach(method => { | ||
if (method && method.name) { | ||
@@ -95,5 +95,5 @@ const call = (waitReceipt, value) => (...params) => { | ||
// Address, Bytecode, ContractInterface | ||
const deployBytecodeContract = (from, code, interface) => | ||
const deployBytecodeContract = (from, code, contractInterface) => | ||
deployBytecode(from, code) | ||
.then(receipt => contract(from, receipt.contractAddress, interface)); | ||
.then(receipt => contract(from, receipt.contractAddress, contractInterface)); | ||
@@ -127,3 +127,2 @@ // Address, String, Address -> Contract | ||
getTransactionReceipt, | ||
compileSolidity, | ||
call, | ||
@@ -130,0 +129,0 @@ getBalance, |
@@ -37,3 +37,2 @@ // This was ported from https://github.com/emn178/js-sha3, with some minor | ||
blocks: [], | ||
s: [], | ||
reset: true, | ||
@@ -40,0 +39,0 @@ block: 0, |
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
42114
1138