In 1.X we enum'd the state types so its more readable: https://github.com/Livefyre/streamhub-sdk/blob/v1/src/streams/livefyre-stream.js#L61-L65