Skip to content

Release 1.0.0-BETA.5#9

Merged
LoboMetalurgico merged 6 commits into
mainfrom
unstable
Nov 3, 2025
Merged

Release 1.0.0-BETA.5#9
LoboMetalurgico merged 6 commits into
mainfrom
unstable

Conversation

@LoboMetalurgico

@LoboMetalurgico LoboMetalurgico commented Nov 3, 2025

Copy link
Copy Markdown
Member
  • [FIX] Wrong management of coreKey

    • Fixed an issue where the coreKey was handled incorrectly, causing it to be always null, resulting in clients being unable to access restricted resources.
  • [FEAT] Split 401 Unauthorized into 401 Unauthorized and 403 Forbidden

    • Now, 401 is used when authentication fails (e.g., invalid secure key), while 403 is used when access is denied despite valid authentication (e.g., insufficient permissions, invalid key for specific target communication, invalid masterkey, etc.).
    • This provides clearer feedback to clients about the nature of access issues.
  • [FEAT] Implemented client.request() method in WebSocketClient

    • This method allows sending a message and awaiting a response, simplifying request-response interactions.
    • To use it, simply call client.request(message) and await the returned promise.
    • To respond to such request on the other side, handle the request event and reply using message.reply.
  • [CHORE] Improved code documentation and comments for better clarity and maintainability.

@LoboMetalurgico LoboMetalurgico self-assigned this Nov 3, 2025
@LoboMetalurgico LoboMetalurgico added the enhancement New feature or request label Nov 3, 2025

@SpaceFox1 SpaceFox1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@LoboMetalurgico LoboMetalurgico merged commit ef15091 into main Nov 3, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants