New Features
-
Rate limit support — The SDK now handles rate limiting responses from the API, providing better control over request throttling.
-
Zod validation — Added Zod schema validation for runtime type checking of API responses.
Testing
- SDK test suite — Added comprehensive test suite using Vitest and MSW (Mock Service Worker) with 11 tests covering:
- API operations (
createLink,getLink,deleteLink) - Error handling (401 unauthorized, 404 not found,
throwOnErrorbehavior) - Zod schema validation
- API operations (
Full Changelog: v3.1.0...v3.2.0