@kuriousdesign/machine-sdk 1.0.105 → 1.0.106

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.
@@ -109,7 +109,8 @@ export declare enum AxisMethods {
109
109
  MOVE_OP_MIN_MAX = 3,
110
110
  ENFORCE_RAIL_BRAKES = 4,
111
111
  START_STREAM = 5,
112
- STOP = 6
112
+ STOP = 6,
113
+ SET_IS_HOMED = 7
113
114
  }
114
115
  export declare function axisMethodIdToString(method: AxisMethods): string;
115
116
  export declare enum AxisProcesses {
@@ -17,6 +17,7 @@ var AxisMethods;
17
17
  AxisMethods[AxisMethods["ENFORCE_RAIL_BRAKES"] = 4] = "ENFORCE_RAIL_BRAKES";
18
18
  AxisMethods[AxisMethods["START_STREAM"] = 5] = "START_STREAM";
19
19
  AxisMethods[AxisMethods["STOP"] = 6] = "STOP";
20
+ AxisMethods[AxisMethods["SET_IS_HOMED"] = 7] = "SET_IS_HOMED";
20
21
  })(AxisMethods || (exports.AxisMethods = AxisMethods = {}));
21
22
  function axisMethodIdToString(method) {
22
23
  switch (method) {
@@ -34,6 +35,8 @@ function axisMethodIdToString(method) {
34
35
  return "Start Stream";
35
36
  case AxisMethods.STOP:
36
37
  return "Stop";
38
+ case AxisMethods.SET_IS_HOMED:
39
+ return "Set isHomed";
37
40
  default:
38
41
  return "Unknown";
39
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuriousdesign/machine-sdk",
3
- "version": "1.0.105",
3
+ "version": "1.0.106",
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",
@@ -166,7 +166,8 @@ export enum AxisMethods {
166
166
  MOVE_OP_MIN_MAX = 3,
167
167
  ENFORCE_RAIL_BRAKES = 4,
168
168
  START_STREAM = 5,
169
- STOP = 6
169
+ STOP = 6,
170
+ SET_IS_HOMED = 7
170
171
  }
171
172
 
172
173
  export function axisMethodIdToString(method: AxisMethods): string {
@@ -185,6 +186,9 @@ export function axisMethodIdToString(method: AxisMethods): string {
185
186
  return "Start Stream";
186
187
  case AxisMethods.STOP:
187
188
  return "Stop";
189
+ case AxisMethods.SET_IS_HOMED:
190
+ return "Set isHomed";
191
+
188
192
  default:
189
193
  return "Unknown";
190
194
  }