@kuriousdesign/machine-sdk 1.0.108 → 1.0.109
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/dist/enums/DeviceId.d.ts
CHANGED
package/dist/enums/DeviceId.js
CHANGED
|
@@ -11,6 +11,7 @@ var DeviceId;
|
|
|
11
11
|
DeviceId[DeviceId["CON"] = 4] = "CON";
|
|
12
12
|
DeviceId[DeviceId["DIAG"] = 5] = "DIAG";
|
|
13
13
|
DeviceId[DeviceId["UDP"] = 6] = "UDP";
|
|
14
|
+
DeviceId[DeviceId["FEED"] = 7] = "FEED";
|
|
14
15
|
// 0 - 9 ARE RESERVED FOR SYSTEM LEVEL STUFF
|
|
15
16
|
DeviceId[DeviceId["ROB"] = 10] = "ROB";
|
|
16
17
|
DeviceId[DeviceId["ABB"] = 11] = "ABB";
|
|
@@ -66,6 +67,7 @@ function deviceIdToString(deviceId) {
|
|
|
66
67
|
case DeviceId.CON: return "CON";
|
|
67
68
|
case DeviceId.DIAG: return "DIAG";
|
|
68
69
|
case DeviceId.UDP: return "UDP";
|
|
70
|
+
case DeviceId.FEED: return "FEED";
|
|
69
71
|
case DeviceId.ROB: return "ROB";
|
|
70
72
|
case DeviceId.ABB: return "ABB";
|
|
71
73
|
case DeviceId.EOAT: return "EOAT";
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kuriousdesign/machine-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.109",
|
|
4
4
|
"description": "Shared data types and helpers for machine-related repositories",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=22.16.0 <23"
|
|
9
|
+
},
|
|
7
10
|
"scripts": {
|
|
8
11
|
"build": "tsc && copyfiles -u 1 \"styles/**/*\" dist/styles",
|
|
9
12
|
"prepublishOnly": "npm run build",
|
package/src/enums/DeviceId.ts
CHANGED
|
@@ -6,6 +6,7 @@ export enum DeviceId {
|
|
|
6
6
|
CON = 4,
|
|
7
7
|
DIAG = 5,
|
|
8
8
|
UDP = 6, //Robot Controller
|
|
9
|
+
FEED = 7,
|
|
9
10
|
// 0 - 9 ARE RESERVED FOR SYSTEM LEVEL STUFF
|
|
10
11
|
|
|
11
12
|
ROB = 10,
|
|
@@ -68,6 +69,7 @@ export function deviceIdToString(deviceId: DeviceId | number): string {
|
|
|
68
69
|
case DeviceId.CON: return "CON";
|
|
69
70
|
case DeviceId.DIAG: return "DIAG";
|
|
70
71
|
case DeviceId.UDP: return "UDP";
|
|
72
|
+
case DeviceId.FEED: return "FEED";
|
|
71
73
|
case DeviceId.ROB: return "ROB";
|
|
72
74
|
case DeviceId.ABB: return "ABB";
|
|
73
75
|
case DeviceId.EOAT: return "EOAT";
|