@basthon/kernel-base 0.73.3 → 0.73.5

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/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "0.73.3";
1
+ export declare const VERSION = "0.73.5";
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.73.3";
1
+ export const VERSION = "0.73.5";
@@ -210,9 +210,8 @@ export class KernelMainBase extends KernelBase {
210
210
  case "breakpoint-move-on":
211
211
  //@ts-ignore
212
212
  const notebook = Jupyter?.notebook;
213
- const msg_id = msg.content.data?.parent_msg?.header?.msg_id;
214
- const index = notebook?.last_msg_id_to_cell_index?.(msg_id);
215
- notebook?.next_breakpoint_cell?.(index);
213
+ const cell_id = msg.content.data?.parent_msg?.content?.cell_id;
214
+ notebook?.next_breakpoint_cell?.(cell_id);
216
215
  break;
217
216
  default: // ignoring (probably a comlink message)
218
217
  }
@@ -30,6 +30,10 @@ declare class KernelWorkerBase {
30
30
  private _fallbackKey?;
31
31
  private _decrypt;
32
32
  constructor(options?: any);
33
+ /**
34
+ * Kernel version (same as main thread version() method).
35
+ */
36
+ version(): string;
33
37
  /**
34
38
  * Language implemented in the kernel (string).
35
39
  * Generally lower case.
@@ -43,6 +43,12 @@ class KernelWorkerBase {
43
43
  // not needed anymore
44
44
  self._assetsURL = undefined;
45
45
  }
46
+ /**
47
+ * Kernel version (same as main thread version() method).
48
+ */
49
+ version() {
50
+ return VERSION;
51
+ }
46
52
  /**
47
53
  * Language implemented in the kernel (string).
48
54
  * Generally lower case.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basthon/kernel-base",
3
- "version": "0.73.3",
3
+ "version": "0.73.5",
4
4
  "description": "Basthon - Base Kernel",
5
5
  "homepage": "https://basthon.fr",
6
6
  "bugs": {
@@ -47,5 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "68894e4db137b9cd8ec8676a2ed9c76752120a8f"
50
+ "gitHead": "0a6a26f0727bb0bcf117ad5b5a12f87dbfe68405"
51
51
  }