Bug fix in batchWithData not checking the error
Merge branch 'master' of github.com:pryv/lib-javascript into monitorOptimizing