Closed cuevaskoch closed 5 years ago
feat(voip): Support voip heartbeats
Added .customer().realTime().voip() heartbeat handler.
BREAKING CHANGE: now subscribes to callStates instead of callRequests
Updated to address changes in Track API.
Before:
api.customer('SYNC') .realTime() .callRequests() .on('update', callRequest => callRequest);
After:
api.customer('SYNC') .realTime() .callStates() .on('update', callState => callState);
Signed-off-by: Jeff Cuevas-Koch jeff@cuevaskoch.com
feat(voip): Support voip heartbeats
Added .customer().realTime().voip() heartbeat handler.
BREAKING CHANGE: now subscribes to callStates instead of callRequests
Updated to address changes in Track API.
Before:
api.customer('SYNC') .realTime() .callRequests() .on('update', callRequest => callRequest);
After:
api.customer('SYNC') .realTime() .callStates() .on('update', callState => callState);
Signed-off-by: Jeff Cuevas-Koch jeff@cuevaskoch.com