@zyzgroup/core-web 0.1.77 → 0.1.79
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/dist/zyzgroup_core_web.iife.js +1 -1
- package/dist/zyzgroup_core_web.iife.js.map +1 -1
- package/dist/zyzgroup_core_web.js +1 -3
- package/dist/zyzgroup_core_web.js.map +1 -1
- package/dist/zyzgroup_core_web.umd.cjs +1 -1
- package/dist/zyzgroup_core_web.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/types/WebSocketClient.d.ts.map +1 -1
|
@@ -21760,9 +21760,7 @@ class me {
|
|
|
21760
21760
|
}
|
|
21761
21761
|
// 可能需要根据协议变更传输格式
|
|
21762
21762
|
_send(t) {
|
|
21763
|
-
this.socket?.readyState === me.OPEN ? this.socket.send(
|
|
21764
|
-
JSON.stringify({ data: JSON.stringify([JSON.stringify(t)]) })
|
|
21765
|
-
) : (this.messageQueue.push(t), this._connect());
|
|
21763
|
+
this.socket?.readyState === me.OPEN ? this.socket.send(JSON.stringify([t])) : (this.messageQueue.push(t), this._connect());
|
|
21766
21764
|
}
|
|
21767
21765
|
ping() {
|
|
21768
21766
|
this._send({ type: "ping" });
|