diff --git a/features/DeviceToWebsocket.feature.md b/features/DeviceToWebsocket.feature.md index 05e60a76b..12e08ead5 100644 --- a/features/DeviceToWebsocket.feature.md +++ b/features/DeviceToWebsocket.feature.md @@ -8,6 +8,8 @@ needs: > Device messages published on nRF Cloud should be delivered to the websocket > API + + ## Verify a device sends a message to nRF Cloud, then I can receive the message via website Given I store `$millis()` into `ts` diff --git a/features/HistoricalRequest.feature.md b/features/HistoricalRequest.feature.md index b83baccbe..5ff0645df 100644 --- a/features/HistoricalRequest.feature.md +++ b/features/HistoricalRequest.feature.md @@ -36,6 +36,8 @@ And the device `${fingerprint_deviceId}` publishes this message to the topic | SOLAR | 3.58041 | 90000 | | SOLAR | 3.24925 | 120000 | + + ## Verify I can query gain historical device data When I connect to the websocket using fingerprint `${fingerprint}` @@ -112,6 +114,8 @@ And the device `${fingerprint_deviceId}` publishes this message to the topic | BATTERY | 21 | 90000 | | BATTERY | 22 | 120000 | + + ## Verify I can query battery historical device data When I connect to the websocket using fingerprint `${fingerprint}` @@ -177,6 +181,8 @@ Soon I should receive a message on the websocket that matches } ``` + + ## Request historical data for a week When I connect to the websocket using fingerprint `${fingerprint}` @@ -250,6 +256,8 @@ message | 63.42006573 | 10.44087654 | 528 | 90000 | | 63.42129386 | 10.44011945 | 524 | 120000 | + + ## Verify I can query location historical device data When I connect to the websocket using fingerprint `${fingerprint}` diff --git a/package-lock.json b/package-lock.json index 95b88e9e0..d6da9bc82 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "BSD-3-Clause", "dependencies": { "@aws-lambda-powertools/metrics": "1.12.1", - "@hello.nrfcloud.com/proto": "5.5.1", + "@hello.nrfcloud.com/proto": "5.5.4", "@middy/core": "4.6.0", "@nordicsemiconductor/from-env": "2.0.0", "@nordicsemiconductor/timestream-helpers": "5.0.0", @@ -7928,11 +7928,11 @@ } }, "node_modules/@hello.nrfcloud.com/proto": { - "version": "5.5.1", - "resolved": "https://registry.npmjs.org/@hello.nrfcloud.com/proto/-/proto-5.5.1.tgz", - "integrity": "sha512-F7Mn+GHfU9yV6jR6KXD7u/sWi/sffNsMRcbmCnIiXVlLCcf0yiuB8VMWllBIOiEnsRgBvMRwIQ6PBokYODk75g==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/@hello.nrfcloud.com/proto/-/proto-5.5.4.tgz", + "integrity": "sha512-xkN8GJefebwcmtK4nEaD3IVwb6P4yvnTrgv4jA2SJX/lQK1jon6pfA74lhIrTnro4nUhfyKjlVZv9jGFXPDHjw==", "dependencies": { - "@sinclair/typebox": "0.31.2", + "@sinclair/typebox": "0.31.5", "ajv": "8.12.0", "jsonata": "2.0.3" }, @@ -7941,6 +7941,11 @@ "npm": ">=9.0.0" } }, + "node_modules/@hello.nrfcloud.com/proto/node_modules/@sinclair/typebox": { + "version": "0.31.5", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.31.5.tgz", + "integrity": "sha512-4fbqH1ONle98ULTQakJFVNwGwSx+rv90HEnjZGt1GoApMKooUw1WXw3ub+Ew7rInmyDcwsjIxiHt39bkWzeCBA==" + }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", diff --git a/package.json b/package.json index 6139eab4e..3ddd31de6 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,7 @@ "prettier": "@nordicsemiconductor/asset-tracker-cloud-code-style/.prettierrc", "dependencies": { "@aws-lambda-powertools/metrics": "1.12.1", - "@hello.nrfcloud.com/proto": "5.5.1", + "@hello.nrfcloud.com/proto": "5.5.4", "@middy/core": "4.6.0", "@nordicsemiconductor/from-env": "2.0.0", "@nordicsemiconductor/timestream-helpers": "5.0.0",