Skip to content

Commit fde72fe

Browse files
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

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## [1.0.5](https://github.com/arijitcodes/microstream-client/compare/v1.0.4...v1.0.5) (2025-03-01)
2+
3+
4+
### Bug Fixes
5+
6+
**index.ts:** Implemented Duplicate Service Regn. Attempt and Hub Connection Rejection Handling ([c9ae873](https://github.com/arijitcodes/microstream-client/commit/c9ae87322600f131d3539207ed3ed7c7c55626da)), closes [#3](https://github.com/arijitcodes/microstream-client/issues/3)
7+
8+
- Added proper error handling for hub connection rejection
9+
- Implemented graceful process termination on duplicate detection
10+
- Enhanced error logging with detailed service context
11+
- Added connection_error event handler for hub rejection
12+
- Implemented custom error type handling with error codes
13+
- Added automatic process exit on DUPLICATE_SERVICE_REGISTRATION error
14+
15+
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/>
16+
117
## [1.0.4](https://github.com/arijitcodes/microstream-client/compare/v1.0.3...v1.0.4) (2025-02-28)
218

319

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "microstream-client",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "A lightweight client SDK for Microstream communication",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",

0 commit comments

Comments
 (0)