@vanyamate/sec 0.3.1-batch-beta.5 → 0.3.1-batch-beta.6

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -28,6 +28,8 @@ export declare type EffectSubscribePosition = 'beforeAll' | 'afterAll' | undefin
28
28
 
29
29
  export declare type EffectSuccessCallback<AsyncAction extends EffectAction> = (result: Awaited<ReturnType<AsyncAction>>, ...args: Parameters<AsyncAction>) => void;
30
30
 
31
+ export declare type EmptyEffect<State> = (state: State) => Promise<State>;
32
+
31
33
  export declare const enableCheck: (enabled: boolean, callback: () => void) => void;
32
34
 
33
35
  export declare type Marker<State> = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vanyamate/sec",
3
- "version": "0.3.1-batch-beta.5",
3
+ "version": "0.3.1-batch-beta.6",
4
4
  "description": "SEC. Store, Effect, Combine. Tiny state manager",
5
5
  "scripts": {
6
6
  "build": "vite build",