wachi 0.3.1 → 0.3.2

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/wachi.js +8 -2
  2. package/package.json +6 -6
package/bin/wachi.js CHANGED
@@ -42,7 +42,11 @@ const runBinary = (binaryPath) => {
42
42
  }
43
43
 
44
44
  if (typeof result.signal === "string") {
45
- process.stderr.write(`Error: wachi binary terminated by signal ${result.signal}.\n`);
45
+ process.stderr.write(
46
+ `Error: wachi binary terminated by signal ${result.signal}.\n` +
47
+ "The process was killed externally (e.g. by the OS, another process, or resource limits).\n" +
48
+ "Try running the command again. If it persists, check system resource usage or try reinstalling wachi.\n",
49
+ );
46
50
  }
47
51
 
48
52
  process.exit(1);
@@ -122,7 +126,9 @@ if (existsSync(sourceEntry)) {
122
126
  if (!packageName) {
123
127
  process.stderr.write(
124
128
  `Error: Unsupported platform for prebuilt binaries (${key}).\n` +
125
- "The published wachi package is binary-only.\n",
129
+ "The published wachi package is binary-only.\n" +
130
+ `Supported platforms: ${Object.keys(PLATFORM_PACKAGE_MAP).join(", ")}.\n` +
131
+ "Install from source with Bun, or use a supported platform.\n",
126
132
  );
127
133
  process.exit(1);
128
134
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wachi",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Subscribe any link and get notified on change",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -48,10 +48,10 @@
48
48
  "zod-validation-error": "5.0.0"
49
49
  },
50
50
  "optionalDependencies": {
51
- "@wachi-cli/darwin-arm64": "0.3.1",
52
- "@wachi-cli/darwin-x64": "0.3.1",
53
- "@wachi-cli/linux-arm64": "0.3.1",
54
- "@wachi-cli/linux-x64": "0.3.1",
55
- "@wachi-cli/win32-x64": "0.3.1"
51
+ "@wachi-cli/darwin-arm64": "0.3.2",
52
+ "@wachi-cli/darwin-x64": "0.3.2",
53
+ "@wachi-cli/linux-arm64": "0.3.2",
54
+ "@wachi-cli/linux-x64": "0.3.2",
55
+ "@wachi-cli/win32-x64": "0.3.2"
56
56
  }
57
57
  }