@momo2555/koppeliajs 0.0.103 → 0.0.104

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.
@@ -117,7 +117,7 @@ export class KoppeliaWebsocket {
117
117
  // handle connection close (if an error occure)
118
118
  this.socket.onclose = (event) => {
119
119
  console.log(`Connection closed ${event.reason}, code=${event.code}, retry onnection ...`);
120
- setTimeout(() => { this._connectWebsocket(this.websocketUrl); }, 1000);
120
+ setTimeout(() => { this._connectWebsocket(this.websocketUrl); this._setupEvents(); }, 1000);
121
121
  };
122
122
  }
123
123
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo2555/koppeliajs",
3
- "version": "0.0.103",
3
+ "version": "0.0.104",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",