@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
|
@@ -4781,10 +4781,12 @@ _initPromise = new WeakMap();
|
|
|
4781
4781
|
_NotebookInstance_instances = new WeakSet();
|
|
4782
4782
|
init_fn = function() {
|
|
4783
4783
|
__privateSet(this, _initPromise, new Promise((resolve, reject) => {
|
|
4784
|
-
this.onDidInitialize((result) => {
|
|
4784
|
+
const initializationListener = this.onDidInitialize((result) => {
|
|
4785
|
+
initializationListener.dispose();
|
|
4785
4786
|
this.initialized = result;
|
|
4786
4787
|
if (result.type === "error") {
|
|
4787
4788
|
reject(new NotebookInitError(result.message, result.data));
|
|
4789
|
+
return;
|
|
4788
4790
|
}
|
|
4789
4791
|
resolve(result);
|
|
4790
4792
|
});
|