Skip to content

v3.0.0: Merge pull request #9 from ohmybrew/v3-dev

Compare
Choose a tag to compare
@gnikyt gnikyt released this 23 May 02:17
· 271 commits to master since this release
0f7ddaf

Contains breaking changes

To better the library, it has been reverted back to its original single-class form and backwards compatibile with 1.x.x

  • GraphQL and REST are all under one class
  • getApiCalls() now takes two arguments, first being rest|graph, second being the key
  • rest() is now for REST calls
  • graph() is now for GraphQL calls
  • request() is aliased to rest() for backward compatibility