Skip to content

Commit

Permalink
typescript definitions fix wifiInterfces, wifiConnections
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhildebrandt committed Mar 23, 2021
1 parent 8e2f9e0 commit 3d15d8e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -77,6 +77,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.

| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 5.6.8 | 2021-03-22 | typescript definitions fix `wifiInterfces()`, `wifiConnections()` |
| 5.6.7 | 2021-03-16 | `inetLatency()` `ineChecksite()` schema validation |
| 5.6.6 | 2021-03-16 | code refactoring |
| 5.6.5 | 2021-03-15 | `cpuTemperature()` fix (linux) |
Expand Down
5 changes: 5 additions & 0 deletions docs/history.html
Expand Up @@ -58,6 +58,11 @@ <h3>Full version history</h3>
<tbody>
<tr>
<th scope="row">5.6.8</th>
<td>2021-03-23</td>
<td>typescript definitions fix wifiInterfces, wifiConnections</td>
</tr>
<tr>
<th scope="row">5.6.7</th>
<td>2021-03-16</td>
<td><span class="code">inetLatency()</span> <span class="code">inetChecksite()</span> schema avlidation</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Expand Up @@ -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.6.7</span></div>
<div class="version">New Version: <span id="version">5.6.8</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">
Expand Down Expand Up @@ -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">398</div>
<div class="numbers">402</div>
<div class="title">Dependents</div>
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions lib/index.d.ts
Expand Up @@ -876,6 +876,8 @@ export function inetChecksite(url: string, cb?: (data: Systeminformation.InetChe
export function inetLatency(host?: string, cb?: (data: number) => any): Promise<number>;

export function wifiNetworks(cb?: (data: Systeminformation.WifiNetworkData[]) => any): Promise<Systeminformation.WifiNetworkData[]>;
export function wifiInterfaces(cb?: (data: Systeminformation.WifiInterfaceData[]) => any): Promise<Systeminformation.WifiInterfaceData[]>;
export function wifiConnections(cb?: (data: Systeminformation.WifiConnectionData[]) => any): Promise<Systeminformation.WifiConnectionData[]>;

export function users(cb?: (data: Systeminformation.UserData[]) => any): Promise<Systeminformation.UserData[]>;

Expand Down

0 comments on commit 3d15d8e

Please sign in to comment.