@monerium/sdk 3.3.1 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -849,8 +849,14 @@ declare const shortenIban: (iban?: string) => string | undefined;
|
|
|
849
849
|
* })
|
|
850
850
|
*
|
|
851
851
|
* // Will redirect the user to Monerium's authentication code flow.
|
|
852
|
+
* await monerium.authorize();
|
|
853
|
+
*
|
|
854
|
+
* // Will use the authorization code flow code to get access token
|
|
852
855
|
* await monerium.getAccess();
|
|
853
856
|
*
|
|
857
|
+
* // or use refresh token to get access token if provided.
|
|
858
|
+
* await monerium.getAccess(refreshToken);
|
|
859
|
+
*
|
|
854
860
|
* // Retrieve profiles the client has access to.
|
|
855
861
|
* await monerium.getProfiles();
|
|
856
862
|
* ```
|