@corvina/device-client 1.0.10 → 1.0.13
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
|
@@ -11,7 +11,9 @@ yarn install @corvina/device-client
|
|
|
11
11
|
Run the device using the given runner:
|
|
12
12
|
|
|
13
13
|
```ts
|
|
14
|
-
import
|
|
14
|
+
import dotenv from "dotenv"
|
|
15
|
+
dotenv.config()
|
|
16
|
+
|
|
15
17
|
import { DeviceRunnerService, DeviceService } from '@corvina/device-client';
|
|
16
18
|
|
|
17
19
|
const devRunner = new DeviceRunnerService(new DeviceService());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corvina/device-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Corvina NodeJS Device Client",
|
|
5
5
|
"author": "arrigo.zanette@corvina.io",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
],
|
|
11
11
|
"main": "index.js",
|
|
12
12
|
"exports": {
|
|
13
|
-
".": "./
|
|
13
|
+
".": "./index.js",
|
|
14
14
|
"./": "./dist/"
|
|
15
15
|
},
|
|
16
|
+
"types": "index.d.ts",
|
|
16
17
|
"typesVersions": {
|
|
17
18
|
"*": {
|
|
18
19
|
"*": [
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
"ts-jest": "^27.0.7",
|
|
84
85
|
"ts-node": "^10.3.0",
|
|
85
86
|
"tsconfig-paths": "^3.11.0",
|
|
86
|
-
"typescript": "^4.
|
|
87
|
+
"typescript": "^4.7.4"
|
|
87
88
|
},
|
|
88
89
|
"jest": {
|
|
89
90
|
"moduleFileExtensions": [
|
|
@@ -99,7 +100,6 @@
|
|
|
99
100
|
"coverageDirectory": "./coverage",
|
|
100
101
|
"testEnvironment": "node"
|
|
101
102
|
},
|
|
102
|
-
"types": "./dist/index.d.ts",
|
|
103
103
|
"homepage": "https://github.com/corvina/corvina-device-sdk#readme",
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "69936830a8a3b6d5233dd07c743242ea2be1c098"
|
|
105
105
|
}
|