@duet3d/objectmodel 3.5.0-beta.43 → 3.5.0-beta.45

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.
@@ -5,7 +5,6 @@ import Board from "./boards";
5
5
  import Directories from "./directories";
6
6
  import Fan from "./fans";
7
7
  import Heat from "./heat";
8
- import HttpEndpoint from "./sbc/dsf/HttpEndpoint";
9
8
  import InputChannel from "./inputs/InputChannel";
10
9
  import Job from "./job";
11
10
  import Limits from "./limits";
@@ -30,10 +29,6 @@ export declare class ObjectModel extends ModelObject {
30
29
  readonly fans: ModelCollection<Fan | null>;
31
30
  readonly global: ModelDictionary<any>;
32
31
  readonly heat: Heat;
33
- /**
34
- * @deprecated Will be removed in v3.6, use sbc?.dsf.httpEndpoints instead
35
- */
36
- get httpEndpoints(): ModelCollection<HttpEndpoint> | null;
37
32
  readonly inputs: ModelCollection<InputChannel | null>;
38
33
  readonly job: Job;
39
34
  readonly limits: Limits;
@@ -49,13 +49,6 @@ class ObjectModel extends ModelObject_1.default {
49
49
  this.volumes = new ModelCollection_1.default(volumes_1.default);
50
50
  ModelObject_1.default.wrapModelProperty(this, "sbc", sbc_1.default);
51
51
  }
52
- /**
53
- * @deprecated Will be removed in v3.6, use sbc?.dsf.httpEndpoints instead
54
- */
55
- get httpEndpoints() {
56
- var _a, _b;
57
- return (_b = (_a = this.sbc) === null || _a === void 0 ? void 0 : _a.dsf.httpEndpoints) !== null && _b !== void 0 ? _b : null;
58
- }
59
52
  }
60
53
  exports.ObjectModel = ObjectModel;
61
54
  exports.default = ObjectModel;
@@ -14,5 +14,6 @@ export declare class HeaterMonitor extends ModelObject {
14
14
  action: HeaterMonitorAction | null;
15
15
  condition: HeaterMonitorCondition;
16
16
  limit: number | null;
17
+ sensor: number;
17
18
  }
18
19
  export default HeaterMonitor;
@@ -21,6 +21,7 @@ class HeaterMonitor extends ModelObject_1.default {
21
21
  this.action = null;
22
22
  this.condition = HeaterMonitorCondition.disabled;
23
23
  this.limit = null;
24
+ this.sensor = -1;
24
25
  }
25
26
  }
26
27
  exports.HeaterMonitor = HeaterMonitor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/objectmodel",
3
- "version": "3.5.0-beta.43",
3
+ "version": "3.5.0-beta.45",
4
4
  "description": "TypeScript implementation of the Duet3D Object Model",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",