@monerium/sdk
Advanced tools
Comparing version 2.6.1 to 2.6.3
# Changelog | ||
## [2.6.3](https://github.com/monerium/sdk/compare/v2.6.2...v2.6.3) (2023-10-18) | ||
### Bug Fixes | ||
* tests ([6be0014](https://github.com/monerium/sdk/commit/6be00148724942bdca74bbeea961b8b33bcd80f7)) | ||
## [2.6.2](https://github.com/monerium/sdk/compare/v2.6.1...v2.6.2) (2023-10-18) | ||
### Bug Fixes | ||
* add missing info from README [no-ci] ([600bda5](https://github.com/monerium/sdk/commit/600bda52f9d8b61aa47222ace5308d3087e674e5)) | ||
* **docs:** add source code link to README ([c2a9294](https://github.com/monerium/sdk/commit/c2a9294f49e60ba9fd9373d94ec6069b6b559fb0)) | ||
* revert changes to action ([36eada9](https://github.com/monerium/sdk/commit/36eada92b89b9bf1de0659f74479d27b58697975)) | ||
* update docs on every push to main ([e0f57e6](https://github.com/monerium/sdk/commit/e0f57e61312a5fce0d02608eed6fc7c5aaba5b09)) | ||
## [2.6.1](https://github.com/monerium/sdk/compare/v2.6.0...v2.6.1) (2023-09-11) | ||
@@ -4,0 +21,0 @@ |
{ | ||
"name": "@monerium/sdk", | ||
"version": "2.6.1", | ||
"version": "2.6.3", | ||
"description": "Everything you need to interact with the Monerium API - an electronic money issuer.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -8,2 +8,4 @@ # @monerium/sdk | ||
[Source code](https://github.com/monerium/sdk) | ||
[SDK Documentation](https://monerium.github.io/sdk/) | ||
@@ -41,3 +43,3 @@ | ||
If you are new here, we recommend starting in the [Developer Portal](https://monerium.dev/docs/welcome). There you will more about `client_id`'s and ways of authenticating. | ||
We recommend starting in the [Developer Portal](https://monerium.dev/docs/welcome). There you will learn more about `client_id`'s and ways of authenticating. | ||
@@ -64,2 +66,5 @@ ### Import the SDK and initialize a client | ||
await client.getAuthContext() | ||
// You can now find your access and refresh token here: | ||
const { access_token, refresh_token } = client.bearerProfile; | ||
``` | ||
@@ -72,3 +77,4 @@ | ||
let authFlowUrl = client.getAuthFlowURI({ | ||
client_id: "your_client_authflow_uuid" | ||
client_id: "your_client_authflow_uuid", | ||
redirect_uri: "http://your-webpage.com/monerium-integration" | ||
// optional automatic wallet selection: | ||
@@ -100,2 +106,5 @@ network: "mumbai", | ||
await client.getAuthContext(); | ||
// You can now find your access and refresh token here: | ||
const { access_token, refresh_token } = client.bearerProfile; | ||
``` | ||
@@ -102,0 +111,0 @@ |
214722
140