File tree Expand file tree Collapse file tree 9 files changed +78
-23
lines changed Expand file tree Collapse file tree 9 files changed +78
-23
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# haunted-robot
22
3+ ## 1.1.0
4+
5+ ### Minor Changes
6+
7+ - efbddbe: Typed event for send() in hooks
8+
9+ This adds the same typed event support for ` send() ` from hooks, for ex in React:
10+
11+ ``` ts
12+ const [state, send] = useMachine (machine );
13+
14+ send (" this-is-typed" );
15+ ```
16+
17+ ### Patch Changes
18+
19+ - Updated dependencies [ efbddbe]
20+ - robot-hooks@1.1.0
21+
322## 1.0.0
423
524### Patch Changes
Original file line number Diff line number Diff line change 11{
22 "name" : " haunted-robot" ,
3- "version" : " 1.0 .0" ,
3+ "version" : " 1.1 .0" ,
44 "description" : " Haunted hooks for Robot finite state machines" ,
55 "main" : " machine.js" ,
66 "module" : " machine.js" ,
3131 "robot3" : " ^1.0.0"
3232 },
3333 "dependencies" : {
34- "robot-hooks" : " ^1.0 .0"
34+ "robot-hooks" : " ^1.1 .0"
3535 },
3636 "devDependencies" : {
3737 "haunted" : " ^5.0.0" ,
Original file line number Diff line number Diff line change 11# preact-robot
22
3+ ## 1.1.0
4+
5+ ### Minor Changes
6+
7+ - efbddbe: Typed event for send() in hooks
8+
9+ This adds the same typed event support for ` send() ` from hooks, for ex in React:
10+
11+ ``` ts
12+ const [state, send] = useMachine (machine );
13+
14+ send (" this-is-typed" );
15+ ```
16+
17+ ### Patch Changes
18+
19+ - Updated dependencies [ efbddbe]
20+ - robot-hooks@1.1.0
21+
322## 1.0.0
423
524### Patch Changes
Original file line number Diff line number Diff line change 11{
22 "name" : " preact-robot" ,
3- "version" : " 1.0 .0" ,
3+ "version" : " 1.1 .0" ,
44 "description" : " Preact hooks for Robot finite state machines" ,
55 "main" : " dist/machine.js" ,
66 "module" : " machine.js" ,
3939 "robot3" : " ^1.0.0"
4040 },
4141 "dependencies" : {
42- "robot-hooks" : " ^1.0 .0" ,
42+ "robot-hooks" : " ^1.1 .0" ,
4343 "rollup" : " ^2.8.2"
4444 },
4545 "devDependencies" : {
Original file line number Diff line number Diff line change 11# react-robot
22
3+ ## 1.2.0
4+
5+ ### Minor Changes
6+
7+ - efbddbe: Typed event for send() in hooks
8+
9+ This adds the same typed event support for ` send() ` from hooks, for ex in React:
10+
11+ ``` ts
12+ const [state, send] = useMachine (machine );
13+
14+ send (" this-is-typed" );
15+ ```
16+
17+ ### Patch Changes
18+
19+ - Updated dependencies [ efbddbe]
20+ - robot-hooks@1.1.0
21+
322## 1.1.0
423
524### Minor Changes
Original file line number Diff line number Diff line change 11{
22 "name" : " react-robot" ,
3- "version" : " 1.1 .0" ,
3+ "version" : " 1.2 .0" ,
44 "description" : " React hooks for Robot finite state machines" ,
55 "main" : " machine.js" ,
66 "module" : " machine.js" ,
3131 "robot3" : " ^1.0.0"
3232 },
3333 "dependencies" : {
34- "robot-hooks" : " ^1.0 .0"
34+ "robot-hooks" : " ^1.1 .0"
3535 },
3636 "devDependencies" : {
3737 "react-dom" : " ^18.2.0" ,
Original file line number Diff line number Diff line change 11# robot-hooks
22
3+ ## 1.1.0
4+
5+ ### Minor Changes
6+
7+ - efbddbe: Typed event for send() in hooks
8+
9+ This adds the same typed event support for ` send() ` from hooks, for ex in React:
10+
11+ ``` ts
12+ const [state, send] = useMachine (machine );
13+
14+ send (" this-is-typed" );
15+ ```
16+
317## 1.0.1
418
519### Patch Changes
Original file line number Diff line number Diff line change 11{
22 "name" : " robot-hooks" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.1.0 " ,
44 "description" : " Hooks for use with Robot finite state machines" ,
55 "main" : " dist/machine.js" ,
66 "module" : " machine.js" ,
You can’t perform that action at this time.
0 commit comments