@copilotkit/react-core 1.52.0 → 1.52.1-next.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.
- package/CHANGELOG.md +22 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +2 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -5
- package/src/components/copilot-provider/copilotkit.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# ui
|
|
2
2
|
|
|
3
|
+
## 1.52.1-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b555ac4: fix(react-core): allow overriding useSingleEndpoint in CopilotKit provider
|
|
8
|
+
|
|
9
|
+
The V1 `<CopilotKit>` provider previously hardcoded `useSingleEndpoint={true}` when wrapping the V2 provider, preventing users from opting into REST transport mode. The prop is now passed through from user config, defaulting to `true` to preserve backward compatibility.
|
|
10
|
+
- @copilotkit/runtime-client-gql@1.52.1-next.1
|
|
11
|
+
- @copilotkit/shared@1.52.1-next.1
|
|
12
|
+
- @copilotkitnext/core@1.52.1-next.1
|
|
13
|
+
- @copilotkitnext/react@1.52.1-next.1
|
|
14
|
+
|
|
15
|
+
## 1.52.1-next.0
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [bbdf67d]
|
|
20
|
+
- @copilotkitnext/react@1.52.1-next.0
|
|
21
|
+
- @copilotkit/runtime-client-gql@1.52.1-next.0
|
|
22
|
+
- @copilotkit/shared@1.52.1-next.0
|
|
23
|
+
- @copilotkitnext/core@1.52.1-next.0
|
|
24
|
+
|
|
3
25
|
## 1.52.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
|
@@ -1596,7 +1596,7 @@ function CopilotKit({ children, ...props }) {
|
|
|
1596
1596
|
...props,
|
|
1597
1597
|
showDevConsole: showInspector,
|
|
1598
1598
|
renderCustomMessages: renderArr,
|
|
1599
|
-
useSingleEndpoint: true,
|
|
1599
|
+
useSingleEndpoint: props.useSingleEndpoint ?? true,
|
|
1600
1600
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CopilotKitInternal, {
|
|
1601
1601
|
...props,
|
|
1602
1602
|
children
|