@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.
- package/dist/commands/run.js +1 -1
- package/dist/simulator/index.js +1 -1
- package/package.json +2 -2
package/dist/commands/run.js
CHANGED
|
@@ -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
|
|
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";
|
package/dist/simulator/index.js
CHANGED
|
@@ -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
|
|
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.
|
|
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": "
|
|
8
|
+
"access": "public",
|
|
9
9
|
"registry": "https://registry.npmjs.org"
|
|
10
10
|
},
|
|
11
11
|
"bin": {
|