@n42/cli 0.3.9 → 0.3.10
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/dist/assets/terminal.js +2 -0
- package/dist/n42 +1 -1
- package/package.json +1 -1
- package/src/assets/terminal.js +2 -0
package/dist/assets/terminal.js
CHANGED
|
@@ -159,6 +159,8 @@ class Terminal {
|
|
|
159
159
|
const method = (req.method || "GET").toUpperCase();
|
|
160
160
|
const headers = { ...(req.headers || {}) };
|
|
161
161
|
|
|
162
|
+
headers["X-Client-Source"] = "n42-cli";
|
|
163
|
+
|
|
162
164
|
// If body is object, default JSON
|
|
163
165
|
let body = req.body ?? null;
|
|
164
166
|
if (body && typeof body === "object" && !(body instanceof FormData) && !(body instanceof Blob)) {
|