@aiyiran/myclaw 1.0.233 → 1.0.234

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.
@@ -627,7 +627,7 @@
627
627
 
628
628
  function connectCmdSocket(callback) {
629
629
  if (cmdSocket && cmdSocketReady) { callback(); return; }
630
- cmdSocket = window.io("/cmd", { path: "/cmd/socket.io/", transports: ["polling", "websocket"] });
630
+ cmdSocket = window.io({ path: "/cmd/socket.io/", transports: ["polling", "websocket"] });
631
631
  cmdSocket.on("connect", function () {
632
632
  cmdSocketReady = true;
633
633
  console.log("[myclaw-cmd] Socket.IO \u5DF2\u8FDE\u63A5, sid=" + cmdSocket.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiyiran/myclaw",
3
- "version": "1.0.233",
3
+ "version": "1.0.234",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {