@zyzgroup/core-web 0.1.79 → 0.1.80

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.
@@ -21760,7 +21760,7 @@ class me {
21760
21760
  }
21761
21761
  // 可能需要根据协议变更传输格式
21762
21762
  _send(t) {
21763
- this.socket?.readyState === me.OPEN ? this.socket.send(JSON.stringify([t])) : (this.messageQueue.push(t), this._connect());
21763
+ this.socket?.readyState === me.OPEN ? this.socket.send(JSON.stringify(JSON.stringify([t]))) : (this.messageQueue.push(t), this._connect());
21764
21764
  }
21765
21765
  ping() {
21766
21766
  this._send({ type: "ping" });