v2.0.0-beta.11
Added:
- Added a new
useFlow
hook that grants access to retrieving and restarting the conversation flows - The
hasFlowStarted
boolean which was previously found inuseFirstInteraction
has been moved touseFlow
for better consistency
Fixed:
- Fixed an issue where states were not updated in conversation flow
Note:
There have been confusions surrounding the use of ChatBotProvider
such as what props it should be given if used. To reduce the mental load on developers, all props are now centralized to only ChatBot
, regardless of whether you are using ChatBotProvider
or not.
There is no functionality change and developers can now just remember that ChatBot
is what accepts all props. With that said, if you're currently passing props to ChatBotProvider
, move them all to ChatBot
instead.