@justair/justair-library 7.4.0-alpha.a489816 → 7.4.0-alpha.e90dd07

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justair/justair-library",
3
- "version": "7.4.0-alpha.a489816",
3
+ "version": "7.4.0-alpha.e90dd07",
4
4
  "description": "JustAir Internal Library",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -154,9 +154,7 @@ export const PARAMETERS = {
154
154
  // ---- T/RH/DP and their _AMB pairs (JA-3058). Does not apply to WD/WS below. ----
155
155
  // Bare ids (T/RH/DP) are enclosure-internal, for corrections and fog detection only. The _AMB
156
156
  // ids are true ambient and the only ones safe for public display or Heat Index. Never substitute
157
- // one for the other. Caveat: five suppliers still write outdoor dew point into DP, so DP is
158
- // exempt from the public-display filter until JA-3061 re-points them. See "Ambient vs internal
159
- // met parameters" in CLAUDE.md before wiring up.
157
+ // one for the other. See "Ambient vs internal met parameters" in CLAUDE.md before wiring up.
160
158
  DP: {
161
159
  id: "DP",
162
160
  label: "Dew Point",
@@ -74,7 +74,7 @@ describe("PARAMETERS", () => {
74
74
  const ambientKeys = Object.keys(PARAMETERS).filter((key) => key.endsWith("_AMB"));
75
75
 
76
76
  test("the _AMB parameter set is exactly T, RH and DP", () => {
77
- expect(ambientKeys.sort()).toEqual(["DP_AMB", "RH_AMB", "T_AMB"]);
77
+ expect([...ambientKeys].sort()).toEqual(["DP_AMB", "RH_AMB", "T_AMB"]);
78
78
  });
79
79
 
80
80
  test.each(ambientKeys)("%s pairs with its bare parameter on unit and type", (key) => {