@cplieger/actions 2.0.7 → 2.0.9

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 (3) hide show
  1. package/README.md +1 -1
  2. package/jsr.json +1 -1
  3. package/package.json +9 -7
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  > Declarative UI-actions framework with lifecycle management, retry, debounce, and polling.
10
10
 
11
- A standalone TypeScript library for defining and dispatching UI actions with full lifecycle support: optimistic updates, automatic retry with backoff, scope serialization, dedupe collapsing, notification wiring, polling, button-feedback helpers, and a registry for observability. Built on [`@cplieger/reactive`](https://github.com/cplieger/reactive) — action pending-state is signal-backed, so `isPending`/`pendingCount` are reactive and `bindLoadingState` is a plain effect over them. Notification display and streaming transport are injected by the consumer via small interfaces.
11
+ A standalone TypeScript library for defining and dispatching UI actions with full lifecycle support: optimistic updates, automatic retry with backoff, scope serialization, dedupe collapsing, notification wiring, polling, button-feedback helpers, and a registry for observability. Built on [`@cplieger/reactive`](https://github.com/cplieger/reactive) — action pending-state is signal-backed, so `isPending`/`pendingCount` are reactive and `bindLoadingState` is a plain effect over them. HTTP-backed `apiAction`s route their requests through [`@cplieger/fetch`](https://github.com/cplieger/fetch), the toolkit's shared request core (base URL, credentials, header prep, and a custom `fetchFn` are injected via `configureApi`). Notification display and streaming transport are injected by the consumer via small interfaces.
12
12
 
13
13
  ## Install
14
14
 
package/jsr.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cplieger/actions",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "exports": {
5
5
  ".": "./src/index.ts",
6
6
  "./testing": "./src/testing.ts"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cplieger/actions",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -8,24 +8,26 @@
8
8
  "./testing": "./src/testing.ts"
9
9
  },
10
10
  "scripts": {
11
- "typecheck": "tsgo -project tsconfig.json",
12
- "typecheck:tests": "tsgo -project tsconfig.test.json",
11
+ "typecheck": "tsc -project tsconfig.json",
12
+ "typecheck:tests": "tsc -project tsconfig.test.json",
13
13
  "test": "vitest --run"
14
14
  },
15
15
  "dependencies": {
16
- "@cplieger/fetch": "1.1.0",
16
+ "@cplieger/fetch": "1.1.1",
17
17
  "@cplieger/reactive": "1.2.2"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@eslint/js": "10.0.1",
21
21
  "@types/node": "24.13.2",
22
- "@vitest/coverage-v8": "4.1.9",
22
+ "@typescript/native": "npm:typescript@7.0.2",
23
+ "@vitest/coverage-v8": "4.1.10",
23
24
  "eslint": "10.6.0",
24
25
  "fast-check": "4.8.0",
25
26
  "happy-dom": "20.10.6",
26
27
  "prettier": "3.9.4",
27
- "typescript-eslint": "8.62.1",
28
- "vitest": "4.1.9"
28
+ "typescript": "npm:@typescript/typescript6@6.0.2",
29
+ "typescript-eslint": "8.63.0",
30
+ "vitest": "4.1.10"
29
31
  },
30
32
  "description": "Declarative async UI-action framework for TypeScript",
31
33
  "license": "GPL-3.0-or-later",