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.
- package/CHANGELOG.md +46 -37
- package/README.md +24 -1
- package/dist/es6/jssm.d.ts +91 -4
- package/dist/es6/jssm.js +146 -18
- package/dist/es6/jssm_types.d.ts +3 -2
- package/dist/es6/version.js +1 -1
- package/dist/jssm.es5.cjs.js +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/jest-spec.config.js +7 -1
- package/jssm.d.ts +91 -4
- package/jssm_types.d.ts +3 -2
- package/package.json +5 -2
package/dist/es6/jssm_types.d.ts
CHANGED
|
@@ -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
|
};
|
package/dist/es6/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const version = "5.
|
|
1
|
+
const version = "5.73.0";
|
|
2
2
|
export { version };
|