Release 1.6.0
Added
- Added ability to search for users with AniList.search
- Added ability to get the 25 most recent activities of a user via User.getRecentActivities (#14)
Changes
API & Methods
- Media.coverImage returns a large, medium, and small version of the cover image as well as the average hex colour
- Added Media.isLocked to check if an entry has been locked (ie: media cannot be added to lists or favourites.)
- Standardized relations across the board. When referring to a media, character, or staff entry, the query will always return a specific object for that item (ie: ID and name for character and staff). Some keys have been removed or added. See documentation for specific changes.
- User.mediaListOptions no longer gives the useLegacyLists value as that's for the AniList site only.
Package Structure
- Updated inline documentation to be more through and descriptive.
- Depreciated documentation.md in favour of a static HTML site that's attached for offline use within the repository. Also began to host the static site at: https://www.katsurin.com/docs/anilist-node/
- Moved the index.js file into the lib folder with the other JS files.