@koordinates/xstate-tree 4.6.4 → 4.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -865,7 +865,7 @@ export declare type ViewProps<TSelectors, TActions, TSlots extends readonly Slot
865
865
  * @param view - the React view you want to invoke in an xstate machine
866
866
  * @returns The view wrapped into an xstate-tree machine, ready to be invoked by other xstate machines or used with `buildRootComponent`
867
867
  */
868
- export declare function viewToMachine(view: () => JSX.Element): AnyXstateTreeMachine;
868
+ export declare function viewToMachine(view: (args?: any) => JSX.Element | null): AnyXstateTreeMachine;
869
869
 
870
870
  /**
871
871
  * @public
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@koordinates/xstate-tree",
3
3
  "main": "lib/index.js",
4
4
  "types": "lib/xstate-tree.d.ts",
5
- "version": "4.6.4",
5
+ "version": "4.6.5",
6
6
  "license": "MIT",
7
7
  "description": "Build UIs with Actors using xstate and React",
8
8
  "keywords": [