@push.rocks/smartstate 2.3.0 → 2.3.1

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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartstate',
6
- version: '2.3.0',
6
+ version: '2.3.1',
7
7
  description: 'A TypeScript-first reactive state management library with middleware, computed state, batching, persistence, and Web Component Context Protocol support.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLDBKQUEwSjtDQUN4SyxDQUFBIn0=
@@ -8,7 +8,7 @@ export interface IActionContext<TStateType> {
8
8
  dispatch<T>(action: StateAction<TStateType, T>, payload: T): Promise<TStateType>;
9
9
  }
10
10
  export interface IActionDef<TStateType, TActionPayloadType> {
11
- (stateArg: StatePart<any, TStateType>, actionPayload: TActionPayloadType, context?: IActionContext<TStateType>): Promise<TStateType>;
11
+ (stateArg: StatePart<any, TStateType>, actionPayload: TActionPayloadType, context: IActionContext<TStateType>): Promise<TStateType>;
12
12
  }
13
13
  /**
14
14
  * an actionmodifier for the state
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@push.rocks/smartstate",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "private": false,
5
5
  "description": "A TypeScript-first reactive state management library with middleware, computed state, batching, persistence, and Web Component Context Protocol support.",
6
6
  "main": "dist_ts/index.js",
@@ -10,20 +10,19 @@
10
10
  "license": "MIT",
11
11
  "scripts": {
12
12
  "test": "(tstest test/ --verbose)",
13
- "build": "(tsbuild tsfolders --allowimplicitany && tsbundle npm)",
13
+ "build": "(tsbuild tsfolders && tsbundle npm)",
14
14
  "buildDocs": "tsdoc"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@git.zone/tsbuild": "^4.4.0",
18
18
  "@git.zone/tsbundle": "^2.10.0",
19
19
  "@git.zone/tsrun": "^2.0.2",
20
- "@git.zone/tstest": "^3.6.1",
21
- "@push.rocks/tapbundle": "^6.0.3",
22
- "@types/node": "^25.5.0"
20
+ "@git.zone/tstest": "^3.6.3",
21
+ "@types/node": "^25.6.0"
23
22
  },
24
23
  "dependencies": {
25
- "@push.rocks/smarthash": "^3.2.6",
26
- "@push.rocks/smartjson": "^6.0.0",
24
+ "@push.rocks/smarthash": "^3.2.7",
25
+ "@push.rocks/smartjson": "^6.0.1",
27
26
  "@push.rocks/smartpromise": "^4.2.3",
28
27
  "@push.rocks/smartrx": "^3.0.10",
29
28
  "@push.rocks/webstore": "^2.0.21"
@@ -38,6 +37,7 @@
38
37
  "assets/**/*",
39
38
  "cli.js",
40
39
  ".smartconfig.json",
40
+ "license",
41
41
  "readme.md"
42
42
  ],
43
43
  "browserslist": [
@@ -66,5 +66,5 @@
66
66
  "type": "git",
67
67
  "url": "https://code.foss.global/push.rocks/smartstate.git"
68
68
  },
69
- "packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977"
69
+ "packageManager": "pnpm@10.28.2"
70
70
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartstate',
6
- version: '2.3.0',
6
+ version: '2.3.1',
7
7
  description: 'A TypeScript-first reactive state management library with middleware, computed state, batching, persistence, and Web Component Context Protocol support.'
8
8
  }
@@ -10,7 +10,7 @@ export interface IActionContext<TStateType> {
10
10
  }
11
11
 
12
12
  export interface IActionDef<TStateType, TActionPayloadType> {
13
- (stateArg: StatePart<any, TStateType>, actionPayload: TActionPayloadType, context?: IActionContext<TStateType>): Promise<TStateType>;
13
+ (stateArg: StatePart<any, TStateType>, actionPayload: TActionPayloadType, context: IActionContext<TStateType>): Promise<TStateType>;
14
14
  }
15
15
 
16
16
  /**