Skip to content

Commit

Permalink
Update api.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vpogudina authored Aug 7, 2023
1 parent b01da7b commit b4814e7
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,24 +82,18 @@
'connecting',
'connected',
'hold',
'disconnected',
'silent_monitor',
'barge'
'disconnected'
]);
connect.ConnectionStatusType = connect.ConnectionStateType;

connect.CONNECTION_ACTIVE_STATES = connect.set([
connect.ConnectionStateType.CONNECTING,
connect.ConnectionStateType.CONNECTED,
connect.ConnectionStateType.HOLD,
connect.ConnectionStateType.SILENT_MONITOR,
connect.ConnectionStateType.BARGE
connect.ConnectionStateType.HOLD
]);

connect.CONNECTION_CONNECTED_STATES = connect.set([
connect.ConnectionStateType.CONNECTED,
connect.ConnectionStateType.SILENT_MONITOR,
connect.ConnectionStateType.BARGE
connect.ConnectionStateType.CONNECTED
]);

/*----------------------------------------------------------------
Expand Down

0 comments on commit b4814e7

Please sign in to comment.