Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 26 additions & 51 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@
"license": "",
"peerDependencies": {
"@vapi-ai/web": "^2.3.7",
"react": ">=16.8.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would break the backward compatibility with react 18

"react-dom": ">=16.8.0"
"react": ">=19.0.0",
"react-dom": ">=19.0.0"
},
"devDependencies": {
"@playwright/test": "^1.53.1",
"@types/node": "^24.0.6",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/react": "^19.0.6",
"@types/react-dom": "^19.0.3",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react": "^4.2.1",
Expand All @@ -90,8 +90,8 @@
"postcss": "^8.4.38",
"postcss-prefix-selector": "^2.1.1",
"prettier": "^3.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"serve": "^14.2.4",
"tailwindcss": "3.4.14",
"typescript": "^5.2.2",
Expand Down
4 changes: 2 additions & 2 deletions src/components/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export interface ChatControlsProps {
onSendMessage: () => void;
colors: ColorScheme;
styles: StyleConfig;
inputRef?: React.RefObject<HTMLInputElement>;
inputRef?: React.RefObject<HTMLInputElement | null>;
placeholder?: string;
}

Expand All @@ -213,6 +213,6 @@ export interface HybridControlsProps {
onToggleCall: () => void;
colors: ColorScheme;
styles: StyleConfig;
inputRef?: React.RefObject<HTMLInputElement>;
inputRef?: React.RefObject<HTMLInputElement | null>;
placeholder?: string;
}