Skip to content

v1.0.98 - Authentication Flow Fixes

Choose a tag to compare

@mickgiles mickgiles released this 17 Aug 22:53
· 78 commits to main since this release

πŸ”§ What's Fixed

This patch release addresses critical issues in the VeSync authentication flow, improving reliability and compatibility with recent VeSync API changes.

Authentication Flow Enhancements

  • Fixed bizToken handling: Resolved issues with null/empty bizToken values in authentication requests
  • Enhanced two-step authentication: Improved reliability of the new authentication flow with better error handling
  • Consistent terminalId generation: Added proper terminalId generation and consistency between authentication steps
  • Improved request payload structure: Updated authentication request format to better match VeSync API requirements

Testing Infrastructure

  • Enhanced authentication testing: Updated test script to properly handle null bizToken scenarios
  • Better error handling: Improved authentication flow validation and error reporting
  • Multi-account testing: Added support for testing both new and legacy authentication flows

πŸ“¦ Installation

npm install tsvesync@1.0.98

πŸ”— Related Releases

  • This release is coordinated with homebridge-tsvesync v1.0.98
  • Addresses PR #340 compatibility issues

πŸ€– Generated with Claude Code