@enyo-energy/energy-app-sdk 0.0.154 → 0.0.155

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.
@@ -727,12 +727,21 @@ export interface EebusCevcAck {
727
727
  * OPEV use case. OPEV is an *obligation*: the EVSE MUST respect the
728
728
  * limit (it is grid-safety driven, not optimisation driven).
729
729
  *
730
- * Phase count is determined by the EVSE — single-phase wallboxes report
731
- * length 1, three-phase wallboxes length 3.
730
+ * Single-phase EVSEs populate only `a`; three-phase EVSEs populate `a`,
731
+ * `b`, and `c`. Phases the EVSE does not carry are left absent rather
732
+ * than implied by array length.
732
733
  */
733
734
  export interface EebusOpevLimit {
734
- /** Per-phase current limits in Amperes (length 1 or 3). */
735
- perPhaseA: number[];
735
+ /**
736
+ * Per-phase current limits in Amperes, keyed by phase label. Each
737
+ * phase is independently optional — omit phases the EVSE does not
738
+ * carry.
739
+ */
740
+ currentLimitByPhase: {
741
+ a?: number;
742
+ b?: number;
743
+ c?: number;
744
+ };
736
745
  /** Whether the limit is currently active. */
737
746
  isActive: boolean;
738
747
  /**
@@ -760,8 +769,16 @@ export interface EebusOpevAck {
760
769
  * (obligation vs recommendation), as with LPC vs LPP.
761
770
  */
762
771
  export interface EebusOscevLimit {
763
- /** Per-phase recommended current limits in Amperes (length 1 or 3). */
764
- perPhaseA: number[];
772
+ /**
773
+ * Per-phase recommended current limits in Amperes, keyed by phase
774
+ * label. Each phase is independently optional — omit phases the EVSE
775
+ * does not carry.
776
+ */
777
+ currentLimitByPhase: {
778
+ a?: number;
779
+ b?: number;
780
+ c?: number;
781
+ };
765
782
  /** Whether the recommendation is currently active. */
766
783
  isActive: boolean;
767
784
  /** Duration in seconds; omit or `0` for indefinite. */
@@ -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.154';
12
+ exports.SDK_VERSION = '0.0.155';
13
13
  /**
14
14
  * Gets the current SDK version.
15
15
  * @returns The semantic version string of the SDK
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * Current version of the enyo Energy App SDK.
7
7
  */
8
- export declare const SDK_VERSION = "0.0.154";
8
+ export declare const SDK_VERSION = "0.0.155";
9
9
  /**
10
10
  * Gets the current SDK version.
11
11
  * @returns The semantic version string of the SDK
@@ -727,12 +727,21 @@ export interface EebusCevcAck {
727
727
  * OPEV use case. OPEV is an *obligation*: the EVSE MUST respect the
728
728
  * limit (it is grid-safety driven, not optimisation driven).
729
729
  *
730
- * Phase count is determined by the EVSE — single-phase wallboxes report
731
- * length 1, three-phase wallboxes length 3.
730
+ * Single-phase EVSEs populate only `a`; three-phase EVSEs populate `a`,
731
+ * `b`, and `c`. Phases the EVSE does not carry are left absent rather
732
+ * than implied by array length.
732
733
  */
733
734
  export interface EebusOpevLimit {
734
- /** Per-phase current limits in Amperes (length 1 or 3). */
735
- perPhaseA: number[];
735
+ /**
736
+ * Per-phase current limits in Amperes, keyed by phase label. Each
737
+ * phase is independently optional — omit phases the EVSE does not
738
+ * carry.
739
+ */
740
+ currentLimitByPhase: {
741
+ a?: number;
742
+ b?: number;
743
+ c?: number;
744
+ };
736
745
  /** Whether the limit is currently active. */
737
746
  isActive: boolean;
738
747
  /**
@@ -760,8 +769,16 @@ export interface EebusOpevAck {
760
769
  * (obligation vs recommendation), as with LPC vs LPP.
761
770
  */
762
771
  export interface EebusOscevLimit {
763
- /** Per-phase recommended current limits in Amperes (length 1 or 3). */
764
- perPhaseA: number[];
772
+ /**
773
+ * Per-phase recommended current limits in Amperes, keyed by phase
774
+ * label. Each phase is independently optional — omit phases the EVSE
775
+ * does not carry.
776
+ */
777
+ currentLimitByPhase: {
778
+ a?: number;
779
+ b?: number;
780
+ c?: number;
781
+ };
765
782
  /** Whether the recommendation is currently active. */
766
783
  isActive: boolean;
767
784
  /** Duration in seconds; omit or `0` for indefinite. */
package/dist/version.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * Current version of the enyo Energy App SDK.
7
7
  */
8
- export declare const SDK_VERSION = "0.0.154";
8
+ export declare const SDK_VERSION = "0.0.155";
9
9
  /**
10
10
  * Gets the current SDK version.
11
11
  * @returns The semantic version string of the SDK
package/dist/version.js CHANGED
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * Current version of the enyo Energy App SDK.
7
7
  */
8
- export const SDK_VERSION = '0.0.154';
8
+ export const SDK_VERSION = '0.0.155';
9
9
  /**
10
10
  * Gets the current SDK version.
11
11
  * @returns The semantic version string of the SDK
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enyo-energy/energy-app-sdk",
3
- "version": "0.0.154",
3
+ "version": "0.0.155",
4
4
  "description": "enyo Energy App SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",