update test client

This commit is contained in:
2026-09-14 17:31:31 +08:00
parent c1d7adc2a9
commit fb0b2208d6
+2 -2
View File
@@ -1,6 +1,6 @@
import { WhatsAppClient } from "./whatsapp";
const wa = new WhatsAppClient("ws://127.0.0.1:8787");
const wa = new WhatsAppClient("wss://wa-bridge.rul.sh/ws");
await wa.connect();
const chats = await wa.listChats({
@@ -37,6 +37,6 @@ console.log(
// });
// await wa.sendText({
// chatId: "628123456789@c.us",
// chatId: "6289521024344@c.us",
// text: "Hello from Node!",
// });