teodor-new-chat-ui 4.3.20 → 4.3.21

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.
@@ -335,6 +335,11 @@ export interface StreamContextValue {
335
335
  isStreaming: boolean;
336
336
  error: string | null;
337
337
  submit: (payload: StreamSubmitPayload, options?: SendOptions) => Promise<void>;
338
+ /**
339
+ * @deprecated Prefer `submit`; retained for backwards compatibility while
340
+ * hosts migrate to the unified helper.
341
+ */
342
+ send?: (payload: StreamSubmitPayload, options?: SendOptions) => Promise<void>;
338
343
  stop: () => void;
339
344
  setAuthToken: (token: string | null) => void;
340
345
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teodor-new-chat-ui",
3
- "version": "4.3.20",
3
+ "version": "4.3.21",
4
4
  "description": "React chat UI components with streaming support, tool calls, and modern design",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.esm.js",