@rotorsoft/act-diagram 1.0.6 → 1.0.8
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/.tsbuildinfo +1 -1
- package/dist/@types/client/lib/mock-builders.d.ts.map +1 -1
- package/dist/cli/act.js +12 -1
- package/dist/cli/act.js.map +1 -1
- package/dist/index.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -649,6 +649,13 @@ function mock_state(entry, on_build) {
|
|
|
649
649
|
};
|
|
650
650
|
},
|
|
651
651
|
snap: () => action_builder(_currentAction),
|
|
652
|
+
// Close-the-books policy methods. The diagram doesn't render the
|
|
653
|
+
// policy, but they must keep the chain alive — a real builder allows
|
|
654
|
+
// `.autocloses(...)` / `.archives(...)` between `.emit(...)` and
|
|
655
|
+
// `.build()`, so omitting them throws and silently drops the whole
|
|
656
|
+
// state from the parsed model.
|
|
657
|
+
autocloses: () => action_builder(_currentAction),
|
|
658
|
+
archives: () => action_builder(_currentAction),
|
|
652
659
|
build: () => {
|
|
653
660
|
on_build?.(info);
|
|
654
661
|
return info;
|
|
@@ -2354,7 +2361,7 @@ function Diagram({
|
|
|
2354
2361
|
title: "@rotorsoft/act-diagram version",
|
|
2355
2362
|
children: [
|
|
2356
2363
|
"v",
|
|
2357
|
-
"1.0.
|
|
2364
|
+
"1.0.7"
|
|
2358
2365
|
]
|
|
2359
2366
|
}
|
|
2360
2367
|
)
|