Skip to content

Commit

Permalink
chore: version packages (#75)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Jul 12, 2022
1 parent 951cea7 commit 0991745
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
11 changes: 0 additions & 11 deletions .changeset/fair-ligers-move.md

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 5.1.0

### Minor Changes

- [#74](https://github.com/tivac/xstate-component-tree/pull/74) [`951cea7`](https://github.com/tivac/xstate-component-tree/commit/951cea77d3bdcced2ad6520d4bc6b6e62e7961f7) Thanks [@tivac](https://github.com/tivac)! - Adding `.can()` API from XState

The `.can()` API is a simple passthrough to the interpreter for the root statechart being managed by `xstate-component-tree`, and is intended as a convenience function to make it easier to interact with a ComponentTree instance instead of a direct XState Interpreter reference.

From the XState docs on `.can()`:

> Determines whether sending the event will cause a non-forbidden transition to be selected, even if the transitions have no actions nor change the state value.
## 5.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xstate-component-tree",
"version": "5.0.1",
"version": "5.1.0",
"description": "Build a tree of components based on statechart values",
"author": "Pat Cavit <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 0991745

Please sign in to comment.