@girs/gusb-1.0 0.4.7-3.2.0 → 0.4.7-3.2.2

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/gusb-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GUsb-1.0, generated from library version 0.4.7 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.0.
8
+ GJS TypeScript type definitions for GUsb-1.0, generated from library version 0.4.7 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.2.
9
9
 
10
10
  GLib wrapper around libusb-1.0
11
11
 
package/gusb-1.0.d.cts CHANGED
@@ -645,6 +645,22 @@ export interface Device extends Gio.Initable {
645
645
  * @returns an array of events
646
646
  */
647
647
  get_events(): DeviceEvent[]
648
+ /**
649
+ * Gets the default HID descriptors exported by the device.
650
+ *
651
+ * If more than one interface exports a HID descriptor, use g_usb_device_get_hid_descriptors()
652
+ * instead.
653
+ * @returns a HID descriptor, or %NULL
654
+ */
655
+ get_hid_descriptor_default(): GLib.Bytes
656
+ /**
657
+ * Gets all the HID descriptors exported by the device.
658
+ *
659
+ * The first time this method is used the hardware is queried and then after that cached results
660
+ * are returned. To invalidate the caches use g_usb_device_invalidate().
661
+ * @returns an array of HID descriptors
662
+ */
663
+ get_hid_descriptors(): GLib.Bytes[]
648
664
  /**
649
665
  * Gets the first interface that matches the vendor class interface descriptor.
650
666
  * If you want to find all the interfaces that match (there may be other
package/gusb-1.0.d.ts CHANGED
@@ -647,6 +647,22 @@ interface Device extends Gio.Initable {
647
647
  * @returns an array of events
648
648
  */
649
649
  get_events(): DeviceEvent[]
650
+ /**
651
+ * Gets the default HID descriptors exported by the device.
652
+ *
653
+ * If more than one interface exports a HID descriptor, use g_usb_device_get_hid_descriptors()
654
+ * instead.
655
+ * @returns a HID descriptor, or %NULL
656
+ */
657
+ get_hid_descriptor_default(): GLib.Bytes
658
+ /**
659
+ * Gets all the HID descriptors exported by the device.
660
+ *
661
+ * The first time this method is used the hardware is queried and then after that cached results
662
+ * are returned. To invalidate the caches use g_usb_device_invalidate().
663
+ * @returns an array of HID descriptors
664
+ */
665
+ get_hid_descriptors(): GLib.Bytes[]
650
666
  /**
651
667
  * Gets the first interface that matches the vendor class interface descriptor.
652
668
  * If you want to find all the interfaces that match (there may be other
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gusb-1.0",
3
- "version": "0.4.7-3.2.0",
3
+ "version": "0.4.7-3.2.2",
4
4
  "description": "GJS TypeScript type definitions for GUsb-1.0, generated from library version 0.4.7",
5
5
  "type": "module",
6
6
  "module": "gusb-1.0.js",
@@ -25,11 +25,11 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gusb-1.0.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/gio-2.0": "^2.76.1-3.2.0",
29
- "@girs/gjs": "^3.2.0",
30
- "@girs/glib-2.0": "^2.76.1-3.2.0",
31
- "@girs/gobject-2.0": "^2.76.1-3.2.0",
32
- "@girs/json-1.0": "^1.7.1-3.2.0"
28
+ "@girs/gio-2.0": "^2.77.0-3.2.2",
29
+ "@girs/gjs": "^3.2.2",
30
+ "@girs/glib-2.0": "^2.77.0-3.2.2",
31
+ "@girs/gobject-2.0": "^2.77.0-3.2.2",
32
+ "@girs/json-1.0": "^1.7.1-3.2.2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "typescript": "*"
package/typedoc.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "entryPoints": ["./gusb-1.0.d.ts","./gusb-1.0-ambient.d.ts","./gusb-1.0-import.d.ts"],
2
+ "entryPoints": ["./gusb-1.0.d.ts"],
3
3
  "readme": "./README.md",
4
4
  "name": "GUsb-1.0",
5
5
  "tsconfig": "./tsconfig.json"