@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.js CHANGED
@@ -368,7 +368,7 @@ function build_model(result, files, expected_slices) {
368
368
  }
369
369
  for (const a of raw_acts) {
370
370
  for (const st of a.states ?? []) {
371
- if (!st || st._tag !== "State" || state_by_ref.has(st)) continue;
371
+ if (st?._tag !== "State" || state_by_ref.has(st)) continue;
372
372
  try {
373
373
  state_by_ref.set(st, build_state(model, st));
374
374
  } catch (e) {
@@ -2354,7 +2354,7 @@ function Diagram({
2354
2354
  title: "@rotorsoft/act-diagram version",
2355
2355
  children: [
2356
2356
  "v",
2357
- "1.0.3"
2357
+ "1.0.5"
2358
2358
  ]
2359
2359
  }
2360
2360
  )