@tomorrowos/sdk 0.5.2 → 0.5.3

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.
@@ -26,13 +26,13 @@ function formatDeviceSystemForFirmware(platform, firmware, existingSystem) {
26
26
  if (!fw)
27
27
  return existingSystem ?? undefined;
28
28
  if (platform === "brightsign")
29
- return `BrightSign OS (${fw})`;
29
+ return "BrightSignOS";
30
30
  if (platform === "tizen")
31
- return `Tizen (${fw})`;
31
+ return "Tizen";
32
32
  const base = typeof existingSystem === "string"
33
33
  ? existingSystem.replace(/\s*\([^)]*\)\s*$/, "").trim()
34
34
  : "";
35
- return base ? `${base} (${fw})` : fw;
35
+ return base ? `${base}` : fw;
36
36
  }
37
37
  function formatDurationMs(ms) {
38
38
  if (!Number.isFinite(ms) || ms < 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomorrowos/sdk",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "TomorrowOS CMS server SDK - WebSocket transport, pairing, device commands, optional static CMS UI. Includes CLI (tomorrowos init / build) and starter templates.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "my-cms",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "CMS server on @tomorrowos/sdk. Add your UI (React, static files, etc.) alongside this server.",
5
5
  "private": true,
6
6
  "type": "module",
@@ -10,7 +10,7 @@
10
10
  "build-player": "tomorrowos build --platform tizen"
11
11
  },
12
12
  "dependencies": {
13
- "@tomorrowos/sdk": "^0.5.2",
13
+ "@tomorrowos/sdk": "^0.5.3",
14
14
  "dotenv": "^17.2.3"
15
15
  },
16
16
  "devDependencies": {