Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@RinseV RinseV released this 08 Feb 21:13
7881228

What's Changed

  • Switched over to GraphQL API for all requests
  • Removed the functions for the subclasses, they can now be accessed directly (ah.product vs ah.product())
  • Removed the bonus & category subclasses since the GraphQL API does not have 1-to-1 equivalents
  • Reworked the product functions:
    • getProductsFromName is now search and uses a different set of arguments
    • getProductFromId is now get
  • Reworked the recipe functions:
    • getRecipeFromName is now search and uses a different set of arguments
    • getRecipeFromId is now get
  • Reworked the store functions:
    • getStoresFromLocation is now search and uses a different set of arguments
  • Rewrote tests using MSW and Vitest
  • Switched from yarn to pnpm
  • Removed axios and date-fns dependencies, this package now has no external dependencies
  • Updated to Node 22

Full Changelog: 2.0.1...3.0.0