v1.0.3
New release! Here's what's different from the previous version:
- Versions of Node.js 16 and more are now explicitly supported while versions 15 and below are explicitly unsupported
APIError
now provides themethod
used for the request- The
method
used for a request is now logged (whenAPI.verbose
is set toall
) - Introduce
API.withSettings()
and theChildAPI
class (#34)
To not go technical about it, the introduction of API.withSettings()
means you're now able to cancel any request by providing your own AbortSignal
! ChildAPI
is essentially what makes it possible behind the scenes
As always, the documentation should be able to help you if you wish to use this newly introduced feature!
Full Changelog: v1.0.2...v1.0.3