@basthon/kernel-base 0.73.2 → 0.73.4

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.2";
1
+ export declare const VERSION = "0.73.4";
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.73.2";
1
+ export const VERSION = "0.73.4";
@@ -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.2",
3
+ "version": "0.73.4",
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": "95bbd19a61673aecea85f72bc03cfe5cbcb26660"
50
+ "gitHead": "94ee7569ba527ce1c9a27fc8bf2ad8163c165f84"
51
51
  }