@capxul/sdk-react 0.1.0-alpha.1 → 0.1.0-alpha.2
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.
- package/CHANGELOG.md +23 -0
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @capxul/sdk-react
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add `convex` as a peer dependency.
|
|
8
|
+
|
|
9
|
+
`@capxul/sdk`'s bundled `_generated/api` snapshot calls
|
|
10
|
+
`anyApi` / `componentsGeneric` from `convex/server` at runtime — they
|
|
11
|
+
are not just types — and tsup correctly externalizes `convex` /
|
|
12
|
+
`convex/server` / `convex/react` so the consumer's own Convex install
|
|
13
|
+
is reused. The peer was missing from the published manifest, so
|
|
14
|
+
`require('@capxul/sdk')` failed with `Cannot find module 'convex/server'`
|
|
15
|
+
in any spike that hadn't already installed `convex`.
|
|
16
|
+
|
|
17
|
+
`@capxul/sdk-react` mirrors the peer because its bundle re-exports
|
|
18
|
+
flow-machine constructors from `@capxul/sdk` and may transitively
|
|
19
|
+
pull in the same module.
|
|
20
|
+
|
|
21
|
+
Caught during alpha.1 spike-install verification.
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
- @capxul/sdk@0.1.0-alpha.2
|
|
25
|
+
|
|
3
26
|
## 0.1.0-alpha.1
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capxul/sdk-react",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.2",
|
|
4
4
|
"description": "React provider + hooks for the @capxul/sdk headless client.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
@@ -41,11 +41,12 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@capxul/sdk": "0.1.0-alpha.
|
|
44
|
+
"@capxul/sdk": "0.1.0-alpha.2"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@tanstack/react-query": "^5",
|
|
48
48
|
"@xstate/react": "^5",
|
|
49
|
+
"convex": ">=1.0.0",
|
|
49
50
|
"react": ">=19.0.0",
|
|
50
51
|
"viem": ">=2.0.0"
|
|
51
52
|
},
|