Skip to content

v1.0.5

Choose a tag to compare

@github-actions github-actions released this 01 Mar 21:57
· 10 commits to main since this release

1.0.5 (2025-03-01)

Bug Fixes

index.ts: Implemented Duplicate Service Regn. Attempt and Hub Connection Rejection Handling (c9ae873), closes #3

  • Added proper error handling for hub connection rejection
  • Implemented graceful process termination on duplicate detection
  • Enhanced error logging with detailed service context
  • Added connection_error event handler for hub rejection
  • Implemented custom error type handling with error codes
  • Added automatic process exit on DUPLICATE_SERVICE_REGISTRATION error

This ensures proper client-side handling of hub rejections for duplicate services, providing clear error messaging and preventing service conflicts through automatic termination. Works in conjunction with hub-side validation for complete security implementation.