hookdeck-cli 1.6.1-beta.1 → 1.7.0

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 CHANGED
@@ -394,7 +394,7 @@ hookdeck logout
394
394
 
395
395
  When forwarding events to an HTTPS URL as the first argument to `hookdeck listen` (e.g., `https://localhost:1234/webhook`), you might encounter SSL validation errors if the destination is using a self-signed certificate.
396
396
 
397
- For local development scenarios, you can instruct the `listen` command to bypass this SSL certificate validation by using its `--insecure` flag. You must provide the full HTTPS URL.
397
+ For local development scenarios, you can instruct the `listen` command to bypass this SSL certificate validation by using its `--insecure` flag. You must provide the full HTTPS URL. This flag also applies to the periodic server health checks that the CLI performs.
398
398
 
399
399
  **This is dangerous and should only be used in trusted local development environments for destinations you control.**
400
400
 
@@ -404,6 +404,14 @@ Example of skipping SSL validation for an HTTPS destination:
404
404
  hookdeck listen --insecure https://<your-ssl-url-or-url:port>/ <source-alias?> <connection-query?>
405
405
  ```
406
406
 
407
+ ### Disable health checks
408
+
409
+ The CLI periodically checks if your local server is reachable and displays warnings if the connection fails. If these health checks cause issues in your environment, you can disable them with the `--no-healthcheck` flag:
410
+
411
+ ```sh
412
+ hookdeck listen --no-healthcheck 3000 <source-alias?>
413
+ ```
414
+
407
415
  ### Version
408
416
 
409
417
  Print your CLI version and whether or not a new version is available.
package/bin/hookdeck.js CHANGED
@@ -33,5 +33,5 @@ try {
33
33
  } catch (error) {
34
34
  // execFileSync will exit with the same code as the binary
35
35
  // If there's an error executing, exit with code 1
36
- process.exit(error.status || 1);
36
+ process.exit(error.status ?? 1);
37
37
  }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hookdeck-cli",
3
- "version": "1.6.1-beta.1",
3
+ "version": "1.7.0",
4
4
  "description": "Hookdeck CLI",
5
5
  "repository": {
6
6
  "type": "git",