Skip to content

0.0.3

Compare
Choose a tag to compare
@aroth aroth released this 21 Dec 15:48
· 30 commits to master since this release
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);
});