busroot-sdk 0.0.8-dev.2749243882 → 0.0.8-dev.2756254166

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.
Files changed (2) hide show
  1. package/build/index.js +2 -2
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -9001,10 +9001,10 @@ var require_station4 = __commonJS({
9001
9001
  if (station.lastStationWindow != null) {
9002
9002
  if ((station.lastStationWindow.shiftMs || 0) === 0) {
9003
9003
  state = exports2.StationStates.out_of_shift;
9004
- } else if ((station.lastStationWindow.downtimeMs || 0) > 0) {
9005
- state = exports2.StationStates.stopped;
9006
9004
  } else if (!station.lastStationWindow.isAlive) {
9007
9005
  state = exports2.StationStates.disconnected;
9006
+ } else if ((station.lastStationWindow.downtimeMs || 0) > 0) {
9007
+ state = exports2.StationStates.stopped;
9008
9008
  } else if (station.activeSchedule?.nonProductionReasonCode != null) {
9009
9009
  state = exports2.StationStates.non_production;
9010
9010
  } else if (station.activeSchedule?.skuCode != null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "busroot-sdk",
3
- "version": "0.0.8-dev.2749243882",
3
+ "version": "0.0.8-dev.2756254166",
4
4
  "description": "An SDK for accessing Busroot from output.industries",
5
5
  "homepage": "https://www.output.industries",
6
6
  "main": "./build/index.js",