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
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,20 @@ jobs:
compile:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
# Minimum supported version (see engines in package.json) and current LTS
node-version: ['22.14.0', '24']

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Set up node
uses: actions/setup-node@v4
with:
node-version: 22
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm ci
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ You can install the package via npm:
npm install @vapi-ai/web
```

### Requirements

Installing the package requires Node.js `>=22.14.0` (inherited from `@daily-co/daily-js`). The SDK itself runs in the browser.

If you can't upgrade Node yet, stay on the 2.x line: `npm install @vapi-ai/web@^2`.

## Usage

First, import the Vapi class from the package:
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vapi-ai/web",
"version": "2.7.1",
"version": "3.0.0",
"description": "",
"main": "dist/vapi.js",
"types": "dist/vapi.d.ts",
Expand Down Expand Up @@ -28,10 +28,10 @@
},
"homepage": "https://github.com/VapiAI/client-sdk-web#readme",
"engines": {
"node": ">=18.0.0"
"node": ">=22.14.0"
},
"dependencies": {
"@daily-co/daily-js": "^0.87.0",
"@daily-co/daily-js": "^0.93.0",
"events": "^3.3.0"
},
"devDependencies": {
Expand Down