`useCache` now calls `useQuery`
This is a breaking change before useCache previously used useApi which meant that the end-user had to call useApi().trigger for the action to be dispatched. Now it is handled automatically.
We also added tsdocs to many of our public functions.