From 37083d795253357f7e2254595d291bb2f89e6fdd Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Wed, 26 Aug 2020 20:13:53 +0200 Subject: [PATCH] updated typescript typings --- CHANGELOG.md | 1 + docs/history.html | 5 +++++ docs/index.html | 2 +- lib/index.d.ts | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f18b410..9f08ed1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | +| 4.27.3 | 2020-08-26 | updated typescript typings | | 4.27.2 | 2020-08-26 | fixed issue breaking node v4 compatibility | | 4.27.1 | 2020-08-25 | `networkStats()` fixed packages dropped (linux) | | 4.27.0 | 2020-08-24 | `observe()` added function to observe/watch system parameters | diff --git a/docs/history.html b/docs/history.html index 4160ffe..28b445e 100644 --- a/docs/history.html +++ b/docs/history.html @@ -83,6 +83,11 @@ + + 4.27.3 + 2020-08-26 + updated typescript typings + 4.27.2 2020-08-26 diff --git a/docs/index.html b/docs/index.html index 40db54b..a6763ca 100644 --- a/docs/index.html +++ b/docs/index.html @@ -168,7 +168,7 @@
systeminformation
-
Current Version: 4.27.2
+
Current Version: 4.27.3
diff --git a/lib/index.d.ts b/lib/index.d.ts index 16225e7..8ce2701 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -758,3 +758,4 @@ export function getStaticData(cb?: (data: Systeminformation.StaticData) => any): export function getDynamicData(srv?: string, iface?: string, cb?: (data: any) => any): Promise; export function getAllData(srv?: string, iface?: string, cb?: (data: any) => any): Promise; export function get(valuesObject: any, cb?: (data: any) => any): Promise; +export function observe(valuesObject: any, interval: number, cb?: (data: any) => any): number;