Commit fde72fe
committed
chore(release): 1.0.5 [skip ci]
## [1.0.5](v1.0.4...v1.0.5) (2025-03-01)
### Bug Fixes
✅ **index.ts:** Implemented Duplicate Service Regn. Attempt and Hub Connection Rejection Handling ([c9ae873](c9ae873)), closes [#3](#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. <br/><br/>1 parent c9ae873 commit fde72fe
3 files changed
+19
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
1 | 17 | | |
2 | 18 | | |
3 | 19 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments