v2.0.0
There are breaking changes, and from this version onwards, you will be required to add "type": "module"
to your package.json
Changes:
APIErrors
are now thrown instead of being returned, meaning the API's functions will always return what's desired (if anything is returned)APIErrors
now also have theserver
,endpoint
andparameters
that were used in the request that triggered it- The
API
's verbose is now more customizable, it is set tonone
by default, and can be set toerrors
orall
(used to be a boolean set tofalse
by default) - All enums are now UPPERCASED for the sake of consistency
api.getReplay()
has been changed, documentation about it has consequently been updated
Full Changelog: https://github.com/TTTaevas/osu-api-v1-js/pull/42/commits