@copilotkit/react-core 1.52.1-next.0 → 1.52.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 CHANGED
@@ -1,5 +1,31 @@
1
1
  # ui
2
2
 
3
+ ## 1.52.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
+
11
+ - Updated dependencies [bbdf67d]
12
+ - @copilotkitnext/react@1.52.1
13
+ - @copilotkit/runtime-client-gql@1.52.1
14
+ - @copilotkit/shared@1.52.1
15
+ - @copilotkitnext/core@1.52.1
16
+
17
+ ## 1.52.1-next.1
18
+
19
+ ### Patch Changes
20
+
21
+ - b555ac4: fix(react-core): allow overriding useSingleEndpoint in CopilotKit provider
22
+
23
+ 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.
24
+ - @copilotkit/runtime-client-gql@1.52.1-next.1
25
+ - @copilotkit/shared@1.52.1-next.1
26
+ - @copilotkitnext/core@1.52.1-next.1
27
+ - @copilotkitnext/react@1.52.1-next.1
28
+
3
29
  ## 1.52.1-next.0
4
30
 
5
31
  ### Patch 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