@hypercli.com/sdk 2026.3.20 → 2026.3.22
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
|
@@ -30,7 +30,7 @@ npm link ../ts-sdk
|
|
|
30
30
|
```typescript
|
|
31
31
|
import { HyperCLI } from '@hypercli.com/sdk';
|
|
32
32
|
|
|
33
|
-
// Initialize client (uses
|
|
33
|
+
// Initialize client (uses HYPER_API_KEY from env or ~/.hypercli/config)
|
|
34
34
|
const client = new HyperCLI();
|
|
35
35
|
|
|
36
36
|
// Or pass API key directly
|
|
@@ -57,7 +57,7 @@ console.log(`Hostname: ${job.hostname}`);
|
|
|
57
57
|
## Configuration
|
|
58
58
|
|
|
59
59
|
Set your API key via:
|
|
60
|
-
1. Environment variable: `export
|
|
60
|
+
1. Environment variable: `export HYPER_API_KEY=your_key`
|
|
61
61
|
2. Config file: `~/.hypercli/config`
|
|
62
62
|
3. Constructor: `new HyperCLI({ apiKey: 'your_key' })`
|
|
63
63
|
|