@7365admin1/core 3.122.0 → 3.122.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@7365admin1/core",
3
3
  "license": "MIT",
4
- "version": "3.122.0",
4
+ "version": "3.122.1",
5
5
  "author": "7365admin1",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.mjs",
@@ -52,7 +52,7 @@ test("Ounitech: no model reported, one manifest for Q3-G and Q3-W; Basic control
52
52
  assert.deepEqual(profile.alarms, []);
53
53
  });
54
54
 
55
- test("Demo: models differ - S1 full, CX-1 no point commands, SP-1 no spot clean", () => {
55
+ test("Demo: models differ - S1 and SP-1 full, CX-1 no point commands", () => {
56
56
  const s1 = robotManifest("demo", "Demo S1").capabilities;
57
57
  const cx = robotManifest("demo", "Demo CX-1");
58
58
  const sp = robotManifest("demo", "Demo SP-1").capabilities;
@@ -62,8 +62,7 @@ test("Demo: models differ - S1 full, CX-1 no point commands, SP-1 no spot clean"
62
62
  assert.equal(cx.capabilities.navigateToPoint, false);
63
63
  assert.equal(commandSupported(cx.capabilities, "relocalize"), false);
64
64
  assert.equal(commandSupported(cx.capabilities, "full"), true);
65
- assert.equal(sp.spotClean, false);
66
- assert.equal(sp.navigateToPoint, true);
65
+ assert.equal(robotTier(sp), "full-control", "the demo patroller keeps its Full control badge");
67
66
  });
68
67
 
69
68
  test("unknown brand: nothing claimed", () => {
@@ -80,5 +79,5 @@ test("brand list carries each model's resolved manifest", () => {
80
79
  assert.equal(padbot.models[0].capabilities.thermalCamera, true);
81
80
  assert.equal(padbot.capabilities.thermalCamera, false);
82
81
  const demo = registeredRobotBrands().find((b) => b.brand === "demo");
83
- assert.deepEqual(demo.models.map((m) => m.name), ["Demo CX-1", "Demo SP-1"]);
82
+ assert.deepEqual(demo.models.map((m) => m.name), ["Demo CX-1"]);
84
83
  });