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
feat(scene): Exit after enter callback if no path/branch added
Scene's without branches were leaving users infinitely engaged, unless manually exited because only
matching a branch will exit automatically. Now after the enter promise and callbacks are settled it
will check for existence of dialogue paths and exit the scene if none found. This required lots of
test and docs updates and a refactor of middleware.
Fixes#8. Breaks any code expecting scene.enter to resolve with a Dialogue. It will now resolve with
the full context and reject if middleware is interrupted.
fix(dialogue): Add tests to confirm and fix timeout bug
dialogue.startTimeout was not clearing existing timeout, but was no tests were failing so I added
some that would and resolved the issue.
fix(dialogue): Fix handling of async path match
Dialogue was performing checks on match resolution before the path had completed handlers and
updated the match state of response object.