In this release, TypeScript types have been replaced with valibot schemas.
Pros:
- Implemented runtime request validation (previously only available at the TypeScript type level)
- Ability to create up-to-date JSON Schema for Hyperliquid API
Cons:
- TypeScript types are slowly inferred from schemas, may affect DX
- Package size increased ~47% (+18.6 kB gzip)
Full Changelog: v0.24.3...v0.25.0-beta.1