Skip to main content

Using Race Javascript Client SDK

The Race Client SDK Contains several Classes for building rich Omni-channel experiences

RACE Client SDK can be installed as a Dependency of your Application using NPM

You should install Locally into each repo using:

npm install @ciptex/race-client-sdk@latest --save

You can also include it in your application using our CDN.

CDN

Releases of race-client-sdk.js are hosted on our CDN, and you can include these directly in your web app using a <script> tag.

<script src="https://cdn.ciptex.com/race-client-sdk/0.1.1/race-client-sdk.min.js"  crossorigin="anonymous" />

Using this method, race-client-sdk.js will set a browser global:

const Voice = RaceSDK.Voice;
const Video = RaceSDK.Video;
const Flexchat = RaceSDK.Webchat;
const Form = RaceSDK.Form;
const Sync = RaceSDK.Sync;
const VideoProcessor = RaceSDK.VideoProcessor;
ClassesUsage
VoiceThe Voice Class allows you to create WebRTC Voice Experiences from websites and applications powered by the Twilio Javascript Voice SDK.
VideoThe Video Class allows you to build rich video calling experiences directly from your website or web application to Ciptex Race all powered by the Twilio Video SDK.
Video ProcessorGives you the power of the Twilio Video Processor libraries automatically configured for Ciptex Race
WebchatProvides an easy to configure wrapper for Twilio Flex Webchat for building powerful webchat experiences
FormJavascript Forms powered by Ciptex Form UI with integrated routing to Ciptex Race
SyncControl availability of components in realtime with Twilio Sync. Full integrated into Ciptex Race for Activitiy Driven Customisation