v0.9 release
New features
- none
Bug fixes
Payload normalisation
You probably could get unexpected behaviour with no headers in request or smth else
It was happening because adapter.convert
was being called before calling before hooks.
Now adapter.convert
is called only inside adapter request.
You can see new behaviour here
Note that
payload.headers.token = token
in hook will cause error if you don't pass headers (noadapter.convert
called).
Usepayload.headers = { ...payload.headers, token }
instead
Other changes
- none