@hello.nrfcloud.com/proto-map 5.3.0 → 5.3.2

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/README.md CHANGED
@@ -21,7 +21,7 @@ Devices publish LwM2M objects using
21
21
  [SenML](https://datatracker.ietf.org/doc/html/rfc8428) directly, which needs to
22
22
  map to the defined LwM2M objects ([example](./senml/SenMLSchema.spec.ts)).
23
23
 
24
- The SenML payload will be [expanded](./senml/senMLtoLwM2M.spec.ts] to fully
24
+ The SenML payload will be [expanded](./senml/senMLtoLwM2M.spec.ts) to fully
25
25
  qualified LwM2M object representations which can then be processed further, e.g.
26
26
  stored in a database.
27
27
 
@@ -1,8 +1,9 @@
1
1
  import { Type } from '@sinclair/typebox'
2
2
  import { Context } from './Context.js'
3
- import { PublicDeviceId } from './DeviceId.js'
3
+ import { DeviceId, PublicDeviceId } from './DeviceId.js'
4
4
 
5
5
  export const ShareDeviceRequest = Type.Object({
6
6
  '@context': Type.Literal(Context.shareDevice.request.toString()),
7
7
  id: PublicDeviceId,
8
+ deviceId: DeviceId,
8
9
  })
@@ -1,7 +1,8 @@
1
1
  import { Type } from "@sinclair/typebox";
2
2
  import { Context } from "./Context.js";
3
- import { PublicDeviceId } from "./DeviceId.js";
3
+ import { DeviceId, PublicDeviceId } from "./DeviceId.js";
4
4
  export var ShareDeviceRequest = Type.Object({
5
5
  "@context": Type.Literal(Context.shareDevice.request.toString()),
6
- id: PublicDeviceId
6
+ id: PublicDeviceId,
7
+ deviceId: DeviceId
7
8
  });
@@ -1,6 +1,7 @@
1
1
  # Kartverket Vasstandsdata
2
2
 
3
- A simulated device reporting the current sea level as provided by the
3
+ A [simulated device](https://github.com/hello-nrfcloud/kartverket-vasstand)
4
+ reporting the current sea level as provided by the
4
5
  [Kartverket](https://www.kartverket.no/)'s (Norwegian Mapping Authority)
5
6
  [API for vasstandsdata](https://api.sehavniva.no/tideapi_no.html) (API for water
6
7
  level data).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hello.nrfcloud.com/proto-map",
3
- "version": "5.3.0",
3
+ "version": "5.3.2",
4
4
  "description": "Documents the communication protocol between devices, the hello.nrfcloud.com/map backend and web application",
5
5
  "type": "module",
6
6
  "exports": {
@@ -39,11 +39,11 @@
39
39
  "prepublishOnly": "./compile.sh"
40
40
  },
41
41
  "devDependencies": {
42
- "@bifravst/eslint-config-typescript": "6.0.22",
42
+ "@bifravst/eslint-config-typescript": "6.0.23",
43
43
  "@bifravst/prettier-config": "1.0.0",
44
44
  "@commitlint/config-conventional": "19.2.2",
45
45
  "@swc/cli": "0.3.12",
46
- "@swc/core": "1.4.14",
46
+ "@swc/core": "1.4.15",
47
47
  "@types/node": "20.12.7",
48
48
  "@types/xml2js": "0.4.14",
49
49
  "chalk": "5.3.0",