It looks like there are breaking changes between 1.0.2 and 1.0.4. The breaking changes seem to be around the removing DualStateEntityDefinition and MutableDualStateEntityTreeNode.
To help people update version is would be good to have a documentation noting breaking changes and alternatives if ones exist.