Skip to content

Commit

Permalink
Merge pull request #715 from amazon-connect/vpogudina-cleaning-old-barge
Browse files Browse the repository at this point in the history
Update api.js
  • Loading branch information
vpogudina authored Aug 7, 2023
2 parents b83bc02 + b4814e7 commit 98268d2
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 98268d2

Please sign in to comment.