Skip to content

Feature/api client provider validation#130

Closed
alupest wants to merge 3 commits intoTenderly:masterfrom
simon0x1800:feature/api-client-provider-validation
Closed

Feature/api client provider validation#130
alupest wants to merge 3 commits intoTenderly:masterfrom
simon0x1800:feature/api-client-provider-validation

Conversation

@alupest
Copy link

@alupest alupest commented Jan 31, 2025

No description provided.

- Add custom ApiError class for better error handling
- Implement request and response interceptors
- Simplify HTTP methods to return direct response data
- Add proper async/await and type safety improvements
- Update method documentation for clarity

This change improves error handling and makes the API client more robust
for better debugging and error reporting.
…or-handling

feat(core): enhance ApiClient with error handling and interceptors
- Add API key validation to ensure proper format and length
- Implement proper singleton pattern with getInstance method
- Add utility methods for client management (clearClients, hasClient)
- Improve type safety with proper error handling

This change improves the robustness of the API client initialization
and provides better control over client instances.
@changeset-bot
Copy link

changeset-bot bot commented Jan 31, 2025

⚠️ No Changeset found

Latest commit: 6603281

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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