@stonecrop/node-editor 0.4.27 → 0.4.29

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.
@@ -1,4 +1,4 @@
1
- import type { AnyStateMachine } from 'xstate';
1
+ import type { AnyStateNodeConfig } from 'xstate';
2
2
  import type { AnyStateNodeDefinition } from 'xstate';
3
3
  import { App } from 'vue';
4
4
  import { Element as Element_2 } from '@vue-flow/core';
@@ -6,7 +6,6 @@ import { Elements } from '@vue-flow/core';
6
6
  import NodeEditor from './components/NodeEditor.vue';
7
7
  import { Position } from '@vue-flow/core';
8
8
  import StateEditor from './components/StateEditor.vue';
9
- import type { StatesConfig } from 'xstate';
10
9
  import { XYPosition } from '@vue-flow/core';
11
10
 
12
11
  /**
@@ -14,7 +13,7 @@ import { XYPosition } from '@vue-flow/core';
14
13
  * @public
15
14
  */
16
15
  export declare type EditorStates = {
17
- [key: string]: AnyStateMachine | AnyStateNodeDefinition | StatesConfig<any, any, any>;
16
+ [key: string]: AnyStateNodeDefinition | AnyStateNodeConfig['states'];
18
17
  };
19
18
 
20
19
  /**