Releases: serviejs/servie
Releases · serviejs/servie
Fix Event Emitter
Fixed
- Fixed event emitter with
once
events - Always clone
signal
when cloning requests instead of sharing the same signal instance
Common Clone
Fixed
- Add
clone()
methods to common interfaces
Specify default `Common` bodies for generic parameter
Fixed
- Export
url
onCommonRequest
interface
Added
- Add
unknown
as the default generic parameter forCommon
bodies
Headers As Object Type
Fixed
- Avoid
undefined
inasObject
return type since it's copied from internalobject
Export `{Request,Response}Options`
Added
- Export
RequestOptions
andResponseOptions
from type-safe entry points
Export universal class types alongside `const`
Added
- Export
type
mirrors ofconst
for universal entry point
Stream To Text
Fixed
- Reuse function between
buffer
andtext
output
Undefined header keys for init
Added
- Support
undefined
keys for the object form of initializing headers
Fetch-like Rewrite
Changed
- Rewrite to mirror
fetch
withRequest
andResponse
, output a smaller build for browsers
`UrlWithStringQuery`
Changed
- Expose
Url
asUrlWithStringQuery
for better query string parser understanding