@enyo-energy/energy-app-sdk 0.0.149 → 0.0.150
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/dist/cjs/packages/eebus/eebus-mpc-client.d.cts +0 -9
- package/dist/cjs/packages/eebus/eebus-use-case-registry.d.cts +1 -6
- package/dist/cjs/version.cjs +1 -1
- package/dist/cjs/version.d.cts +1 -1
- package/dist/packages/eebus/eebus-mpc-client.d.ts +0 -9
- package/dist/packages/eebus/eebus-use-case-registry.d.ts +1 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -51,15 +51,6 @@ export interface MpcClientOptions {
|
|
|
51
51
|
* sluggish but functional — extend rather than disable.
|
|
52
52
|
*/
|
|
53
53
|
descriptionReadTimeoutMs?: number;
|
|
54
|
-
/**
|
|
55
|
-
* When the internal description read fails (timeout or
|
|
56
|
-
* not-supported), fall back to extracting `scopeType` from each
|
|
57
|
-
* inbound notify (`acPowerTotal` → {@link EebusMpcReading.activePowerW},
|
|
58
|
-
* `acEnergyConsumed` → {@link EebusMpcReading.totalEnergyConsumedWh})
|
|
59
|
-
* so the client keeps emitting readings instead of going silent.
|
|
60
|
-
* Defaults to `true`.
|
|
61
|
-
*/
|
|
62
|
-
fallbackToInlineScope?: boolean;
|
|
63
54
|
}
|
|
64
55
|
/**
|
|
65
56
|
* Client for the EEBUS **Monitoring of Power Consumption (MPC)** use case.
|
|
@@ -85,13 +85,8 @@ export interface EebusUseCaseRegistry {
|
|
|
85
85
|
* known). Without a hint the client picks the first server match the
|
|
86
86
|
* SDK resolves.
|
|
87
87
|
*
|
|
88
|
-
* The default options enable `fallbackToInlineScope`, so a single
|
|
89
|
-
* slow `measurementDescriptionListData` read on a flaky peer no
|
|
90
|
-
* longer silences the client — it falls back to extracting scope
|
|
91
|
-
* from inbound notifies.
|
|
92
|
-
*
|
|
93
88
|
* @param ski Subject Key Identifier of the remote node
|
|
94
|
-
* @param options Optional address/timeout
|
|
89
|
+
* @param options Optional address/timeout configuration
|
|
95
90
|
*/
|
|
96
91
|
mpc: (ski: string, options?: MpcClientOptions) => EebusMpcClient;
|
|
97
92
|
/**
|
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.150';
|
|
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
|
@@ -51,15 +51,6 @@ export interface MpcClientOptions {
|
|
|
51
51
|
* sluggish but functional — extend rather than disable.
|
|
52
52
|
*/
|
|
53
53
|
descriptionReadTimeoutMs?: number;
|
|
54
|
-
/**
|
|
55
|
-
* When the internal description read fails (timeout or
|
|
56
|
-
* not-supported), fall back to extracting `scopeType` from each
|
|
57
|
-
* inbound notify (`acPowerTotal` → {@link EebusMpcReading.activePowerW},
|
|
58
|
-
* `acEnergyConsumed` → {@link EebusMpcReading.totalEnergyConsumedWh})
|
|
59
|
-
* so the client keeps emitting readings instead of going silent.
|
|
60
|
-
* Defaults to `true`.
|
|
61
|
-
*/
|
|
62
|
-
fallbackToInlineScope?: boolean;
|
|
63
54
|
}
|
|
64
55
|
/**
|
|
65
56
|
* Client for the EEBUS **Monitoring of Power Consumption (MPC)** use case.
|
|
@@ -85,13 +85,8 @@ export interface EebusUseCaseRegistry {
|
|
|
85
85
|
* known). Without a hint the client picks the first server match the
|
|
86
86
|
* SDK resolves.
|
|
87
87
|
*
|
|
88
|
-
* The default options enable `fallbackToInlineScope`, so a single
|
|
89
|
-
* slow `measurementDescriptionListData` read on a flaky peer no
|
|
90
|
-
* longer silences the client — it falls back to extracting scope
|
|
91
|
-
* from inbound notifies.
|
|
92
|
-
*
|
|
93
88
|
* @param ski Subject Key Identifier of the remote node
|
|
94
|
-
* @param options Optional address/timeout
|
|
89
|
+
* @param options Optional address/timeout configuration
|
|
95
90
|
*/
|
|
96
91
|
mpc: (ski: string, options?: MpcClientOptions) => EebusMpcClient;
|
|
97
92
|
/**
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED