- Allow generic typing of access token payload
[BREAKING CHANGES]: Starting from this release we support Apollo v3 only. If you need Apollo v2 support, please use 0.2.x version.
- Experimental Apollo 3.0 support
- Call
consumeQueue
in any way (on Error)
- Fixed endless
fetching
after receiving error
- updated
graphql
peerDependency
- Token could be an object with a payload
- Allowed to pass an object as
accessTokenField
, not only as strict string
- Added a possibility to use apollo query to refresh token
- Added new parameter
handleResponse
that allows user to manually parse response with token and handle errors