- add callback error on constructor, only support network ws or ipc example :
const EthRpc = require("simple-client-eth-rpc")
const provider = new EthRpc("ws://localhost:8080", (err) => {
console.log(`This is error listener with callback: ${err}`)
})
- event listener optimization
- update command test
- remove listener onError on func send and sendBatch, you can handle it with callback on constructor. this only effect if you use network ws or ipc
- onError listener is error network not error value request