Closed dcodeIO closed 8 years ago
The progress parameter breaks compatibility with the native bcrypt package.
if(!callback) { throw "No callback function was given." }
Should become
if(typeof callback == 'undefined') { callback = progress; progress = null; }
@dcodeIO ..thanks, this sorted my issue...
Just ran into this issue, please merge PR from @markau
The progress parameter breaks compatibility with the native bcrypt package.
Should become