@girs/glib-2.0 2.78.0-3.2.5 → 2.78.0-3.2.6

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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/glib-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GLib-2.0, generated from library version 2.78.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.5.
8
+ GJS TypeScript type definitions for GLib-2.0, generated from library version 2.78.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
9
9
 
10
10
  GLib provides the core application building blocks for libraries and applications written in C. It provides the core object system used in GNOME, the main loop implementation, and a large set of utility functions for strings and common data structures.
11
11
 
package/glib-2.0.d.cts CHANGED
@@ -17895,6 +17895,11 @@ export interface MainLoop {
17895
17895
  * the result is zero, free the loop and free all associated memory.
17896
17896
  */
17897
17897
  unref(): void
17898
+ /**
17899
+ * Similar to `GLib.MainLoop.run` but return a Promise which resolves when the main loop ends, instead of blocking while the main loop runs.
17900
+ * This helps avoid the situation where Promises never resolved if you didn't run the main loop inside a callback.
17901
+ */
17902
+ runAsync(): Promise<void>
17898
17903
  }
17899
17904
 
17900
17905
  /**
package/glib-2.0.d.ts CHANGED
@@ -17897,6 +17897,11 @@ interface MainLoop {
17897
17897
  * the result is zero, free the loop and free all associated memory.
17898
17898
  */
17899
17899
  unref(): void
17900
+ /**
17901
+ * Similar to `GLib.MainLoop.run` but return a Promise which resolves when the main loop ends, instead of blocking while the main loop runs.
17902
+ * This helps avoid the situation where Promises never resolved if you didn't run the main loop inside a callback.
17903
+ */
17904
+ runAsync(): Promise<void>
17900
17905
  }
17901
17906
 
17902
17907
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/glib-2.0",
3
- "version": "2.78.0-3.2.5",
3
+ "version": "2.78.0-3.2.6",
4
4
  "description": "GJS TypeScript type definitions for GLib-2.0, generated from library version 2.78.0",
5
5
  "type": "module",
6
6
  "module": "glib-2.0.js",
@@ -25,8 +25,8 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit glib-2.0.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/gjs": "^3.2.5",
29
- "@girs/gobject-2.0": "^2.78.0-3.2.5"
28
+ "@girs/gjs": "^3.2.6",
29
+ "@girs/gobject-2.0": "^2.78.0-3.2.6"
30
30
  },
31
31
  "devDependencies": {
32
32
  "typescript": "*"