totp-generator 2.0.0
🔥 Breaking Changes The generate() method is now asynchronous. To use it, you'll need to await the function call. For example, change TOTP.generate() to await TOTP.generate(). This change was made to transition from the external jssha dependency to the native Web Crypto API, which improves security and efficiency.
🚀 Enhancements Native Crypto API: We've replaced the jssha library with the native Web Crypto API. This not only eliminates an external dependency but also provides a more secure and performant way to generate TOTP tokens.