@phpsandbox/sdk 0.0.13 → 0.0.14

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.
@@ -4755,9 +4755,10 @@ var PHPSandbox = (() => {
4755
4755
  return disposable;
4756
4756
  }
4757
4757
  async reconnect() {
4758
+ const whenConnected = this.whenConnected();
4758
4759
  this.socket.reconnect();
4759
4760
  this.initialized = false;
4760
- await this.whenConnected();
4761
+ await whenConnected;
4761
4762
  __privateMethod(this, _NotebookInstance_instances, init_fn).call(this);
4762
4763
  return this.ready().then(() => this);
4763
4764
  }