jssm 5.162.26 → 5.162.28
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/README.md +6 -6
- package/dist/cdn/instance.js +1 -1
- package/dist/cdn/viz.js +1 -1
- package/dist/cli/fsl-export-system-prompt.cjs +1 -1
- package/dist/cli/fsl-render.cjs +1 -1
- package/dist/cli/fsl.cjs +1 -1
- package/dist/cli/lib.cjs +1 -1
- package/dist/cli/lib.mjs +1 -1
- package/dist/deno/README.md +6 -6
- package/dist/deno/jssm.d.ts +8 -0
- package/dist/deno/jssm.js +1 -1
- package/dist/fence/fence.js +205 -149
- package/dist/jssm.es5.cjs +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/dist/jssm.es6.mjs +1 -1
- package/dist/jssm_viz.cjs +1 -1
- package/dist/jssm_viz.iife.cjs +1 -1
- package/dist/jssm_viz.mjs +1 -1
- package/jssm.es5.d.cts +8 -0
- package/jssm.es6.d.ts +8 -0
- package/jssm.fence.d.ts +8 -0
- package/jssm_viz.es5.d.cts +8 -0
- package/jssm_viz.es6.d.ts +8 -0
- package/package.json +1 -1
package/jssm.es5.d.cts
CHANGED
|
@@ -2241,6 +2241,7 @@ declare class Machine<mDT> {
|
|
|
2241
2241
|
_event_handlers: Map<JssmEventName, Set<JssmEventEntry<any, any>>>;
|
|
2242
2242
|
_event_listener_count: number;
|
|
2243
2243
|
_firing_error: boolean;
|
|
2244
|
+
_committing_transition: boolean;
|
|
2244
2245
|
_boundary_depth: number;
|
|
2245
2246
|
_boundary_depth_limit: number;
|
|
2246
2247
|
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, oarrange_declaration, farrange_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
@@ -3954,6 +3955,13 @@ declare class Machine<mDT> {
|
|
|
3954
3955
|
* @returns `true` if the transition was valid and every hook passed;
|
|
3955
3956
|
* `false` if the transition was invalid or any hook rejected.
|
|
3956
3957
|
*
|
|
3958
|
+
* @throws {JssmError} If called reentrantly from inside a hook that is still
|
|
3959
|
+
* running in the enclosing transition's pre-commit pipeline — a hook that
|
|
3960
|
+
* calls `transition`/`go`/`do`/`action`. Committing the inner transition
|
|
3961
|
+
* and then the outer one would silently discard the inner result, so the
|
|
3962
|
+
* reentry is rejected instead (StoneCypher/fsl#1953). Post-commit reentry
|
|
3963
|
+
* (from a post-hook or the boundary-action cascade) is permitted.
|
|
3964
|
+
*
|
|
3957
3965
|
* @internal
|
|
3958
3966
|
*
|
|
3959
3967
|
*/
|
package/jssm.es6.d.ts
CHANGED
|
@@ -2241,6 +2241,7 @@ declare class Machine<mDT> {
|
|
|
2241
2241
|
_event_handlers: Map<JssmEventName, Set<JssmEventEntry<any, any>>>;
|
|
2242
2242
|
_event_listener_count: number;
|
|
2243
2243
|
_firing_error: boolean;
|
|
2244
|
+
_committing_transition: boolean;
|
|
2244
2245
|
_boundary_depth: number;
|
|
2245
2246
|
_boundary_depth_limit: number;
|
|
2246
2247
|
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, oarrange_declaration, farrange_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
@@ -3954,6 +3955,13 @@ declare class Machine<mDT> {
|
|
|
3954
3955
|
* @returns `true` if the transition was valid and every hook passed;
|
|
3955
3956
|
* `false` if the transition was invalid or any hook rejected.
|
|
3956
3957
|
*
|
|
3958
|
+
* @throws {JssmError} If called reentrantly from inside a hook that is still
|
|
3959
|
+
* running in the enclosing transition's pre-commit pipeline — a hook that
|
|
3960
|
+
* calls `transition`/`go`/`do`/`action`. Committing the inner transition
|
|
3961
|
+
* and then the outer one would silently discard the inner result, so the
|
|
3962
|
+
* reentry is rejected instead (StoneCypher/fsl#1953). Post-commit reentry
|
|
3963
|
+
* (from a post-hook or the boundary-action cascade) is permitted.
|
|
3964
|
+
*
|
|
3957
3965
|
* @internal
|
|
3958
3966
|
*
|
|
3959
3967
|
*/
|
package/jssm.fence.d.ts
CHANGED
|
@@ -1511,6 +1511,7 @@ declare class Machine<mDT> {
|
|
|
1511
1511
|
_event_handlers: Map<JssmEventName, Set<JssmEventEntry<any, any>>>;
|
|
1512
1512
|
_event_listener_count: number;
|
|
1513
1513
|
_firing_error: boolean;
|
|
1514
|
+
_committing_transition: boolean;
|
|
1514
1515
|
_boundary_depth: number;
|
|
1515
1516
|
_boundary_depth_limit: number;
|
|
1516
1517
|
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, oarrange_declaration, farrange_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
@@ -3224,6 +3225,13 @@ declare class Machine<mDT> {
|
|
|
3224
3225
|
* @returns `true` if the transition was valid and every hook passed;
|
|
3225
3226
|
* `false` if the transition was invalid or any hook rejected.
|
|
3226
3227
|
*
|
|
3228
|
+
* @throws {JssmError} If called reentrantly from inside a hook that is still
|
|
3229
|
+
* running in the enclosing transition's pre-commit pipeline — a hook that
|
|
3230
|
+
* calls `transition`/`go`/`do`/`action`. Committing the inner transition
|
|
3231
|
+
* and then the outer one would silently discard the inner result, so the
|
|
3232
|
+
* reentry is rejected instead (StoneCypher/fsl#1953). Post-commit reentry
|
|
3233
|
+
* (from a post-hook or the boundary-action cascade) is permitted.
|
|
3234
|
+
*
|
|
3227
3235
|
* @internal
|
|
3228
3236
|
*
|
|
3229
3237
|
*/
|
package/jssm_viz.es5.d.cts
CHANGED
|
@@ -1384,6 +1384,7 @@ declare class Machine<mDT> {
|
|
|
1384
1384
|
_event_handlers: Map<JssmEventName, Set<JssmEventEntry<any, any>>>;
|
|
1385
1385
|
_event_listener_count: number;
|
|
1386
1386
|
_firing_error: boolean;
|
|
1387
|
+
_committing_transition: boolean;
|
|
1387
1388
|
_boundary_depth: number;
|
|
1388
1389
|
_boundary_depth_limit: number;
|
|
1389
1390
|
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, oarrange_declaration, farrange_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
@@ -3097,6 +3098,13 @@ declare class Machine<mDT> {
|
|
|
3097
3098
|
* @returns `true` if the transition was valid and every hook passed;
|
|
3098
3099
|
* `false` if the transition was invalid or any hook rejected.
|
|
3099
3100
|
*
|
|
3101
|
+
* @throws {JssmError} If called reentrantly from inside a hook that is still
|
|
3102
|
+
* running in the enclosing transition's pre-commit pipeline — a hook that
|
|
3103
|
+
* calls `transition`/`go`/`do`/`action`. Committing the inner transition
|
|
3104
|
+
* and then the outer one would silently discard the inner result, so the
|
|
3105
|
+
* reentry is rejected instead (StoneCypher/fsl#1953). Post-commit reentry
|
|
3106
|
+
* (from a post-hook or the boundary-action cascade) is permitted.
|
|
3107
|
+
*
|
|
3100
3108
|
* @internal
|
|
3101
3109
|
*
|
|
3102
3110
|
*/
|
package/jssm_viz.es6.d.ts
CHANGED
|
@@ -1384,6 +1384,7 @@ declare class Machine<mDT> {
|
|
|
1384
1384
|
_event_handlers: Map<JssmEventName, Set<JssmEventEntry<any, any>>>;
|
|
1385
1385
|
_event_listener_count: number;
|
|
1386
1386
|
_firing_error: boolean;
|
|
1387
|
+
_committing_transition: boolean;
|
|
1387
1388
|
_boundary_depth: number;
|
|
1388
1389
|
_boundary_depth_limit: number;
|
|
1389
1390
|
constructor({ start_states, end_states, failed_outputs, initial_state, start_states_no_enforce, complete, transitions, machine_author, machine_comment, machine_contributor, machine_definition, machine_language, machine_license, machine_name, machine_version, npm_name, default_size, state_declaration, property_definition, state_property, fsl_version, dot_preamble, arrange_declaration, arrange_start_declaration, arrange_end_declaration, oarrange_declaration, farrange_declaration, theme, flow, graph_layout, instance_name, history, boundary_depth_limit, data, default_state_config, default_active_state_config, default_hooked_state_config, default_terminal_state_config, default_start_state_config, default_end_state_config, default_transition_config, default_graph_config, group_registry, group_metadata, group_hooks, state_hooks, allows_override, config_allows_override, allow_islands, editor_config, rng_seed, time_source, timeout_source, clear_timeout_source }: JssmGenericConfig<StateType, mDT>);
|
|
@@ -3097,6 +3098,13 @@ declare class Machine<mDT> {
|
|
|
3097
3098
|
* @returns `true` if the transition was valid and every hook passed;
|
|
3098
3099
|
* `false` if the transition was invalid or any hook rejected.
|
|
3099
3100
|
*
|
|
3101
|
+
* @throws {JssmError} If called reentrantly from inside a hook that is still
|
|
3102
|
+
* running in the enclosing transition's pre-commit pipeline — a hook that
|
|
3103
|
+
* calls `transition`/`go`/`do`/`action`. Committing the inner transition
|
|
3104
|
+
* and then the outer one would silently discard the inner result, so the
|
|
3105
|
+
* reentry is rejected instead (StoneCypher/fsl#1953). Post-commit reentry
|
|
3106
|
+
* (from a post-hook or the boundary-action cascade) is permitted.
|
|
3107
|
+
*
|
|
3100
3108
|
* @internal
|
|
3101
3109
|
*
|
|
3102
3110
|
*/
|