[HAPI-243] Installing bcrypt and removing bcryptjs
Pre-release
Pre-release
This pull request replaces the bcrypt library with bcryptjs across the codebase to address compatibility issues and ensure consistent functionality. Additionally, the package.json file has been updated to reflect this change and increment the version number.
Library Replacement: bcrypt to bcryptjs
src/services/Auth/index.js: Replaced all instances ofbcryptwithbcryptjsin theAuthServiceclass, including methods likegenSalt,createHash, andvalidateCredentials. [1] [2] [3] [4]docs/services_Auth_index.js.html: Updated the documentation to reflect the library change frombcrypttobcryptjs.
Dependency Updates
package.json: Updated thebcryptdependency tobcryptjs(version^3.0.2) and incremented the application version from0.7.12to0.7.13. [1] [2]