@enyo-energy/energy-app-sdk 0.0.176 → 0.0.177
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.
|
@@ -47,6 +47,12 @@ export interface ModbusOptions {
|
|
|
47
47
|
* recovery gap between messages. Defaults to `0` (no delay).
|
|
48
48
|
*/
|
|
49
49
|
waitBetweenMessagesMs?: number;
|
|
50
|
+
/** Per-operation (read/write) deadline in ms before the socket is recycled. Default 5000. */
|
|
51
|
+
readTimeoutMs?: number;
|
|
52
|
+
/** Recycle a socket that looks open but had no successful op within this window. Default 30000; 0 disables. */
|
|
53
|
+
staleSocketMs?: number;
|
|
54
|
+
/** TCP keepalive idle interval in ms on the live socket, so a dead peer surfaces fast. Default 10000; 0 disables. */
|
|
55
|
+
keepAliveMs?: number;
|
|
50
56
|
}
|
|
51
57
|
/**
|
|
52
58
|
* Interface for Modbus TCP/IP communication in enyo packages.
|
package/dist/cjs/version.cjs
CHANGED
|
@@ -9,7 +9,7 @@ exports.getSdkVersion = getSdkVersion;
|
|
|
9
9
|
/**
|
|
10
10
|
* Current version of the enyo Energy App SDK.
|
|
11
11
|
*/
|
|
12
|
-
exports.SDK_VERSION = '0.0.
|
|
12
|
+
exports.SDK_VERSION = '0.0.177';
|
|
13
13
|
/**
|
|
14
14
|
* Gets the current SDK version.
|
|
15
15
|
* @returns The semantic version string of the SDK
|
package/dist/cjs/version.d.cts
CHANGED
|
@@ -47,6 +47,12 @@ export interface ModbusOptions {
|
|
|
47
47
|
* recovery gap between messages. Defaults to `0` (no delay).
|
|
48
48
|
*/
|
|
49
49
|
waitBetweenMessagesMs?: number;
|
|
50
|
+
/** Per-operation (read/write) deadline in ms before the socket is recycled. Default 5000. */
|
|
51
|
+
readTimeoutMs?: number;
|
|
52
|
+
/** Recycle a socket that looks open but had no successful op within this window. Default 30000; 0 disables. */
|
|
53
|
+
staleSocketMs?: number;
|
|
54
|
+
/** TCP keepalive idle interval in ms on the live socket, so a dead peer surfaces fast. Default 10000; 0 disables. */
|
|
55
|
+
keepAliveMs?: number;
|
|
50
56
|
}
|
|
51
57
|
/**
|
|
52
58
|
* Interface for Modbus TCP/IP communication in enyo packages.
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED