onReject -> onRejected
fix for falsey object properties
1.0.1