@corvina/device-example 1.0.17 → 1.0.18
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
|
@@ -26,7 +26,7 @@ npm install @corvina/device-example
|
|
|
26
26
|
npm @corvina/device-example
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
* via `npx`
|
|
29
|
+
* via `npx` (version >= 8)
|
|
30
30
|
|
|
31
31
|
```shell
|
|
32
32
|
npx @corvina/device-example
|
|
@@ -53,4 +53,4 @@ In addition, the full list of environment variables used by `@corvina/device-cli
|
|
|
53
53
|
|
|
54
54
|
It is possible to send generic JSON posting to the `/device/json` endpoint.
|
|
55
55
|
|
|
56
|
-
Each of the JSON properties posted will be advertised to the cloud with the corresponding JSON paths.
|
|
56
|
+
Each of the JSON properties posted will be advertised to the cloud with the corresponding JSON paths.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corvina/device-example",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"description": "Corvina Device Example base on @corvina/device-client",
|
|
5
5
|
"author": "arrigo.zanette@corvina.io",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"test:cov": "jest --coverage"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@corvina/device-client": "^1.0.
|
|
38
|
+
"@corvina/device-client": "^1.0.19",
|
|
39
39
|
"@nestjs/common": "^9.0.3",
|
|
40
40
|
"@nestjs/config": "^2.2.0",
|
|
41
41
|
"@nestjs/core": "^9.0.3",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"tsc-watch": "^5.0.3",
|
|
59
59
|
"typescript": "^4.7.4"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "b899c9a43c41052702f8f45464a3fd21923076c9"
|
|
62
62
|
}
|
|
@@ -4,7 +4,6 @@ import { DataPoint } from "@corvina/device-client";
|
|
|
4
4
|
import { ApiOperation, ApiQuery, ApiTags } from "@nestjs/swagger";
|
|
5
5
|
import { DataPointDTO } from "./dto/datapoint.dto";
|
|
6
6
|
|
|
7
|
-
/** Handles requests from Nebbiolo FOG CEP */
|
|
8
7
|
@ApiTags("device")
|
|
9
8
|
@Controller("/device/dice")
|
|
10
9
|
@Injectable()
|
|
@@ -5,7 +5,6 @@ import { ApiBody, ApiOperation, ApiQuery, ApiTags } from "@nestjs/swagger";
|
|
|
5
5
|
import { DataPointDTO } from "./dto/datapoint.dto";
|
|
6
6
|
import axios from "axios";
|
|
7
7
|
|
|
8
|
-
/** Handles requests from Nebbiolo FOG CEP */
|
|
9
8
|
@ApiTags("device")
|
|
10
9
|
@Controller("/device/json/")
|
|
11
10
|
@Injectable()
|
|
@@ -4,7 +4,6 @@ import { DataPoint } from "@corvina/device-client";
|
|
|
4
4
|
import { ApiOperation, ApiQuery, ApiTags } from "@nestjs/swagger";
|
|
5
5
|
import { DataPointDTO } from "./dto/datapoint.dto";
|
|
6
6
|
|
|
7
|
-
/** Handles requests from Nebbiolo FOG CEP */
|
|
8
7
|
@ApiTags("device")
|
|
9
8
|
@Controller("/device/sine")
|
|
10
9
|
@Injectable()
|