letmeknow-cli 0.4.4 → 0.4.6

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/bin/letmeknow.js +1 -1
  2. package/package.json +2 -2
package/bin/letmeknow.js CHANGED
@@ -176,7 +176,7 @@ class RelayRequest extends Readable {
176
176
  this.method = packet.method;
177
177
  this.url = packet.path;
178
178
  this.originalUrl = packet.path;
179
- this.headers = packet.headers || {};
179
+ this.headers = { ...(packet.headers || {}), host: "localhost" };
180
180
  this.httpVersion = "1.1";
181
181
  this.httpVersionMajor = 1;
182
182
  this.httpVersionMinor = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "letmeknow-cli",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "A live Vite preview with agent-readable form submissions.",
5
5
  "files": [
6
6
  "bin",
@@ -17,7 +17,7 @@
17
17
  "dev": "wrangler dev",
18
18
  "deploy": "wrangler deploy",
19
19
  "check": "tsc --noEmit && tsc -p tsconfig.test.json --noEmit",
20
- "test": "npm run check && vitest run && node --test tests/cli.test.js"
20
+ "test": "npm run check && vitest run && node --test tests/cli.test.js tests/integration.test.js"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@cloudflare/vitest-plugin": "^1.1.0",