@girs/gnomebluetooth-3.0 3.0.0-3.2.6 → 3.0.0-3.2.7
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/gnomebluetooth-3.0.d.cts +6 -6
- package/gnomebluetooth-3.0.d.ts +6 -6
- 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 GnomeBluetooth-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for GnomeBluetooth-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gnomebluetooth-3.0.d.cts
CHANGED
|
@@ -175,26 +175,26 @@ export function class_to_type(class_: number): Type
|
|
|
175
175
|
* @param alias Remote device's name
|
|
176
176
|
* @returns %TRUE on success, %FALSE on error.
|
|
177
177
|
*/
|
|
178
|
-
export function send_to_address(address: string
|
|
178
|
+
export function send_to_address(address: string, alias: string): boolean
|
|
179
179
|
/**
|
|
180
180
|
* Returns a human-readable string representation of `type` usable for display to users. Do not free the return value.
|
|
181
181
|
* The returned string is already translated with gettext().
|
|
182
182
|
* @param type a #BluetoothType
|
|
183
183
|
* @returns a string.
|
|
184
184
|
*/
|
|
185
|
-
export function type_to_string(type: number): string
|
|
185
|
+
export function type_to_string(type: number): string
|
|
186
186
|
/**
|
|
187
187
|
* Returns a string representing a human-readable (but not usable for display to users) version of the `uuid`. Do not free the return value.
|
|
188
188
|
* @param uuid a string representing a Bluetooth UUID
|
|
189
189
|
* @returns a string.
|
|
190
190
|
*/
|
|
191
|
-
export function uuid_to_string(uuid: string
|
|
191
|
+
export function uuid_to_string(uuid: string): string
|
|
192
192
|
/**
|
|
193
193
|
* Returns whether the string is a valid Bluetooth address. This does not contact the device in any way.
|
|
194
194
|
* @param bdaddr a string representing a Bluetooth address
|
|
195
195
|
* @returns %TRUE if the address is valid, %FALSE if not.
|
|
196
196
|
*/
|
|
197
|
-
export function verify_address(bdaddr: string
|
|
197
|
+
export function verify_address(bdaddr: string): boolean
|
|
198
198
|
export module Client {
|
|
199
199
|
|
|
200
200
|
// Signal callback interfaces
|
|
@@ -322,7 +322,7 @@ export interface Client {
|
|
|
322
322
|
* @param cancellable optional #GCancellable object, %NULL to ignore
|
|
323
323
|
* @param callback a #GAsyncReadyCallback to call when the connection is complete
|
|
324
324
|
*/
|
|
325
|
-
connect_service(path: string
|
|
325
|
+
connect_service(path: string, connect: boolean, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
326
326
|
/**
|
|
327
327
|
* Finishes the connection operation. See bluetooth_client_connect_service().
|
|
328
328
|
* @param res a #GAsyncResult
|
|
@@ -463,7 +463,7 @@ export interface Device {
|
|
|
463
463
|
// Owm methods of GnomeBluetooth-3.0.GnomeBluetooth.Device
|
|
464
464
|
|
|
465
465
|
dump(): void
|
|
466
|
-
get_object_path(): string
|
|
466
|
+
get_object_path(): string
|
|
467
467
|
to_string(): string | null
|
|
468
468
|
|
|
469
469
|
// Class property signals of GnomeBluetooth-3.0.GnomeBluetooth.Device
|
package/gnomebluetooth-3.0.d.ts
CHANGED
|
@@ -177,26 +177,26 @@ function class_to_type(class_: number): Type
|
|
|
177
177
|
* @param alias Remote device's name
|
|
178
178
|
* @returns %TRUE on success, %FALSE on error.
|
|
179
179
|
*/
|
|
180
|
-
function send_to_address(address: string
|
|
180
|
+
function send_to_address(address: string, alias: string): boolean
|
|
181
181
|
/**
|
|
182
182
|
* Returns a human-readable string representation of `type` usable for display to users. Do not free the return value.
|
|
183
183
|
* The returned string is already translated with gettext().
|
|
184
184
|
* @param type a #BluetoothType
|
|
185
185
|
* @returns a string.
|
|
186
186
|
*/
|
|
187
|
-
function type_to_string(type: number): string
|
|
187
|
+
function type_to_string(type: number): string
|
|
188
188
|
/**
|
|
189
189
|
* Returns a string representing a human-readable (but not usable for display to users) version of the `uuid`. Do not free the return value.
|
|
190
190
|
* @param uuid a string representing a Bluetooth UUID
|
|
191
191
|
* @returns a string.
|
|
192
192
|
*/
|
|
193
|
-
function uuid_to_string(uuid: string
|
|
193
|
+
function uuid_to_string(uuid: string): string
|
|
194
194
|
/**
|
|
195
195
|
* Returns whether the string is a valid Bluetooth address. This does not contact the device in any way.
|
|
196
196
|
* @param bdaddr a string representing a Bluetooth address
|
|
197
197
|
* @returns %TRUE if the address is valid, %FALSE if not.
|
|
198
198
|
*/
|
|
199
|
-
function verify_address(bdaddr: string
|
|
199
|
+
function verify_address(bdaddr: string): boolean
|
|
200
200
|
module Client {
|
|
201
201
|
|
|
202
202
|
// Signal callback interfaces
|
|
@@ -324,7 +324,7 @@ interface Client {
|
|
|
324
324
|
* @param cancellable optional #GCancellable object, %NULL to ignore
|
|
325
325
|
* @param callback a #GAsyncReadyCallback to call when the connection is complete
|
|
326
326
|
*/
|
|
327
|
-
connect_service(path: string
|
|
327
|
+
connect_service(path: string, connect: boolean, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
328
328
|
/**
|
|
329
329
|
* Finishes the connection operation. See bluetooth_client_connect_service().
|
|
330
330
|
* @param res a #GAsyncResult
|
|
@@ -465,7 +465,7 @@ interface Device {
|
|
|
465
465
|
// Owm methods of GnomeBluetooth-3.0.GnomeBluetooth.Device
|
|
466
466
|
|
|
467
467
|
dump(): void
|
|
468
|
-
get_object_path(): string
|
|
468
|
+
get_object_path(): string
|
|
469
469
|
to_string(): string | null
|
|
470
470
|
|
|
471
471
|
// Class property signals of GnomeBluetooth-3.0.GnomeBluetooth.Device
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gnomebluetooth-3.0",
|
|
3
|
-
"version": "3.0.0-3.2.
|
|
3
|
+
"version": "3.0.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GnomeBluetooth-3.0, generated from library version 3.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gnomebluetooth-3.0.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gnomebluetooth-3.0.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
29
|
-
"@girs/gjs": "^3.2.
|
|
30
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
31
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
28
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
29
|
+
"@girs/gjs": "^3.2.7",
|
|
30
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
31
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"typescript": "*"
|