Skip to content

Refactor MessageSource and update terminology to client#7

Merged
krypton-byte merged 2 commits intomasterfrom
dev
Apr 2, 2026
Merged

Refactor MessageSource and update terminology to client#7
krypton-byte merged 2 commits intomasterfrom
dev

Conversation

@krypton-byte
Copy link
Copy Markdown
Owner

Summary

Type of Change

  • feat
  • fix
  • docs
  • refactor
  • chore
  • ci/build
  • breaking change

Checklist

  • PR title follows Conventional Commits (type(scope): summary)
  • Local checks pass (ruff, formatting, stub parity)
  • Docs updated if behavior/API changed
  • Relevant tests added/updated
  • No secrets or generated build artifacts committed

Linked Issues

Notes for Reviewer

- Simplified the conversion from WhatsAppMessageSource to MessageSource by using Arc for chat and sender.
- Updated the import path for the WhatsApp protobuf to use the correct module.
- Added unit tests for Tryx event classes and client initialization.
- Introduced tests for JID type to ensure proper construction and representation.
- Added new dependencies for CSS, HTML, and JS minification in the project.
- Created initial test configuration and structure for integration tests.
- Updated terminology from "bot" to "client" across various documentation files, tutorials, and examples for consistency.
- Renamed event handlers and instances in code to reflect the change from bot to client.
- Adjusted exception names and messages to align with the new terminology.
- Ensured backward compatibility for legacy names where necessary.
@krypton-byte krypton-byte merged commit db747a0 into master Apr 2, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant