@kuriousdesign/machine-sdk 1.0.58 → 1.0.59

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.
@@ -18,7 +18,7 @@ export interface DeviceRegistration {
18
18
  childIdArray: number[];
19
19
  parentId: number;
20
20
  deviceType: DeviceTypes;
21
- devicePath?: string;
21
+ devicePath?: string[];
22
22
  }
23
23
  export declare const initialDeviceRegistration: DeviceRegistration;
24
24
  export interface DeviceCfg {
@@ -21,7 +21,7 @@ exports.initialDeviceRegistration = {
21
21
  childIdArray: [],
22
22
  parentId: 0,
23
23
  deviceType: DeviceTypes_1.DeviceTypes.Base, // Assuming Unknown exists in DeviceTypes enum
24
- devicePath: ''
24
+ devicePath: []
25
25
  };
26
26
  exports.initialDeviceCfg = {
27
27
  safetyZoneId: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuriousdesign/machine-sdk",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
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",
@@ -35,7 +35,7 @@ export interface DeviceRegistration {
35
35
  childIdArray: number[]; // array of child device ids
36
36
  parentId: number; // this is the parent id
37
37
  deviceType: DeviceTypes; // type of the device
38
- devicePath?: string; // full path of the device in the machine hierarchy
38
+ devicePath?: string[]; // full path of the device in the machine hierarchy
39
39
  };
40
40
 
41
41
 
@@ -46,7 +46,7 @@ export const initialDeviceRegistration: DeviceRegistration = {
46
46
  childIdArray: [],
47
47
  parentId: 0,
48
48
  deviceType: DeviceTypes.Base, // Assuming Unknown exists in DeviceTypes enum
49
- devicePath: ''
49
+ devicePath: []
50
50
  };
51
51
 
52
52
  export interface DeviceCfg {