state-decorator 7.0.2 → 7.0.3

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/es/types.d.ts CHANGED
@@ -308,7 +308,7 @@ export type OnPropsChangeOptions<S, DS, A, P, FxRes = Partial<S>> = {
308
308
  onMountDeferred?: boolean;
309
309
  getDeps: (p: P) => any[];
310
310
  effects?: (ctx: OnPropsChangeEffectsContext<S, DS, P>) => FxRes;
311
- sideEffects?: (ctx: OnPropsChangeSideEffectsContext<S, P, A>) => void;
311
+ sideEffects?: (ctx: OnPropsChangeSideEffectsContext<S, P, A, DS>) => void;
312
312
  };
313
313
  export type StoreOptions<S, A, P = {}, DS = {}, FxRes = Partial<S>> = {
314
314
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "state-decorator",
3
- "version": "7.0.2",
3
+ "version": "7.0.3",
4
4
  "description": "React state management library",
5
5
  "main": "index.js",
6
6
  "module": "es/index.js",
package/types.d.ts CHANGED
@@ -308,7 +308,7 @@ export type OnPropsChangeOptions<S, DS, A, P, FxRes = Partial<S>> = {
308
308
  onMountDeferred?: boolean;
309
309
  getDeps: (p: P) => any[];
310
310
  effects?: (ctx: OnPropsChangeEffectsContext<S, DS, P>) => FxRes;
311
- sideEffects?: (ctx: OnPropsChangeSideEffectsContext<S, P, A>) => void;
311
+ sideEffects?: (ctx: OnPropsChangeSideEffectsContext<S, P, A, DS>) => void;
312
312
  };
313
313
  export type StoreOptions<S, A, P = {}, DS = {}, FxRes = Partial<S>> = {
314
314
  /**