Skip to content

Commit 44775e0

Browse files
Version Packages (#68)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent a8aa4ac commit 44775e0

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.changeset/honest-singers-do.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 4.2.0
4+
5+
### Minor Changes
6+
7+
- [#67](https://github.com/tivac/xstate-component-tree/pull/67) [`a8aa4ac`](https://github.com/tivac/xstate-component-tree/commit/a8aa4acd4f6c6aa1049f5e9307e297f915da40be) Thanks [@tivac](https://github.com/tivac)! - Added `.send()` API
8+
9+
The `.send()` 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.
10+
11+
[XState Docs on .send()](https://xstate.js.org/docs/guides/interpretation.html#sending-events)
12+
313
## 4.1.1
414

515
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xstate-component-tree",
3-
"version": "4.1.1",
3+
"version": "4.2.0",
44
"description": "Build a tree of components based on statechart values",
55
"author": "Pat Cavit <[email protected]>",
66
"license": "MIT",

0 commit comments

Comments
 (0)