@girs/gobject-2.0 2.75.1-3.0.0-beta.12 → 2.76.1-3.0.0-beta.14

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
@@ -1,7 +1,7 @@
1
1
 
2
2
  # GObject-2.0
3
3
 
4
- GJS TypeScript type definitions for GObject-2.0, generated from library version 2.75.1 using [ts-for-gir](https://github.com/gjsify/ts-for-gjs) v3.0.0-beta.12.
4
+ GJS TypeScript type definitions for GObject-2.0, generated from library version 2.76.1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.0.0-beta.14.
5
5
 
6
6
  GObject provides the object system used for Pango and GTK+.
7
7
 
@@ -30,4 +30,8 @@ If you use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/pack
30
30
  import GObject from 'gi://GObject?version=2.0';
31
31
  ```
32
32
 
33
- Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
33
+ Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
34
+
35
+ ## Other packages
36
+
37
+ All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
package/gobject-2.0.d.cts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Type Definitions for Gjs (https://gjs.guide/)
4
4
  *
5
5
  * These type definitions are automatically generated, do not edit them by hand.
6
- * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
7
7
  */
8
8
  /**
9
9
  * GObject-2.0
@@ -6706,7 +6706,7 @@ export interface Value {
6706
6706
  * %NULL will be returned.
6707
6707
  * @returns object content of @value, should be unreferenced when no longer needed.
6708
6708
  */
6709
- dup_object(): Object
6709
+ dup_object(): Object | null
6710
6710
  /**
6711
6711
  * Get a copy the contents of a %G_TYPE_STRING #GValue.
6712
6712
  * @returns a newly allocated copy of the string content of @value
@@ -6786,7 +6786,7 @@ export interface Value {
6786
6786
  * Get the contents of a %G_TYPE_OBJECT derived #GValue.
6787
6787
  * @returns object contents of @value
6788
6788
  */
6789
- get_object(): Object
6789
+ get_object(): Object | null
6790
6790
  /**
6791
6791
  * Get the contents of a %G_TYPE_PARAM #GValue.
6792
6792
  * @returns #GParamSpec content of @value
package/gobject-2.0.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Type Definitions for Gjs (https://gjs.guide/)
4
4
  *
5
5
  * These type definitions are automatically generated, do not edit them by hand.
6
- * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
7
7
  */
8
8
  /**
9
9
  * GObject-2.0
@@ -6708,7 +6708,7 @@ interface Value {
6708
6708
  * %NULL will be returned.
6709
6709
  * @returns object content of @value, should be unreferenced when no longer needed.
6710
6710
  */
6711
- dup_object(): Object
6711
+ dup_object(): Object | null
6712
6712
  /**
6713
6713
  * Get a copy the contents of a %G_TYPE_STRING #GValue.
6714
6714
  * @returns a newly allocated copy of the string content of @value
@@ -6788,7 +6788,7 @@ interface Value {
6788
6788
  * Get the contents of a %G_TYPE_OBJECT derived #GValue.
6789
6789
  * @returns object contents of @value
6790
6790
  */
6791
- get_object(): Object
6791
+ get_object(): Object | null
6792
6792
  /**
6793
6793
  * Get the contents of a %G_TYPE_PARAM #GValue.
6794
6794
  * @returns #GParamSpec content of @value
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@girs/gobject-2.0",
3
- "version": "2.75.1-3.0.0-beta.12",
4
- "description": "GJS TypeScript type definitions for GObject-2.0, generated from library version 2.75.1",
3
+ "version": "2.76.1-3.0.0-beta.14",
4
+ "description": "GJS TypeScript type definitions for GObject-2.0, generated from library version 2.76.1",
5
5
  "type": "module",
6
6
  "module": "gobject-2.0.js",
7
7
  "main": "gobject-2.0.js",
@@ -29,18 +29,21 @@
29
29
  "test:cjs": "tsc --noEmit gobject-2.0.d.cts"
30
30
  },
31
31
  "dependencies": {
32
- "@girs/glib-2.0": "^2.75.1-3.0.0-beta.12"
32
+ "@girs/glib-2.0": "^2.76.1-3.0.0-beta.14"
33
33
  },
34
34
  "devDependencies": {
35
- "typescript": "^*"
35
+ "typescript": "^5.0.4"
36
36
  },
37
37
  "keywords": [
38
38
  "Gir",
39
39
  "TypeScript",
40
+ "types",
41
+ "GObject-Introspection",
42
+ "GJS",
40
43
  "GObject-2.0"
41
44
  ],
42
45
  "author": "ts-for-gir",
43
- "license": "Apache-2.0",
46
+ "license": "MIT",
44
47
  "repository": {
45
48
  "type": "git",
46
49
  "url": "git+https://github.com/gjsify/ts-for-gir.git"
@@ -48,5 +51,5 @@
48
51
  "bugs": {
49
52
  "url": "https://github.com/gjsify/ts-for-gir/issues"
50
53
  },
51
- "homepage": "https://github.com/gjsify/ts-for-gir#readme"
54
+ "homepage": "https://github.com/gjsify/types/tree/main/gobject-2.0#readme"
52
55
  }