Calls for the people in your app: place, answer and manage phone and in-app calls from the browser, with React bindings.
| Package | What it is |
|---|---|
@sentdm/voice-client |
The web client: register, place and answer calls, audio devices, incoming-call alerts |
@sentdm/voice-client-react |
React bindings: a provider and hooks that re-render on call events |
@sentdm/voice-client-core |
The shared core of both: errors, events, tokens, telemetry. Internal to them, not for apps |
Read the Voice docs to get started.
This is a pnpm workspace. Packages build in dependency order (scripts/utils/packages), each one against
the built output of the ones before it.
./scripts/bootstrap # install
./scripts/test # build every package, then run the tests
./scripts/lint # prettier, eslint, types, Are The Types Wrong? and publintTo try a change in a browser, or a Sent API that isn't in production yet, run the browser phone: a one-page phone on these packages, built from source.
Releases are cut by release-please from main and published to npm from GitHub Actions.