Skip to content

Commit

Permalink
fix: incorrect statement in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
einaralex committed Jan 13, 2025
1 parent 18ec9aa commit 1e33b34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/sdk-react-provider/src/lib/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import MoneriumClient, {
OrderState,
parseChain,
Profile,
ProfilePermissions,
ProfilesResponse,
RequestIbanPayload,
ResponseStatus,
Expand Down
6 changes: 6 additions & 0 deletions packages/sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,14 @@
* })
*
* // Will redirect the user to Monerium's authentication code flow.
* await monerium.authorize();
*
* // Will use the authorization code flow code to get access token
* await monerium.getAccess();
*
* // or use refresh token to get access token if provided.
* await monerium.getAccess(refreshToken);
*
* // Retrieve profiles the client has access to.
* await monerium.getProfiles();
* ```
Expand Down

0 comments on commit 1e33b34

Please sign in to comment.