export const SOCKET_URL = 'wss://ws.onfido.com:9876'
export const SOCKET_URL_DEV = 'wss://document-check-staging.onfido.co.uk:9876'
export const XHR_URL = 'https://api.onfido.com'

export const DOCUMENT_CAPTURE = 'DOCUMENT_CAPTURE'
export const FACE_CAPTURE = 'FACE_CAPTURE'

export const SET_TOKEN = 'SET_TOKEN'
export const SET_AUTHENTICATED = 'SET_AUTHENTICATED'
export const SET_WEBSOCKET_SUPPORT = 'SET_WEBSOCKET_SUPPORT'
export const SET_WEBSOCKET_ERROR = 'SET_WEBSOCKET_ERROR'
export const SET_GUM_SUPPORT = 'SET_GUM_SUPPORT'
export const SET_DOCUMENT_CAPTURED = 'SET_DOCUMENT_CAPTURED'
export const SET_FACE_CAPTURED = 'SET_FACE_CAPTURED'
export const SET_DOCUMENT_TYPE = 'SET_DOCUMENT_TYPE'

export const CAPTURE_IS_VALID = 'CAPTURE_IS_VALID'

@@ -273,45 +273,8 @@
 E'%0A%0A
-export const SET_TOKEN = 'SET_TOKEN'%0A
 expo
@@ -515,24 +515,20 @@
 OCUMENT_
-CAPTURED
+TYPE
  = 'SET_
@@ -536,25 +536,22 @@
 OCUMENT_
-CAPTURED'
+TYPE'%0A
 %0Aexport 
@@ -560,101 +560,84 @@
 nst 
-SET_FACE_CAPTURED = 'SET_FACE_CAPTURED'%0Aexport const SET_DOCUMENT_TYPE = 'SET_DOCUMENT_TYPE'%0A
+CLEAR_DOCUMENTS = 'CLEAR_DOCUMENTS'%0Aexport const CLEAR_FACES = 'CLEAR_FACES'
 %0Aexp

Update constants for reducers