@rotorsoft/act-diagram 1.0.4 → 1.0.6

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/index.cjs CHANGED
@@ -400,7 +400,7 @@ function build_model(result, files, expected_slices) {
400
400
  }
401
401
  for (const a of raw_acts) {
402
402
  for (const st of a.states ?? []) {
403
- if (!st || st._tag !== "State" || state_by_ref.has(st)) continue;
403
+ if (st?._tag !== "State" || state_by_ref.has(st)) continue;
404
404
  try {
405
405
  state_by_ref.set(st, build_state(model, st));
406
406
  } catch (e) {
@@ -2378,7 +2378,7 @@ function Diagram({
2378
2378
  title: "@rotorsoft/act-diagram version",
2379
2379
  children: [
2380
2380
  "v",
2381
- "1.0.3"
2381
+ "1.0.5"
2382
2382
  ]
2383
2383
  }
2384
2384
  )