You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor!: rename isLastEntryRendered prop into isLatestRenderedEntry (5540853)
refactor!: rename ComponentExtraProps into ComponentExtraPropsType & DefaultEntryMethodsType into InternalDefaultEntryMethodsType (5e915b6)
Features
add addNewEntryToHistory & sleepBeforeNextEntry to Chatbot's refMethods (002682b)
BREAKING CHANGES
Before this change, we could have race-conditions where the client asked the library to display multiple messages at once. The goal of this commit was to ensure that all setNewEntry() calls are now queued and processed one at a time. The breaking change here is that it's now the responsibility of the client to ensure that sleepBeforeNextEntry() is called before any subsequent call of setNewEntry().
The isLatestRenderedEntry renaming brings the prop naming structure in line with the existing ones.