- fix: ensure all delayed actions which match the condition are dispatched (#7)
- fix: moved change log to change log
- added Typescript types
- fix: updated documentation
- break: switched to using the redux middleware pattern instead of the redux enhancer pattern to simplify setup
- break: switched to using an action creator instead of an action
- break: renamed the
when
action creator toonce
and added a new action creator namedwhen
which dispatches the action every time the condition evaluates to true - break: changed the action name from
@when
to@redux-when/once
- break: no longer checking if the
when
condition is met instore.subscribe()
but when the action is dispatched using a middleware - break: added the
action
that caused the state to be updated as the second parameter of the condition - add: ability to
cancel()
delayed actions
- fix: #2