@fuwa/rest@0.2.0
splatterxl
released this
05 May 17:36
·
35 commits
to rewrite
since this release
This release adds a RequestManagerOptions
interface and renames the previous _client
parameter in RequestManager
.
Notable changes
- Specifying a
debug()
/trace()
function (as well as passing colors) is now available withRequestManager
. - You can now specify whether timings of requests (i.e. how long it took) is logged in aforementioned debug/trace functions.
Usage
new RequestManager(..., {
timings: true,
logger: {
debug: console.log,
trace: console.log,
}
})
Full Changelog: https://github.com/fuwa-org/fuwa/compare/@fuwa/rest@0.1.1...@fuwa/rest@0.2.0