@stoprocent/noble 1.14.0 → 1.14.1
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/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare function startScanning(serviceUUIDs?: string[], allowDuplicates?:
|
|
|
25
25
|
export declare function startScanningAsync(serviceUUIDs?: string[], allowDuplicates?: boolean): Promise<void>;
|
|
26
26
|
export declare function stopScanning(callback?: () => void): void;
|
|
27
27
|
export declare function stopScanningAsync(): Promise<void>;
|
|
28
|
-
export declare function connect(peripheralUuid: string, options?: object, callback?: (error
|
|
28
|
+
export declare function connect(peripheralUuid: string, options?: object, callback?: (error: Error | undefined, peripheral: Peripheral) => void): void;
|
|
29
29
|
export declare function connectAsync(peripheralUuid: string, options?: object): Promise<Peripheral>;
|
|
30
30
|
export declare function cancelConnect(peripheralUuid: string, options?: object): void;
|
|
31
31
|
export declare function reset(): void;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|