@circleback/cli 0.3.0 → 0.3.1
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 +1 -1
- package/dist/auth/apiKey.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ cb auth login --api-key # Prompts securely for a Public API key
|
|
|
94
94
|
cb auth logout # Clears stored credentials
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
-
API-key login links to [
|
|
97
|
+
API-key login links to [Settings → API keys](https://circleback.ai/settings?tab=api-access), verifies the key, and stores it locally on your device.
|
|
98
98
|
|
|
99
99
|
For stateless automation, set `CIRCLEBACK_API_KEY` instead of logging in:
|
|
100
100
|
|
package/dist/auth/apiKey.js
CHANGED
|
@@ -54,7 +54,7 @@ const validateApiKey = async (apiKey) => {
|
|
|
54
54
|
throw new Error('The provided API key is invalid or has been revoked.');
|
|
55
55
|
}
|
|
56
56
|
try {
|
|
57
|
-
const response = await fetch(`${constants_1.BASE_URL}/api/meetings
|
|
57
|
+
const response = await fetch(`${constants_1.BASE_URL}/api/meetings`, {
|
|
58
58
|
headers: { Authorization: `Bearer ${apiKey}` },
|
|
59
59
|
});
|
|
60
60
|
if (response.ok)
|
package/package.json
CHANGED