Options
All
  • Public
  • Public/Protected
  • All
Menu

zipari-cx

Zipari CX Caller Library

Development

Build the library with npm run build and view the dist folder to see the output. Publish the library by updating the package.json version and running npm publish. All models for this library should adhere to documentation made publically available at https://cx-engine.readme.io/reference. (you must use provided password)

Error handling

The library should swallow all errors, but can log them to console. This is to preserve working functionality for any application that uses this library, regardless how badly things might break. Keep this in mind when making any changes. Note that an error can, and for required information should prevent a call from being made, but should not block future calls.

How this library works

This library exports a JS Class which you instantiate and provide a config and initial data to. For detailed usage, view docs/index.html and search for CxCaller.

This class will handle all interactions with CX capture. It also provides you with exported typescript classes to manage some of the required inputs. For detailed usage, view docs/index.html and click on cx_constants under externals.