- a426d64: Add customFetch to the options when creating a new client, allowing you the ability to write custom fetch functions
- ab8f2f6: Revert node-fetch to v2 for cjs compatibility
- Bump version of node-fetch
- Fix bug in getCombinedLeaderboard that caused weekly XP data to be incorrect
- Support both commonjs and modern es6
- Fix a bad import path
-
0b3da13: This major update is a breaking change!
- Rewrote the library to Typescript
- Changed getGuildLeaderboard to getLeaderboard
- Changed getRawGuildLeaderboard to getRawLeaderboard
- Added a getCombinedLeaderboard method
- Changed getLevelExp to getNextLevelExp
- Updated the documentation website
- Updated many object's keys to match the internal API keys
- Renamed the original APIError to AmariError (and added a new type called APIError for error typing from the API itself)