eth-contract-class
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -67,4 +67,4 @@ 'use strict'; | ||
// 21272 is min gas to work in testrpc | ||
Object.assign(filterOpts(opts), { gas: gas < 21272 ? 21272 : gas }); | ||
return cb ? txObject.send(opts, cb) : txObject.send(opts) | ||
var filteredOpts = Object.assign({}, filterOpts(opts), { gas: gas < 21272 ? 21272 : gas }); | ||
return cb ? txObject.send(filteredOpts, cb) : txObject.send(filteredOpts) | ||
// relay all events to our promiEvent | ||
@@ -71,0 +71,0 @@ .on('transactionHash', relayEvent('transactionHash')).on('confirmation', relayEvent('confirmation')).on('receipt', relayEvent('receipt')).on('error', relayEvent('error')); |
{ | ||
"name": "eth-contract-class", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "generate js wrapper class around an ethereum contract", | ||
@@ -5,0 +5,0 @@ "main": "lib/generateClass.js", |
Sorry, the diff of this file is not supported yet
17528
10