Core Lucy compiler
This release contains a breaking change the JavaScript API. For cli users there are no breaking changes.
The return value of compileXstate
is now an object include two properties, { js, dts }
. The js
property being a string of JavaScript, and dts
being a string of TypeScript definitions.
Note that dts
is only populated if you provide the option: { dts: true }
.
This release adds support for targeting nested states in a transitions destination:
initial state idle {
fetch => fetching
machine idling {
initial state noError {}
state errored {}
}
}
state fetching {
reportError => idle.errored
}