Skip to content

Commit

Permalink
1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
asapovk committed Feb 19, 2024
1 parent 9481911 commit 0418709
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/v1-core/lib/processor/prepareInstanceOpts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export function prepareOpts(config, store, system, sliceName, injected) {
const bind = Bind(system, config);

return {
subscribe: store.subscribe,
getCurrentTask: system.taksQueue.getCurrentTask,
dispatch: store.dispatch,
uid: processUid,
sliceName: sliceName,
Expand Down
4 changes: 3 additions & 1 deletion packages/v1-core/lib/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Dispatch } from 'redux';
import { Dispatch, Store } from 'redux';

export type SystemConfig = {
env: 'dev' | 'prod' | 'test';
Expand Down Expand Up @@ -115,6 +115,7 @@ export type DefautOpts<
injected?: Inj;
sliceName: keyof IState;
dispatch: Dispatch;
subscribe: Store['subscribe'];
setStatus: SetStatusType<IRootTrigger, BiteName>;
trigger: DispatcherType<IRootTrigger>;
wait: WaiterType<IRootTrigger>;
Expand All @@ -124,6 +125,7 @@ export type DefautOpts<
biteName: keyof IRootTrigger;
uid: string;
getCurrentState: () => IState;
getCurrentTask: () => string;
drop: () => void;
bind: BindHandlerType<IRootTrigger, BiteName>;
catchStatus: CatchStatusType<IRootTrigger, BiteName>;
Expand Down
2 changes: 1 addition & 1 deletion packages/v1-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reflexio/core-v1",
"version": "1.1.4",
"version": "1.2.4",
"description": "Reflexio core-v1 package",
"files": ["lib", "index.d.ts", "readme.md"],
"keywords": ["react", "redux"],
Expand Down

0 comments on commit 0418709

Please sign in to comment.