jssm 5.72.3 → 5.73.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.
@@ -102,6 +102,7 @@ declare type JssmGenericConfig<DataType> = {
102
102
  data?: DataType;
103
103
  nodes?: Array<StateType>;
104
104
  check?: JssmStatePermitterMaybeArray<DataType>;
105
+ history?: number;
105
106
  min_exits?: number;
106
107
  max_exits?: number;
107
108
  allow_islands?: false;
@@ -203,11 +204,11 @@ declare type HookComplexResult<mDT> = {
203
204
  state?: StateType;
204
205
  data?: mDT;
205
206
  };
206
- declare type HookResult = true | false | undefined | void;
207
+ declare type HookResult<mDT> = true | false | undefined | void | HookComplexResult<mDT>;
207
208
  declare type HookContext<mDT> = {
208
209
  data: mDT;
209
210
  };
210
- declare type HookHandler<mDT> = (hook_context: HookContext<mDT>) => HookResult;
211
+ declare type HookHandler<mDT> = (hook_context: HookContext<mDT>) => HookResult<mDT>;
211
212
  declare type JssmErrorExtendedInfo = {
212
213
  requested_state?: StateType | undefined;
213
214
  };
@@ -1,2 +1,2 @@
1
- const version = "5.72.3";
1
+ const version = "5.73.0";
2
2
  export { version };