@naturalpay/sdk 0.1.1 → 0.1.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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,14 +43,14 @@ console.log(`Available: ${balance.available.amountMinor} minor units`);
|
|
|
43
43
|
|
|
44
44
|
### Environment Variables
|
|
45
45
|
|
|
46
|
-
- `NATURAL_API_KEY` - Your API key (starts with `
|
|
46
|
+
- `NATURAL_API_KEY` - Your API key (starts with `sk_ntl_dev_` or `sk_ntl_prod_`)
|
|
47
47
|
- `NATURAL_SERVER_URL` - API base URL (default: `https://api.natural.co`)
|
|
48
48
|
|
|
49
49
|
### Client Options
|
|
50
50
|
|
|
51
51
|
```typescript
|
|
52
52
|
const client = new NaturalClient({
|
|
53
|
-
apiKey: '
|
|
53
|
+
apiKey: 'sk_ntl_dev_xxx', // API key
|
|
54
54
|
baseUrl: 'https://api.natural.co', // Custom base URL
|
|
55
55
|
timeout: 30000, // Request timeout in ms
|
|
56
56
|
});
|