@hello.nrfcloud.com/proto-map 4.0.0 → 4.0.1

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.
@@ -438,12 +438,19 @@ var _obj;
438
438
  * Humidity (Float)
439
439
  *
440
440
  * Environmental humidity in percent. Examples: 44.2, 72.
441
+ *
442
+ * Minimum: 0
443
+ * Maximum: 100
441
444
  */ 1: {
442
445
  ResourceID: 1,
443
446
  Name: "Humidity",
444
447
  Mandatory: false,
445
448
  Type: ResourceType.Float,
446
449
  Description: "Environmental humidity in percent. Examples: 44.2, 72.",
450
+ RangeEnumeration: {
451
+ min: 0,
452
+ max: 100
453
+ },
447
454
  Units: "%"
448
455
  },
449
456
  /**
package/lwm2m/14205.xml CHANGED
@@ -24,7 +24,7 @@
24
24
  <MultipleInstances>Single</MultipleInstances>
25
25
  <Mandatory>Optional</Mandatory>
26
26
  <Type>Float</Type>
27
- <RangeEnumeration/>
27
+ <RangeEnumeration>0..100</RangeEnumeration>
28
28
  <Units>%</Units>
29
29
  <Description><![CDATA[Environmental humidity in percent. Examples: 44.2, 72.]]></Description>
30
30
  </Item>
@@ -204,8 +204,11 @@ export const definitions: Record<LwM2MObjectID, LWM2MObjectInfo> = { /**
204
204
  * Humidity (Float)
205
205
  *
206
206
  * Environmental humidity in percent. Examples: 44.2, 72.
207
+ *
208
+ * Minimum: 0
209
+ * Maximum: 100
207
210
  */
208
- 1: { ResourceID: 1, Name: "Humidity", Mandatory: false, Type: ResourceType.Float, Description: "Environmental humidity in percent. Examples: 44.2, 72.", Units: "%" }, /**
211
+ 1: { ResourceID: 1, Name: "Humidity", Mandatory: false, Type: ResourceType.Float, Description: "Environmental humidity in percent. Examples: 44.2, 72.", RangeEnumeration: { min: 0, max: 100 }, Units: "%" }, /**
209
212
  * Atmospheric pressure (Float)
210
213
  *
211
214
  * Atmospheric pressure in pascal. Examples: 1003.6, 977.
@@ -26,6 +26,10 @@ export type Environment_14205 = LwM2MObject<{
26
26
  *
27
27
  * Environmental humidity in percent. Examples: 44.2, 72.
28
28
  */
29
+ /**
30
+ * Minimum: 0
31
+ * Maximum: 100
32
+ */
29
33
  1?: number;
30
34
  /**
31
35
  * Atmospheric pressure (Pa)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hello.nrfcloud.com/proto-map",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Documents the communication protocol between devices, the hello.nrfcloud.com/map backend and web application",
5
5
  "type": "module",
6
6
  "types": "./index.d.ts",