@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.cjs
CHANGED
|
@@ -681,6 +681,13 @@ function mock_state(entry, on_build) {
|
|
|
681
681
|
};
|
|
682
682
|
},
|
|
683
683
|
snap: () => action_builder(_currentAction),
|
|
684
|
+
// Close-the-books policy methods. The diagram doesn't render the
|
|
685
|
+
// policy, but they must keep the chain alive — a real builder allows
|
|
686
|
+
// `.autocloses(...)` / `.archives(...)` between `.emit(...)` and
|
|
687
|
+
// `.build()`, so omitting them throws and silently drops the whole
|
|
688
|
+
// state from the parsed model.
|
|
689
|
+
autocloses: () => action_builder(_currentAction),
|
|
690
|
+
archives: () => action_builder(_currentAction),
|
|
684
691
|
build: () => {
|
|
685
692
|
on_build?.(info);
|
|
686
693
|
return info;
|
|
@@ -2378,7 +2385,7 @@ function Diagram({
|
|
|
2378
2385
|
title: "@rotorsoft/act-diagram version",
|
|
2379
2386
|
children: [
|
|
2380
2387
|
"v",
|
|
2381
|
-
"1.0.
|
|
2388
|
+
"1.0.7"
|
|
2382
2389
|
]
|
|
2383
2390
|
}
|
|
2384
2391
|
)
|