Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#320: Fix tree shaking mechanism and remove circular dependencies #343

Merged

Conversation

MrRefactoring
Copy link
Owner

Closes #320

  • Improved the tree shaking process to ensure unused code is properly eliminated across the entire library.
  • Refactored the codebase to resolve circular dependencies, improving tree shaking and maintainability.

@MrRefactoring MrRefactoring added this to the v4.0.4 milestone Jan 3, 2025
- Improved the tree shaking process to ensure unused code is properly eliminated across the entire library.
- Refactored the codebase to resolve circular dependencies, improving tree shaking and maintainability.
@MrRefactoring MrRefactoring force-pushed the bugfix/#320-fixing-tree-shaking-for-clients branch from d2e076d to ad6fb8b Compare January 3, 2025 23:30
@MrRefactoring MrRefactoring changed the title #327: Fix tree shaking mechanism and remove circular dependencies #320: Fix tree shaking mechanism and remove circular dependencies Jan 3, 2025
@MrRefactoring MrRefactoring added the bug Indicates a reported issue or malfunction that needs fixing. label Jan 3, 2025
@MrRefactoring MrRefactoring merged commit 2294bf4 into release/v4.0.4 Jan 4, 2025
8 checks passed
@MrRefactoring MrRefactoring deleted the bugfix/#320-fixing-tree-shaking-for-clients branch January 4, 2025 00:07
MrRefactoring added a commit that referenced this pull request Jan 4, 2025
* #327: Package `form-data` replaced to `formdata-node` for add esm support (#341)

* #327: Package `form-data` replaced to `formdata-node` for add esm support

* #327: Add `Buffer` type support using `formdata-node` package

- Implemented `Buffer` to `File` conversion for attachment uploads.
- Added `attachment.mimeType` an optional property.
- Added automatic MIME type detection based on file extensions.

* #327: Fixed the issue with the absence of the `File` class in Node.js v18.x.x by using `File` from `formdata-node`.

- Enhanced documentation with TSDoc and examples for better clarity.

* #320: Fix tree shaking mechanism and remove circular dependencies (#343)

- Improved the tree shaking process to ensure unused code is properly eliminated across the entire library.
- Refactored the codebase to resolve circular dependencies, improving tree shaking and maintainability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates a reported issue or malfunction that needs fixing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable Importing Specific Clients Without Pulling in Dependencies for All Clients
1 participant