@phystack/device-simulator 6.17.0 → 6.18.0

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.
@@ -135,7 +135,7 @@ exports.default = async (appPath, options = {}) => {
135
135
  isRunning = false;
136
136
  }
137
137
  if (!isRunning) {
138
- console.error(chalk_1.default.red("Simulator is not running. Start it first with `phy simulator start`."));
138
+ console.error(chalk_1.default.red("Simulator is not running. Start it first with `phy-simulator start`."));
139
139
  process.exit(1);
140
140
  }
141
141
  const localTenantId = "local";
@@ -72,7 +72,7 @@ class DeviceSimulator {
72
72
  this.localServer.on("instanceConnected", (event) => {
73
73
  const twin = this.twinCache.getTwin(event.twinId);
74
74
  if (!twin) {
75
- logger_1.simulatorLog.warn(`Instance connected with unknown twin id ${event.twinId} — no twin in cache (stale browser tab, or app started before 'phy simulator run'?) — ${event.activeCount} active`);
75
+ logger_1.simulatorLog.warn(`Instance connected with unknown twin id ${event.twinId} — no twin in cache (stale browser tab, or app started before 'phy-simulator run'?) — ${event.activeCount} active`);
76
76
  return;
77
77
  }
78
78
  const label = twin.properties?.desired?.appName || "unknown";
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@phystack/device-simulator",
3
- "version": "6.17.0",
3
+ "version": "6.18.0",
4
4
  "description": "Standalone PhyStack device simulator for local app development.",
5
5
  "main": "dist/command.js",
6
6
  "license": "UNLICENSED",
7
7
  "publishConfig": {
8
- "access": "restricted",
8
+ "access": "public",
9
9
  "registry": "https://registry.npmjs.org"
10
10
  },
11
11
  "bin": {