vim-web 0.6.0-dev.7 → 0.6.0-dev.8

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/vim-web.js CHANGED
@@ -57606,10 +57606,10 @@ class WebglViewer {
57606
57606
  this._camera,
57607
57607
  this.settings
57608
57608
  );
57609
+ this.selection = createSelection$1();
57609
57610
  this._inputs = createInputHandler(this);
57610
57611
  this._gizmos = new Gizmos(this._renderer, this._viewport, this, this._camera);
57611
57612
  this.materials.applySettings(this.settings.materials);
57612
- this.selection = createSelection$1();
57613
57613
  const size = this._renderer.three.getSize(new Vector2());
57614
57614
  const gpuPicker = new GpuPicker(
57615
57615
  this._renderer.three,
@@ -60201,11 +60201,13 @@ class SocketClient {
60201
60201
  */
60202
60202
  async _onOpen(_) {
60203
60203
  var _a3;
60204
+ console.log("WebSocket connection opened to ", this.url);
60204
60205
  clearTimeout(this._connectionTimeout);
60205
60206
  this.updateState({ status: "validating" });
60206
60207
  const issues = await this._validateConnection();
60207
60208
  if (issues !== void 0) {
60208
60209
  this._disconnect(issues);
60210
+ this._connectPromise.resolve(false);
60209
60211
  return;
60210
60212
  }
60211
60213
  this._logger.log("Connected to: ", (_a3 = this._socket) == null ? void 0 : _a3.url);