@oumla/sdk 1.2.3 → 1.2.4
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ import { OumlaSdkApiClient, OumlaSdkApiEnvironment } from '@oumla/sdk';
|
|
|
41
41
|
// Initialize the client
|
|
42
42
|
const client = new OumlaSdkApiClient({
|
|
43
43
|
apiKey: 'your-api-key-here',
|
|
44
|
-
environment: OumlaSdkApiEnvironment.
|
|
44
|
+
environment: OumlaSdkApiEnvironment.Mainnet,
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
// Example: Get profiles
|
|
@@ -308,7 +308,7 @@ import { OumlaSdkApiClient, OumlaSdkApiEnvironment } from '@oumla/sdk';
|
|
|
308
308
|
|
|
309
309
|
const client = new OumlaSdkApiClient({
|
|
310
310
|
apiKey: process.env.OUMLA_API_KEY!,
|
|
311
|
-
environment: OumlaSdkApiEnvironment.
|
|
311
|
+
environment: OumlaSdkApiEnvironment.Mainnet, // or custom URL
|
|
312
312
|
baseUrl: 'https://custom-api.oumla.com', // Optional: custom base URL
|
|
313
313
|
headers: {
|
|
314
314
|
'Custom-Header': 'value', // Optional: additional headers
|