@n42/cli 0.3.12 → 0.3.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n42/cli",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "Node42 CLI – Command-line interface for Peppol eDelivery path discovery, diagnostics, and tooling",
5
5
  "keywords": [
6
6
  "node42",
@@ -157,9 +157,10 @@ class Terminal {
157
157
  if (!req || typeof req.url !== "string") throw new Error("Missing url");
158
158
 
159
159
  const method = (req.method || "GET").toUpperCase();
160
- const headers = { ...(req.headers || {}) };
161
-
162
- headers["X-Client-Source"] = "n42-cli";
160
+ const headers = {
161
+ ...(req.headers || {}),
162
+ "X-Client-Source": "n42-cli"
163
+ };
163
164
 
164
165
  // If body is object, default JSON
165
166
  let body = req.body ?? null;