jssm 5.49.0 → 5.52.0

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/jssm.d.ts CHANGED
@@ -96,7 +96,8 @@ declare class Machine<mDT> {
96
96
  hook(from: string, to: string, handler: HookHandler): Machine<mDT>;
97
97
  hook_action(from: string, to: string, action: string, handler: HookHandler): Machine<mDT>;
98
98
  hook_any_transition(handler: HookHandler): Machine<mDT>;
99
- action(name: StateType, newData?: mDT): boolean;
99
+ transition_impl(newStateOrAction: StateType, newData: mDT | undefined, wasForced: boolean, wasAction: boolean): boolean;
100
+ action(actionName: StateType, newData?: mDT): boolean;
100
101
  transition(newState: StateType, newData?: mDT): boolean;
101
102
  force_transition(newState: StateType, newData?: mDT): boolean;
102
103
  current_action_for(action: StateType): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jssm",
3
- "version": "5.49.0",
3
+ "version": "5.52.0",
4
4
  "engines": {
5
5
  "node": ">=10.0.0"
6
6
  },