@wahooks/channel 0.4.0 → 0.4.1

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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -351,7 +351,7 @@ mcp.setRequestHandler(CallToolRequestSchema, async (req) => {
351
351
  function connectWebSocket() {
352
352
  const wsProtocol = API_URL.startsWith("https") ? "wss" : "ws";
353
353
  const wsHost = API_URL.replace(/^https?/, wsProtocol);
354
- const wsUrl = `${wsHost}/ws?token=${encodeURIComponent(API_KEY)}`;
354
+ const wsUrl = `${wsHost}/api/ws?token=${encodeURIComponent(API_KEY)}`;
355
355
  console.error("[wahooks-channel] Connecting to event stream...");
356
356
  const ws = new WebSocket(wsUrl);
357
357
  ws.on("open", () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wahooks/channel",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "WhatsApp channel for Claude Code — chat with Claude via WhatsApp",
5
5
  "type": "module",
6
6
  "bin": {