typescript typings fix bluetoothDevices()

This commit is contained in:
Sebastian Hildebrandt 2021-07-27 11:15:50 +02:00
parent d83d60929e
commit aef41f18b3
4 changed files with 10 additions and 4 deletions

View File

@ -77,6 +77,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 5.7.11 | 2021-07-27 | typescript typings fix `bluetoothDevices()` |
| 5.7.10 | 2021-07-26 | typescript typings fix `processLoad()` |
| 5.7.9 | 2021-07-25 | `uuid()` better regedit path detection (win) |
| 5.7.8 | 2021-07-16 | `battery()` fix designedCapacity (win, linux), fix catch error |

View File

@ -56,6 +56,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.7.11</th>
<td>2021-07-27</td>
<td>typescript typings fix bluetoothDevices()</td>
</tr>
<tr>
<th scope="row">5.7.10</th>
<td>2021-07-26</td>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.7.10</span></div>
<div class="version">New Version: <span id="version">5.7.11</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">
@ -203,7 +203,7 @@
</div>
<div class="row number-section">
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
<div class="numbers">14,473</div>
<div class="numbers">14,481</div>
<div class="title">Lines of code</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
@ -211,7 +211,7 @@
<div class="title">Downloads last month</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
<div class="numbers">447</div>
<div class="numbers">448</div>
<div class="title">Dependents</div>
</div>
</div>

2
lib/index.d.ts vendored
View File

@ -938,7 +938,7 @@ export function usb(cb?: (data: Systeminformation.UsbData[]) => any): Promise<Sy
export function audio(cb?: (data: Systeminformation.AudioData[]) => any): Promise<Systeminformation.AudioData[]>;
export function bluetoothDevices(cb?: (data: Systeminformation.BlockDevicesData[]) => any): Promise<Systeminformation.BlockDevicesData[]>;
export function bluetoothDevices(cb?: (data: Systeminformation.BluetoothDeviceData[]) => any): Promise<Systeminformation.BluetoothDeviceData[]>;
export function getStaticData(cb?: (data: Systeminformation.StaticData) => any): Promise<Systeminformation.StaticData>;
export function getDynamicData(srv?: string, iface?: string, cb?: (data: any) => any): Promise<any>;