@basthon/gui-base 0.77.7 → 0.78.1

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/lib/main.d.ts CHANGED
@@ -153,7 +153,7 @@ export declare class GUIBase {
153
153
  /**
154
154
  * Restart the kernel.
155
155
  */
156
- kernelRestart(): void;
156
+ kernelRestart(): Promise<void>;
157
157
  /**
158
158
  * Load ressources from URL (common part to files and modules).
159
159
  */
package/lib/main.js CHANGED
@@ -351,9 +351,9 @@ export class GUIBase {
351
351
  /**
352
352
  * Restart the kernel.
353
353
  */
354
- kernelRestart() {
354
+ async kernelRestart() {
355
355
  this.kernelSafe?.resolvePendingInput();
356
- this.kernelSafe?.restart();
356
+ await this.kernelSafe?.restart();
357
357
  }
358
358
  /**
359
359
  * Load ressources from URL (common part to files and modules).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basthon/gui-base",
3
- "version": "0.77.7",
3
+ "version": "0.78.1",
4
4
  "description": "Basthon - Base GUI",
5
5
  "homepage": "https://basthon.fr",
6
6
  "bugs": {
@@ -25,9 +25,9 @@
25
25
  "clean": "rimraf lib/"
26
26
  },
27
27
  "dependencies": {
28
- "@basthon/checkpoints": "0.77.7",
29
- "@basthon/kernel-base": "0.77.7",
30
- "@basthon/kernel-loader": "0.77.7",
28
+ "@basthon/checkpoints": "0.78.1",
29
+ "@basthon/kernel-base": "0.78.1",
30
+ "@basthon/kernel-loader": "0.78.1",
31
31
  "js-base64": "^3.7.8",
32
32
  "pako": "^2.1.0",
33
33
  "promise-delegate": "^1.0.1"