diff --git a/README.md b/README.md index 89ef394..14ec32f 100644 --- a/README.md +++ b/README.md @@ -40,19 +40,29 @@ Fetches token balances for a specific wallet address. import { useTokenBalances } from "@duneanalytics/hooks"; const MyComponent = ({ account }) => { - const { data, isLoading, error } = useTokenBalances(account.address, {}); + const { data, isLoading, error, nextPage, previousPage, currentPage } = + useTokenBalances(account.address, {}); if (isLoading) return

Loading...

; if (error) return

Error: {error.message}

; return ( - +
+ + + +

Current Page: {currentPage + 1}

+
); }; ``` @@ -151,6 +161,12 @@ _note you can also use `minor` or `major` instead of `patch` to bump the version npm version patch ``` +When you make any changes, please make sure that the tests pass. + +```bash +npm test +``` + Then run the following commands to deploy the package to the npm registry: ```bash