Skip to content

Releases: evanrs/vapi-react

Release list

v0.1.2

Choose a tag to compare

@evanrs evanrs released this 07 Dec 17:19

v0.1.2

What's New

  • Expose vapi instance from hook - useVapiCall now exposes the underlying Vapi instance
  • Expose chat instance from hook - useVapiChat now exposes the underlying chat client

Installation

npm install github:evanrs/vapi-react#v0.1.2

What's Included

  • dist/ - Bundled ESM/CJS builds
  • es/ - Tree-shakeable ES modules with TypeScript declarations
  • src/ - TypeScript source files

v0.1.1

Choose a tag to compare

@evanrs evanrs released this 07 Dec 16:13

v0.1.1

This release includes pre-built artifacts for direct consumption via git tag.

Installation

npm install github:evanrs/vapi-react#v0.1.1

Or in package.json:

"@vapi-ai/client-sdk-react": "github:evanrs/vapi-react#v0.1.1"

What's Included

  • dist/ - Bundled ESM/CJS builds
  • es/ - Tree-shakeable ES modules with TypeScript declarations
  • src/ - TypeScript source files

Usage

// Bundled (default)
import { VapiWidget } from '@vapi-ai/client-sdk-react';

// ES modules (tree-shakeable)
import { VapiWidget } from '@vapi-ai/client-sdk-react/es';
import { useVapiCall } from '@vapi-ai/client-sdk-react/es/hooks';