0.0.3
Updated upload callback to return a dictionary with keys: status, data. Usage: RNUploader.upload( opts, ( err, res )=>{ if( err ){ console.log(err); return; } let status = res.status; let responseString = res.data; let json = JSON.parse( responseString ); console.log('upload complete with status ' + status); });