Releases: LoginRadius/node-js-sdk
Releases · LoginRadius/node-js-sdk
Released Version 10.0.0-beta
Enhancements :
This beta version release includes major changes with several improvements and optimizations
- Enhanced the coding standards of SDK to follow industry programming styles and best practices.
- Enhanced security standards of SDK.
- Reduced code between the business layer and persistence layer for optimization of SDK performance.
- Added internal parameter validations in the API function
- ApiKey and ApiSecret usage redundancy removed
- All LoginRadius related features need to be defined once only and SDK will handle them automatically
- Improved the naming conventions of API functions for better readability.
- Better Error and Exception Handling for LoginRadius API Response in SDK
- Revamped complete SDK and restructured it with latest API function names and parameters
- Added detailed description to API functions and parameters for better understanding
- Updated the demo according to latest SDK changes
- Used path module for OS independent
Added new multiple APIs for better user experience
- Update Phone ID by UID
- Upsert Email
- Role Context profile
- MFA Resend OTP
- User Registration By Captcha
- Get Access Token via Linkedin Token
- Get Access Token By Foursquare Access Token
- Get Active Session By Account Id
- Get Active Session By Profile Id
Removed APIs:
- GetCompanies API
Release version 4.5.0
Enhancements
- Enabled gZip Compression.
- Resolved JShint detected warnings.
Release version 4.4.0
Enhancements :
- A Demo has been added to the SDK under the demo directory.
- Request Access Token Header and Payload Option
- Implemented Custom Domain option.
- Implement functionality to customize your region.
- API Route Changes: We have renamed some login flow for better naming. "Auto Login" to "Smart Login", "No Registration" renamed to "One touch Login" and "Instant Link Login" to "PasswordLess Login".
- Implemented API Request Signing option: Passed hashed of secret instead of API Secret Key in API Calling.
- Added Option to Prevent Sending Email Verification.
Breaking Changes:
APIs have been changed to correctly reflect the format found in the API Docs. As a result a significant amount of methods have to be called with different module or method names. For the updated names and calls, check the Node.JS SDK documentation.
- module.autoLogin.byEmail replaced with module.smartLogin.byEmail
- module.autoLogin.byUsername replaced with module.smartLogin.byUsername
- module.autoLogin.verify replaced with module.smartLogin.verify
- module.autoLogin.ping replaced with module.smartLogin.ping
- module.instantLinkLoginByEmail replaced with module.passwordlessLoginByEmail
- module.instantLinkLoginByUsername replaced with module.passwordlessLoginByUsername
- module.instantLinkLoginVerify replaced with module.passwordlessLoginVerify
- module.otp.send replaced with module.passwordlessPhoneLoginUsingOTP
- module.simplifiedRegistrationByEmail replaced with module.oneTouchLoginByEmail
- module.simplifiedRegistrationByPhone replaced with module.oneTouchLoginByPhone
- module.simplifiedRegistrationVerifyOtp replaced with module.oneTouchLoginVerifyOtp
- module.twoFactor.emailLogin replaced with module.mfaEmailLogin
- module.twoFactor.usernameLogin replaced with module.mfaUsernameLogin
- module.twoFactor.phoneLogin replaced with module.mfaPhoneLogin
- cloudApi replaced with configApi
New APIs:
- sendWelcomeEmail API
- acceptPrivacyPolicy API
- mfaValidateGoogleAuthCode API
- mfaReauthenticate API
- validateMFAByGoogleAuthenticatorCode API
- validateMFAByBackupCode API
- validateMFAByOTP API
- validateMFAByPassword API
Release Version 4.3.1
Enhancements
- Capitalised calling METHOD names.
Release Version 4.3.0
Enhancements
- Added configuration API.
- Improved structure and naming convention
- APIKey and APISecret will pass in header in all management APIs
- Split Reset Password by Security Answer into three APIs(by email, phone, and username)
Release Version 4.2.0 [API V2 Based]
Enhancements
- Added No Registration by phone and email APIs.
- Added Invalidate Phone number APIs.
- Added create, retrieve, update and delete Custom Registration Data APIs.
- Added retrieve Security Question APIs.
- Added server side API to generate SOTT.
- Added Auto Login by Phone and Username.
- Added email verify Auto Login API.
- Allows you to set proxy configurations if you want to setup Http Server Proxy Configuration through your NodeJs SDK.
- Enhanced Reset password APIs by adding a parameter ResetPasswordEmailTemplate to Send Email or SMS on password reset.
- Enhanced all APIs with the projection of fields which allows selecting fields that you require as an API response.
- Enhanced Custom Object Update API by adding an extra parameter isAllowedReplace.
- Enhanced Account profile Update API by adding an extra parameter null support.
- Enhanced Login APIs by adding and extra parameter security answer.
See the documentation here
Released Version 4.1.1
- Improved code, calling of SOTT method has been improved.
Released Version 4.0.0 [Beta]
Enhancements
- Updated with V2 APIs
- Added new multiple APIs for better user experience.
- Improved structure and naming convention
- Improved security feature
- Added Phone Authentication APIs to handle phone login, registration, and verification etc.
- Added APIs for two-factor authentication
- Added Rest hook APIs
- Added web hook APIs
See the documentation [here](https://docs.loginradius.com/api/v2/sdk-libraries/nodejs)
Released Version 3.2.1
Enhancements
- Added Password reset API
- Improved code
See the documentation here
Released version 3.0.6
Enhancements
- Added Password reset API
- Improved code