@signaltree/callable-syntax 5.1.0 → 5.1.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/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -69,9 +69,9 @@ export default defineConfig({
69
69
  The transform only affects build output - your TypeScript will still type-check correctly with callable syntax because SignalTree includes the necessary type augmentations.
70
70
 
71
71
  ```typescript
72
- import { createSignalStore } from '@signaltree/core';
72
+ import { signalTree } from '@signaltree/core';
73
73
 
74
- const store = createSignalStore({
74
+ const store = signalTree({
75
75
  todos: [] as Todo[],
76
76
  filter: 'all' as 'all' | 'active' | 'completed',
77
77
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signaltree/callable-syntax",
3
- "version": "5.1.0",
3
+ "version": "5.1.6",
4
4
  "description": "Optional zero-runtime callable syntax transform for SignalTree unified leaf API.",
5
5
  "license": "BSL-1.1",
6
6
  "type": "module",