-Accept JSON values (including arrays) in ExtendedRequestInit.body.
-Auto-stringify plain JSON body values even when no response schema is provided.
-Set Content-Type: application/json only when auto-stringifying and no explicit content type is set.
v0.4.3
Changed
-e4542bb: Refined standardValidate typings so return types depend on throwOnError, and updated @zap-studio/fetch integration while preserving the existing boolean configuration API.
Dependencies
-e4542bb: Updated dependency @zap-studio/validation to 0.2.1.
v0.4.2
Dependencies
-2de8183: Updated dependency @zap-studio/validation to 0.2.0.
v0.4.1
Changed
-447dbda: Switched shared Standard Schema validation utilities to @zap-studio/validation.
Dependencies
-447dbda: Updated dependency @zap-studio/validation to 0.1.0.
v0.4.0
Added
-69057cd: Exposed fetch defaults constants and utility helpers as public exports.
v0.3.1
Changed
-9919f63: Added discriminated return types based on throwOnValidationError.