foldkit-bundle-surface 0.1.2 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -82,7 +82,7 @@ its path.
82
82
 
83
83
  A placement's state is part of the parent Model, so its fields are already in
84
84
  the application's ref tree. Observing one needs no bundle API:
85
- `App.fields.search.query`, `App.fields.search.select(projection)`.
85
+ `App.model.search.query`, `App.model.search.select(projection)`.
86
86
 
87
87
  For an application with `search` and `filter` placements, the following
88
88
  integration fragment gives each mirror its own keys. Import `Mirror` from
@@ -91,12 +91,12 @@ integration fragment gives each mirror its own keys. Import `Mirror` from
91
91
  ```ts
92
92
  const SearchUrl = Mirror.url(App, {
93
93
  name: 'search',
94
- fields: [App.fields.search.query],
94
+ fields: [App.model.search.query],
95
95
  keys: { query: { key: 'search.q' } },
96
96
  })
97
97
  const FilterUrl = Mirror.url(App, {
98
98
  name: 'filter',
99
- fields: [App.fields.filter.query],
99
+ fields: [App.model.filter.query],
100
100
  keys: { query: { key: 'filter.q' } },
101
101
  })
102
102
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foldkit-bundle-surface",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "foldkit-bundle placements as foldkit-surface Module contracts: each placement owns its Model path, validated with every other owner.",
5
5
  "keywords": [
6
6
  "foldkit",
@@ -36,8 +36,8 @@
36
36
  "LICENSE"
37
37
  ],
38
38
  "dependencies": {
39
- "foldkit-bundle": "0.2.0",
40
- "foldkit-surface": "0.4.0"
39
+ "foldkit-surface": "0.4.1",
40
+ "foldkit-bundle": "0.2.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "effect": "^4.0.0-rc.112",
@@ -49,7 +49,7 @@
49
49
  "jsdom": "26.1.0",
50
50
  "tsdown": "^0.23.0",
51
51
  "typescript": "5.9.3",
52
- "foldkit-mirror": "0.2.2"
52
+ "foldkit-mirror": "0.2.3"
53
53
  },
54
54
  "scripts": {
55
55
  "build": "tsdown",