Description
Is your feature request related to a problem? Please describe
We are currently using the sdk in our projects, and we have noticed that the bundle size impacts our application's performance.
Describe the solution you'd like
Rethink the SDK to make it tree-shakeable by using a more modular design. Another approach could be to rely more on types to reduce the compiled code.
Describe alternatives you've considered
I've considered using a lightweight TypeScript client generator from an OpenAPI schema, such as openapi-typescript or openapi-ts. However, I am concerned that the OpenAPI schema may not be precise enough to provide typed errors, typed query parameters, and other detailed typings. Additionally, the SDK performs tasks, such as transforming responses, that are not exported or fully reusable.
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
No response