@coaction/xstate 2.0.0 → 2.1.0
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.
- package/README.md +3 -5
- package/package.json +11 -6
package/README.md
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
# @coaction/xstate
|
|
2
2
|
|
|
3
|
-

|
|
4
|
-
[](https://www.npmjs.com/package/@coaction/xstate)
|
|
5
|
-

|
|
3
|
+
 [](https://www.npmjs.com/package/@coaction/xstate) 
|
|
6
4
|
|
|
7
5
|
A Coaction integration tool for XState.
|
|
8
6
|
|
|
9
7
|
## Installation
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
Install it with pnpm:
|
|
12
10
|
|
|
13
11
|
```sh
|
|
14
|
-
|
|
12
|
+
pnpm add coaction @coaction/xstate xstate
|
|
15
13
|
```
|
|
16
14
|
|
|
17
15
|
## Usage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coaction/xstate",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "A Coaction integration tool for XState",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"actor",
|
|
@@ -28,9 +28,14 @@
|
|
|
28
28
|
"types": "dist/index.d.ts",
|
|
29
29
|
"exports": {
|
|
30
30
|
".": {
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/index.d.mts",
|
|
33
|
+
"default": "./dist/index.mjs"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
|
+
"default": "./dist/index.js"
|
|
38
|
+
},
|
|
34
39
|
"default": "./dist/index.mjs"
|
|
35
40
|
},
|
|
36
41
|
"./package.json": "./package.json"
|
|
@@ -41,10 +46,10 @@
|
|
|
41
46
|
},
|
|
42
47
|
"devDependencies": {
|
|
43
48
|
"xstate": "^5.23.0",
|
|
44
|
-
"coaction": "2.
|
|
49
|
+
"coaction": "2.1.0"
|
|
45
50
|
},
|
|
46
51
|
"peerDependencies": {
|
|
47
|
-
"coaction": "
|
|
52
|
+
"coaction": ">=2.1.0 <3",
|
|
48
53
|
"xstate": "^5.0.0"
|
|
49
54
|
},
|
|
50
55
|
"authors": [
|