checkbox-cli 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/dist/checkbox.js +1 -1
  2. package/package.json +1 -1
package/dist/checkbox.js CHANGED
@@ -27,7 +27,7 @@ const API_TOKEN = process.env.CHECKBOX_API_TOKEN ?? '';
27
27
  function getHeaders() {
28
28
  return {
29
29
  'Content-Type': 'application/json',
30
- ...(API_TOKEN ? { Authorization: `Bearer ${API_TOKEN}` } : {}),
30
+ ...(API_TOKEN ? { 'X-API-Key': API_TOKEN } : {}),
31
31
  };
32
32
  }
33
33
  async function apiGet(path) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "checkbox-cli",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "CLI for the Checkbox capability API — create compliance plans, manage tasks, query workspaces, and automate from the terminal.",
5
5
  "type": "module",
6
6
  "main": "dist/checkbox.js",