chore: update build

This commit is contained in:
2026-09-15 18:08:59 +08:00
parent 3b589578af
commit 501ee73e41
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
// ==UserScript==
// @name WhatsApp Web Bridge
// @namespace https://rul.sh/
// @version 0.0.1
// @version 0.0.2
// @description WhatsApp Web WebSocket bridge
// @match https://web.whatsapp.com/*
// @updateURL https://git.rul.sh/khairul169/whatsapp-bridge/raw/branch/main/dist/whatsapp-bridge.user.js
@@ -199,7 +199,7 @@
from: serializeId(message.from),
to: serializeId(message.to),
author: serializeId(message.author),
fromMe: message.fromMe ?? false,
fromMe: message.id?.fromMe ?? message.fromMe ?? false,
body: message.body ?? null,
caption: message.caption ?? null,
type: message.type ?? null,
@@ -228,7 +228,7 @@
}
// src/userscript/index.ts
var WS_URL = "wss://wa-bridge.rul.sh/ws";
var WS_URL = "wss://wa-bridge.rul.sh/ws?bridge=1";
var socket;
function send(message) {
if (socket?.readyState !== WebSocket.OPEN) {
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -14,7 +14,7 @@ await esbuild.build({
// ==UserScript==
// @name WhatsApp Web Bridge
// @namespace https://rul.sh/
// @version 0.0.1
// @version 0.0.2
// @description WhatsApp Web WebSocket bridge
// @match https://web.whatsapp.com/*
// @updateURL https://git.rul.sh/khairul169/whatsapp-bridge/raw/branch/main/dist/whatsapp-bridge.user.js