@phpsandbox/sdk 0.0.20 → 0.0.23
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 +3 -1
- package/dist/browser/phpsandbox-sdk.esm.js.map +2 -2
- package/dist/browser/phpsandbox-sdk.esm.min.js +2 -2
- package/dist/browser/phpsandbox-sdk.esm.min.js.map +3 -3
- package/dist/browser/phpsandbox-sdk.iife.js +3 -1
- package/dist/browser/phpsandbox-sdk.iife.js.map +2 -2
- package/dist/browser/phpsandbox-sdk.iife.min.js +2 -2
- package/dist/browser/phpsandbox-sdk.iife.min.js.map +3 -3
- package/dist/index.d.ts +19 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -4821,10 +4821,12 @@ var PHPSandbox = (() => {
|
|
|
4821
4821
|
_NotebookInstance_instances = new WeakSet();
|
|
4822
4822
|
init_fn = function() {
|
|
4823
4823
|
__privateSet(this, _initPromise, new Promise((resolve, reject) => {
|
|
4824
|
-
this.onDidInitialize((result) => {
|
|
4824
|
+
const initializationListener = this.onDidInitialize((result) => {
|
|
4825
|
+
initializationListener.dispose();
|
|
4825
4826
|
this.initialized = result;
|
|
4826
4827
|
if (result.type === "error") {
|
|
4827
4828
|
reject(new NotebookInitError(result.message, result.data));
|
|
4829
|
+
return;
|
|
4828
4830
|
}
|
|
4829
4831
|
resolve(result);
|
|
4830
4832
|
});
|