@justair/justair-library 4.8.14 → 4.8.16

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": "4.8.14",
3
+ "version": "4.8.16",
4
4
  "description": "JustAir Internal Library",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -15,6 +15,7 @@ const parametersEnum = [
15
15
  "DP",
16
16
  "CO2",
17
17
  "CH4",
18
+ "H2S",
18
19
  ];
19
20
 
20
21
  const noteSchema = mongoose.Schema({
@@ -247,6 +248,8 @@ const monitorsSchema = mongoose.Schema(
247
248
  default: [],
248
249
  },
249
250
  applyCorrections: { type: Boolean, default: false },
251
+ // Optional readKey for private API access (e.g. PurpleAir)
252
+ readKey: { type: String, required: false },
250
253
  pausedParameters: {
251
254
  type: [{ parameter: String, timestamp: Date, isPaused: Boolean }],
252
255
  default: [],