@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.
- package/dist/browser/phpsandbox-sdk.esm.js +2 -1
- package/dist/browser/phpsandbox-sdk.esm.js.map +2 -2
- package/dist/browser/phpsandbox-sdk.esm.min.js +1 -1
- package/dist/browser/phpsandbox-sdk.esm.min.js.map +3 -3
- package/dist/browser/phpsandbox-sdk.iife.js +2 -1
- package/dist/browser/phpsandbox-sdk.iife.js.map +2 -2
- package/dist/browser/phpsandbox-sdk.iife.min.js +1 -1
- package/dist/browser/phpsandbox-sdk.iife.min.js.map +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
4761
|
+
await whenConnected;
|
|
4761
4762
|
__privateMethod(this, _NotebookInstance_instances, init_fn).call(this);
|
|
4762
4763
|
return this.ready().then(() => this);
|
|
4763
4764
|
}
|