@girs/javascriptcore-4.1 2.46.0-4.0.0-beta.20 → 2.47.3-4.0.0-beta.21
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/README.md +1 -1
- package/javascriptcore-4.1.d.ts +5 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for JavaScriptCore-4.1, generated from library version 2.
|
|
8
|
+
GJS TypeScript type definitions for JavaScriptCore-4.1, generated from library version 2.47.3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.21.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/javascriptcore-4.1.d.ts
CHANGED
|
@@ -383,6 +383,9 @@ export namespace JavaScriptCore {
|
|
|
383
383
|
interface ExceptionHandler {
|
|
384
384
|
(context: Context, exception: Exception): void;
|
|
385
385
|
}
|
|
386
|
+
interface Executor {
|
|
387
|
+
(resolve: Value, reject: Value): void;
|
|
388
|
+
}
|
|
386
389
|
interface OptionsFunc {
|
|
387
390
|
(option: string, type: OptionType, description?: string | null): boolean;
|
|
388
391
|
}
|
|
@@ -919,6 +922,8 @@ export namespace JavaScriptCore {
|
|
|
919
922
|
|
|
920
923
|
static new_object(context: Context, instance?: any | null, jsc_class?: Class | null): Value;
|
|
921
924
|
|
|
925
|
+
static new_promise(context: Context, executor: Executor): Value;
|
|
926
|
+
|
|
922
927
|
static new_string(context: Context, string?: string | null): Value;
|
|
923
928
|
|
|
924
929
|
static new_string_from_bytes(context: Context, bytes?: GLib.Bytes | null): Value;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/javascriptcore-4.1",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "GJS TypeScript type definitions for JavaScriptCore-4.1, generated from library version 2.
|
|
3
|
+
"version": "2.47.3-4.0.0-beta.21",
|
|
4
|
+
"description": "GJS TypeScript type definitions for JavaScriptCore-4.1, generated from library version 2.47.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "javascriptcore-4.1.js",
|
|
7
7
|
"main": "javascriptcore-4.1.js",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
35
|
-
"@girs/glib-2.0": "^2.
|
|
36
|
-
"@girs/gobject-2.0": "^2.
|
|
34
|
+
"@girs/gjs": "^4.0.0-beta.21",
|
|
35
|
+
"@girs/glib-2.0": "^2.83.3-4.0.0-beta.21",
|
|
36
|
+
"@girs/gobject-2.0": "^2.83.3-4.0.0-beta.21"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"typescript": "*"
|