jssm 5.70.34 → 5.71.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/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- 912 merges; 109 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)
5
+ 916 merges; 114 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md)
6
6
 
7
7
 
8
8
 
@@ -12,7 +12,7 @@ All notable changes to this project will be documented in this file.
12
12
 
13
13
  Published tags:
14
14
 
15
- <a href="#5__70__31">5.70.31</a>, <a href="#5__70__30">5.70.30</a>, <a href="#5__70__29">5.70.29</a>, <a href="#5__70__28">5.70.28</a>, <a href="#5__70__27">5.70.27</a>, <a href="#5__70__26">5.70.26</a>, <a href="#5__70__25">5.70.25</a>, <a href="#5__70__24">5.70.24</a>, <a href="#5__70__23">5.70.23</a>, <a href="#5__70__22">5.70.22</a>, <a href="#5__70__21">5.70.21</a>, <a href="#5__70__20">5.70.20</a>, <a href="#5__70__19">5.70.19</a>, <a href="#5__70__18">5.70.18</a>, <a href="#5__70__16">5.70.16</a>, <a href="#5__70__15">5.70.15</a>, <a href="#5__70__14">5.70.14</a>, <a href="#5__70__13">5.70.13</a>, <a href="#5__70__12">5.70.12</a>, <a href="#5__70__11">5.70.11</a>, <a href="#5__70__10">5.70.10</a>, <a href="#5__70__9">5.70.9</a>, <a href="#5__70__8">5.70.8</a>, <a href="#5__70__7">5.70.7</a>, <a href="#5__70__6">5.70.6</a>, <a href="#5__70__5">5.70.5</a>, <a href="#5__70__4">5.70.4</a>, <a href="#5__70__3">5.70.3</a>, <a href="#5__70__2">5.70.2</a>, <a href="#5__70__1">5.70.1</a>, <a href="#5__70__0">5.70.0</a>, <a href="#5__69__4">5.69.4</a>, <a href="#5__69__3">5.69.3</a>, <a href="#5__69__2">5.69.2</a>, <a href="#5__69__0">5.69.0</a>, <a href="#5__68__0">5.68.0</a>, <a href="#5__67__2">5.67.2</a>, <a href="#5__67__0">5.67.0</a>, <a href="#5__66__0">5.66.0</a>, <a href="#5__65__14">5.65.14</a>, <a href="#5__65__12">5.65.12</a>, <a href="#5__65__11">5.65.11</a>, <a href="#5__65__10">5.65.10</a>, <a href="#5__65__9">5.65.9</a>, <a href="#5__65__8">5.65.8</a>, <a href="#5__65__7">5.65.7</a>, <a href="#5__65__5">5.65.5</a>, <a href="#5__65__4">5.65.4</a>, <a href="#5__65__3">5.65.3</a>, <a href="#5__65__2">5.65.2</a>, <a href="#5__65__1">5.65.1</a>, <a href="#5__65__0">5.65.0</a>, <a href="#5__64__2">5.64.2</a>, <a href="#5__64__1">5.64.1</a>, <a href="#5__64__0">5.64.0</a>, <a href="#5__63__0">5.63.0</a>, <a href="#5__62__0">5.62.0</a>, <a href="#5__61__4">5.61.4</a>, <a href="#5__61__3">5.61.3</a>, <a href="#5__61__2">5.61.2</a>, <a href="#5__61__1">5.61.1</a>, <a href="#5__60__4">5.60.4</a>, <a href="#5__60__3">5.60.3</a>, <a href="#5__60__0">5.60.0</a>, <a href="#5__59__1">5.59.1</a>, <a href="#5__59__0">5.59.0</a>, <a href="#5__58__1">5.58.1</a>, <a href="#5__58__0">5.58.0</a>, <a href="#5__57__1">5.57.1</a>, <a href="#5__57__0">5.57.0</a>, <a href="#5__56__2">5.56.2</a>, <a href="#5__56__1">5.56.1</a>, <a href="#5__55__0">5.55.0</a>, <a href="#5__54__0">5.54.0</a>, <a href="#5__53__0">5.53.0</a>, <a href="#5__52__0">5.52.0</a>, <a href="#5__51__0">5.51.0</a>, <a href="#5__50__0">5.50.0</a>, <a href="#5__49__0">5.49.0</a>, <a href="#5__48__0">5.48.0</a>, <a href="#5__47__0">5.47.0</a>, <a href="#5__46__0">5.46.0</a>, <a href="#5__45__2">5.45.2</a>, <a href="#5__45__0">5.45.0</a>, <a href="#5__44__0">5.44.0</a>, <a href="#5__43__2">5.43.2</a>, <a href="#v5__42__0">v5.42.0</a>, <a href="#5__42__0">5.42.0</a>, <a href="#v5__41__15">v5.41.15</a>, <a href="#5__41__15">5.41.15</a>, <a href="#v5__41__14">v5.41.14</a>, <a href="#5__41__14">5.41.14</a>, <a href="#v5__41__12">v5.41.12</a>, <a href="#5__41__12">5.41.12</a>, <a href="#v5__41__10">v5.41.10</a>, <a href="#5__41__10">5.41.10</a>, <a href="#v5__41__9">v5.41.9</a>, <a href="#5__41__9">5.41.9</a>, <a href="#v5__41__8">v5.41.8</a>, <a href="#5__41__8">5.41.8</a>, <a href="#v5__41__7">v5.41.7</a>, <a href="#v5__41__2">v5.41.2</a>, <a href="#v5__41__1">v5.41.1</a>, <a href="#v5__32__14">v5.32.14</a>, <a href="#5__14__0">5.14.0</a>, <a href="#5__12__0">5.12.0</a>, <a href="#5__11__12">5.11.12</a>, <a href="#5__11__1">5.11.1</a>, <a href="#5__11__0">5.11.0</a>
15
+ <a href="#5__70__36">5.70.36</a>, <a href="#5__70__35">5.70.35</a>, <a href="#5__70__34">5.70.34</a>, <a href="#5__70__33">5.70.33</a>, <a href="#5__70__32">5.70.32</a>, <a href="#5__70__31">5.70.31</a>, <a href="#5__70__30">5.70.30</a>, <a href="#5__70__29">5.70.29</a>, <a href="#5__70__28">5.70.28</a>, <a href="#5__70__27">5.70.27</a>, <a href="#5__70__26">5.70.26</a>, <a href="#5__70__25">5.70.25</a>, <a href="#5__70__24">5.70.24</a>, <a href="#5__70__23">5.70.23</a>, <a href="#5__70__22">5.70.22</a>, <a href="#5__70__21">5.70.21</a>, <a href="#5__70__20">5.70.20</a>, <a href="#5__70__19">5.70.19</a>, <a href="#5__70__18">5.70.18</a>, <a href="#5__70__16">5.70.16</a>, <a href="#5__70__15">5.70.15</a>, <a href="#5__70__14">5.70.14</a>, <a href="#5__70__13">5.70.13</a>, <a href="#5__70__12">5.70.12</a>, <a href="#5__70__11">5.70.11</a>, <a href="#5__70__10">5.70.10</a>, <a href="#5__70__9">5.70.9</a>, <a href="#5__70__8">5.70.8</a>, <a href="#5__70__7">5.70.7</a>, <a href="#5__70__6">5.70.6</a>, <a href="#5__70__5">5.70.5</a>, <a href="#5__70__4">5.70.4</a>, <a href="#5__70__3">5.70.3</a>, <a href="#5__70__2">5.70.2</a>, <a href="#5__70__1">5.70.1</a>, <a href="#5__70__0">5.70.0</a>, <a href="#5__69__4">5.69.4</a>, <a href="#5__69__3">5.69.3</a>, <a href="#5__69__2">5.69.2</a>, <a href="#5__69__0">5.69.0</a>, <a href="#5__68__0">5.68.0</a>, <a href="#5__67__2">5.67.2</a>, <a href="#5__67__0">5.67.0</a>, <a href="#5__66__0">5.66.0</a>, <a href="#5__65__14">5.65.14</a>, <a href="#5__65__12">5.65.12</a>, <a href="#5__65__11">5.65.11</a>, <a href="#5__65__10">5.65.10</a>, <a href="#5__65__9">5.65.9</a>, <a href="#5__65__8">5.65.8</a>, <a href="#5__65__7">5.65.7</a>, <a href="#5__65__5">5.65.5</a>, <a href="#5__65__4">5.65.4</a>, <a href="#5__65__3">5.65.3</a>, <a href="#5__65__2">5.65.2</a>, <a href="#5__65__1">5.65.1</a>, <a href="#5__65__0">5.65.0</a>, <a href="#5__64__2">5.64.2</a>, <a href="#5__64__1">5.64.1</a>, <a href="#5__64__0">5.64.0</a>, <a href="#5__63__0">5.63.0</a>, <a href="#5__62__0">5.62.0</a>, <a href="#5__61__4">5.61.4</a>, <a href="#5__61__3">5.61.3</a>, <a href="#5__61__2">5.61.2</a>, <a href="#5__61__1">5.61.1</a>, <a href="#5__60__4">5.60.4</a>, <a href="#5__60__3">5.60.3</a>, <a href="#5__60__0">5.60.0</a>, <a href="#5__59__1">5.59.1</a>, <a href="#5__59__0">5.59.0</a>, <a href="#5__58__1">5.58.1</a>, <a href="#5__58__0">5.58.0</a>, <a href="#5__57__1">5.57.1</a>, <a href="#5__57__0">5.57.0</a>, <a href="#5__56__2">5.56.2</a>, <a href="#5__56__1">5.56.1</a>, <a href="#5__55__0">5.55.0</a>, <a href="#5__54__0">5.54.0</a>, <a href="#5__53__0">5.53.0</a>, <a href="#5__52__0">5.52.0</a>, <a href="#5__51__0">5.51.0</a>, <a href="#5__50__0">5.50.0</a>, <a href="#5__49__0">5.49.0</a>, <a href="#5__48__0">5.48.0</a>, <a href="#5__47__0">5.47.0</a>, <a href="#5__46__0">5.46.0</a>, <a href="#5__45__2">5.45.2</a>, <a href="#5__45__0">5.45.0</a>, <a href="#5__44__0">5.44.0</a>, <a href="#5__43__2">5.43.2</a>, <a href="#v5__42__0">v5.42.0</a>, <a href="#5__42__0">5.42.0</a>, <a href="#v5__41__15">v5.41.15</a>, <a href="#5__41__15">5.41.15</a>, <a href="#v5__41__14">v5.41.14</a>, <a href="#5__41__14">5.41.14</a>, <a href="#v5__41__12">v5.41.12</a>, <a href="#5__41__12">5.41.12</a>, <a href="#v5__41__10">v5.41.10</a>, <a href="#5__41__10">5.41.10</a>, <a href="#v5__41__9">v5.41.9</a>, <a href="#5__41__9">5.41.9</a>, <a href="#v5__41__8">v5.41.8</a>, <a href="#5__41__8">5.41.8</a>, <a href="#v5__41__7">v5.41.7</a>, <a href="#v5__41__2">v5.41.2</a>, <a href="#v5__41__1">v5.41.1</a>, <a href="#v5__32__14">v5.32.14</a>, <a href="#5__14__0">5.14.0</a>, <a href="#5__12__0">5.12.0</a>, <a href="#5__11__12">5.11.12</a>, <a href="#5__11__1">5.11.1</a>, <a href="#5__11__0">5.11.0</a>
16
16
 
17
17
 
18
18
 
@@ -22,13 +22,15 @@ Published tags:
22
22
 
23
23
  &nbsp;
24
24
 
25
- ## [Untagged] - 6/18/2022 8:57:42 PM
25
+ <a name="5__70__36" />
26
26
 
27
- Commit [ca254f455f2c19f21e77834e993c310e05272822](https://github.com/StoneCypher/jssm/commit/ca254f455f2c19f21e77834e993c310e05272822)
27
+ ## [5.70.36] - 6/21/2022 6:53:36 PM
28
+
29
+ Commit [093db23b719161e35e477cc0fe7d9f1132bc28b8](https://github.com/StoneCypher/jssm/commit/093db23b719161e35e477cc0fe7d9f1132bc28b8)
28
30
 
29
31
  Author: `John Haugeland <stonecypher@gmail.com>`
30
32
 
31
- * holy another facile build for triggering, batman
33
+ * Another trivial build - this one to cause chain publishment
32
34
 
33
35
 
34
36
 
@@ -37,13 +39,15 @@ Author: `John Haugeland <stonecypher@gmail.com>`
37
39
 
38
40
  &nbsp;
39
41
 
40
- ## [Untagged] - 6/18/2022 8:48:07 PM
42
+ <a name="5__70__35" />
41
43
 
42
- Commit [8115e8b62d8ac1cff3c7eb07afabced097f1be42](https://github.com/StoneCypher/jssm/commit/8115e8b62d8ac1cff3c7eb07afabced097f1be42)
44
+ ## [5.70.35] - 6/19/2022 10:56:41 AM
45
+
46
+ Commit [13ee9eb71ca9ab868699e535abf6ba30c8ad5829](https://github.com/StoneCypher/jssm/commit/13ee9eb71ca9ab868699e535abf6ba30c8ad5829)
43
47
 
44
48
  Author: `John Haugeland <stonecypher@gmail.com>`
45
49
 
46
- * yet another small commit as a trigger, this time to get the extended diff
50
+ * new trigger with replaced token - this time with a bump
47
51
 
48
52
 
49
53
 
@@ -52,15 +56,13 @@ Author: `John Haugeland <stonecypher@gmail.com>`
52
56
 
53
57
  &nbsp;
54
58
 
55
- <a name="5__70__31" />
59
+ ## [Untagged] - 6/19/2022 10:37:04 AM
56
60
 
57
- ## [5.70.31] - 6/18/2022 8:00:06 PM
58
-
59
- Commit [de3d8a105aa85045a9f19ed46b4b3c5e5fb1e235](https://github.com/StoneCypher/jssm/commit/de3d8a105aa85045a9f19ed46b4b3c5e5fb1e235)
61
+ Commit [b3e69d9745b92d845bedcfbc08f342997137af3d](https://github.com/StoneCypher/jssm/commit/b3e69d9745b92d845bedcfbc08f342997137af3d)
60
62
 
61
63
  Author: `John Haugeland <stonecypher@gmail.com>`
62
64
 
63
- * another small commit as a trigger, this time to get the diff
65
+ * new trigger with replaced token
64
66
 
65
67
 
66
68
 
@@ -69,15 +71,15 @@ Author: `John Haugeland <stonecypher@gmail.com>`
69
71
 
70
72
  &nbsp;
71
73
 
72
- <a name="5__70__30" />
74
+ <a name="5__70__34" />
73
75
 
74
- ## [5.70.30] - 6/18/2022 10:54:02 AM
76
+ ## [5.70.34] - 6/18/2022 9:40:31 PM
75
77
 
76
- Commit [3211f94bb943a63ae07f202eb168916d73f94f90](https://github.com/StoneCypher/jssm/commit/3211f94bb943a63ae07f202eb168916d73f94f90)
78
+ Commit [a0f295f060c7f08a8b10b2208dd1c95dc7f3c97a](https://github.com/StoneCypher/jssm/commit/a0f295f060c7f08a8b10b2208dd1c95dc7f3c97a)
77
79
 
78
80
  Author: `John Haugeland <stonecypher@gmail.com>`
79
81
 
80
- * missing closing div tag was breaking examples page
82
+ * another trigger commit with mild doc extension
81
83
 
82
84
 
83
85
 
@@ -86,15 +88,15 @@ Author: `John Haugeland <stonecypher@gmail.com>`
86
88
 
87
89
  &nbsp;
88
90
 
89
- <a name="5__70__29" />
91
+ <a name="5__70__33" />
90
92
 
91
- ## [5.70.29] - 6/18/2022 8:40:30 AM
93
+ ## [5.70.33] - 6/18/2022 8:57:42 PM
92
94
 
93
- Commit [7373cfa90383dc2adbe0649be86cb89bef1c0518](https://github.com/StoneCypher/jssm/commit/7373cfa90383dc2adbe0649be86cb89bef1c0518)
95
+ Commit [ca254f455f2c19f21e77834e993c310e05272822](https://github.com/StoneCypher/jssm/commit/ca254f455f2c19f21e77834e993c310e05272822)
94
96
 
95
97
  Author: `John Haugeland <stonecypher@gmail.com>`
96
98
 
97
- * One more build to trigger remote.
99
+ * holy another facile build for triggering, batman
98
100
 
99
101
 
100
102
 
@@ -103,15 +105,15 @@ Author: `John Haugeland <stonecypher@gmail.com>`
103
105
 
104
106
  &nbsp;
105
107
 
106
- <a name="5__70__28" />
108
+ <a name="5__70__32" />
107
109
 
108
- ## [5.70.28] - 6/18/2022 8:21:21 AM
110
+ ## [5.70.32] - 6/18/2022 8:48:07 PM
109
111
 
110
- Commit [9a95a6b865b1d517859c45f0b525bbebed6af5e3](https://github.com/StoneCypher/jssm/commit/9a95a6b865b1d517859c45f0b525bbebed6af5e3)
112
+ Commit [8115e8b62d8ac1cff3c7eb07afabced097f1be42](https://github.com/StoneCypher/jssm/commit/8115e8b62d8ac1cff3c7eb07afabced097f1be42)
111
113
 
112
114
  Author: `John Haugeland <stonecypher@gmail.com>`
113
115
 
114
- * Believed to be final triggering build
116
+ * yet another small commit as a trigger, this time to get the extended diff
115
117
 
116
118
 
117
119
 
@@ -120,15 +122,15 @@ Author: `John Haugeland <stonecypher@gmail.com>`
120
122
 
121
123
  &nbsp;
122
124
 
123
- <a name="5__70__27" />
125
+ <a name="5__70__31" />
124
126
 
125
- ## [5.70.27] - 6/18/2022 8:05:30 AM
127
+ ## [5.70.31] - 6/18/2022 8:00:06 PM
126
128
 
127
- Commit [5cb795f450f141c3f743b6583d7a22495e945864](https://github.com/StoneCypher/jssm/commit/5cb795f450f141c3f743b6583d7a22495e945864)
129
+ Commit [de3d8a105aa85045a9f19ed46b4b3c5e5fb1e235](https://github.com/StoneCypher/jssm/commit/de3d8a105aa85045a9f19ed46b4b3c5e5fb1e235)
128
130
 
129
131
  Author: `John Haugeland <stonecypher@gmail.com>`
130
132
 
131
- * one more facile doc commit to trigger a remote build, maybe there, definitely close
133
+ * another small commit as a trigger, this time to get the diff
132
134
 
133
135
 
134
136
 
@@ -137,15 +139,15 @@ Author: `John Haugeland <stonecypher@gmail.com>`
137
139
 
138
140
  &nbsp;
139
141
 
140
- <a name="5__70__26" />
142
+ <a name="5__70__30" />
141
143
 
142
- ## [5.70.26] - 6/18/2022 12:30:33 AM
144
+ ## [5.70.30] - 6/18/2022 10:54:02 AM
143
145
 
144
- Commit [58ae08abf0b5f62c375a93a15397d026aa427067](https://github.com/StoneCypher/jssm/commit/58ae08abf0b5f62c375a93a15397d026aa427067)
146
+ Commit [3211f94bb943a63ae07f202eb168916d73f94f90](https://github.com/StoneCypher/jssm/commit/3211f94bb943a63ae07f202eb168916d73f94f90)
145
147
 
146
148
  Author: `John Haugeland <stonecypher@gmail.com>`
147
149
 
148
- * still yet another facile doc commit to trigger a build
150
+ * missing closing div tag was breaking examples page
149
151
 
150
152
 
151
153
 
@@ -154,15 +156,15 @@ Author: `John Haugeland <stonecypher@gmail.com>`
154
156
 
155
157
  &nbsp;
156
158
 
157
- <a name="5__70__25" />
159
+ <a name="5__70__29" />
158
160
 
159
- ## [5.70.25] - 6/18/2022 12:13:48 AM
161
+ ## [5.70.29] - 6/18/2022 8:40:30 AM
160
162
 
161
- Commit [cbf80320d60307321deeb1ee6c69c99eda0396f4](https://github.com/StoneCypher/jssm/commit/cbf80320d60307321deeb1ee6c69c99eda0396f4)
163
+ Commit [7373cfa90383dc2adbe0649be86cb89bef1c0518](https://github.com/StoneCypher/jssm/commit/7373cfa90383dc2adbe0649be86cb89bef1c0518)
162
164
 
163
165
  Author: `John Haugeland <stonecypher@gmail.com>`
164
166
 
165
- * still another facile doc commit to trigger a build
167
+ * One more build to trigger remote.
166
168
 
167
169
 
168
170
 
@@ -171,12 +173,12 @@ Author: `John Haugeland <stonecypher@gmail.com>`
171
173
 
172
174
  &nbsp;
173
175
 
174
- <a name="5__70__24" />
176
+ <a name="5__70__28" />
175
177
 
176
- ## [5.70.24] - 6/17/2022 11:59:55 PM
178
+ ## [5.70.28] - 6/18/2022 8:21:21 AM
177
179
 
178
- Commit [aa94a8998f4e3c06b6dea36af21e6184368db0cd](https://github.com/StoneCypher/jssm/commit/aa94a8998f4e3c06b6dea36af21e6184368db0cd)
180
+ Commit [9a95a6b865b1d517859c45f0b525bbebed6af5e3](https://github.com/StoneCypher/jssm/commit/9a95a6b865b1d517859c45f0b525bbebed6af5e3)
179
181
 
180
182
  Author: `John Haugeland <stonecypher@gmail.com>`
181
183
 
182
- * yet another remote build aligned push
184
+ * Believed to be final triggering build
package/dist/es6/jssm.js CHANGED
@@ -1287,7 +1287,7 @@ class Machine {
1287
1287
  transition_impl(newStateOrAction, newData, wasForced, wasAction) {
1288
1288
  // TODO the forced-ness behavior needs to be cleaned up a lot here
1289
1289
  // TODO all the callbacks are wrong on forced, action, etc
1290
- let valid = false, trans_type, newState;
1290
+ let valid = false, trans_type, newState, fromAction = undefined;
1291
1291
  if (wasForced) {
1292
1292
  if (this.valid_force_transition(newStateOrAction, newData)) {
1293
1293
  valid = true;
@@ -1301,6 +1301,7 @@ class Machine {
1301
1301
  valid = true;
1302
1302
  trans_type = edge.kind;
1303
1303
  newState = edge.to;
1304
+ fromAction = newStateOrAction;
1304
1305
  }
1305
1306
  }
1306
1307
  else {
@@ -1316,24 +1317,25 @@ class Machine {
1316
1317
  // todo major incomplete whargarbl comeback
1317
1318
  if (valid) {
1318
1319
  if (this._has_hooks) {
1320
+ const hook_args = { action: fromAction, from: this._state, to: newState, forced: wasForced };
1319
1321
  if (wasAction) {
1320
1322
  // 1. any action hook
1321
1323
  if (this._any_action_hook !== undefined) {
1322
- if (this._any_action_hook() === false) {
1324
+ if (this._any_action_hook(hook_args) === false) {
1323
1325
  return false;
1324
1326
  }
1325
1327
  }
1326
1328
  // 2. global specific action hook
1327
1329
  const maybe_ga_hook = this._global_action_hooks.get(newStateOrAction);
1328
1330
  if (maybe_ga_hook !== undefined) {
1329
- if (maybe_ga_hook({ action: newStateOrAction, forced: wasForced }) === false) {
1331
+ if (maybe_ga_hook(hook_args) === false) {
1330
1332
  return false;
1331
1333
  }
1332
1334
  }
1333
1335
  }
1334
1336
  // 3. any transition hook
1335
1337
  if (this._any_transition_hook !== undefined) {
1336
- if (this._any_transition_hook() === false) {
1338
+ if (this._any_transition_hook(hook_args) === false) {
1337
1339
  return false;
1338
1340
  }
1339
1341
  }
@@ -1341,7 +1343,7 @@ class Machine {
1341
1343
  if (this._has_exit_hooks) {
1342
1344
  const maybe_ex_hook = this._exit_hooks.get(this._state);
1343
1345
  if (maybe_ex_hook !== undefined) {
1344
- if (maybe_ex_hook({ from: this._state, forced: wasForced }) === false) {
1346
+ if (maybe_ex_hook(hook_args) === false) {
1345
1347
  return false;
1346
1348
  }
1347
1349
  }
@@ -1351,7 +1353,7 @@ class Machine {
1351
1353
  if (wasAction) {
1352
1354
  const nhn = named_hook_name(this._state, newState, newStateOrAction), n_maybe_hook = this._named_hooks.get(nhn);
1353
1355
  if (n_maybe_hook !== undefined) {
1354
- if (n_maybe_hook({ from: this._state, to: newState, action: newStateOrAction }) === false) {
1356
+ if (n_maybe_hook(hook_args) === false) {
1355
1357
  return false;
1356
1358
  }
1357
1359
  }
@@ -1361,7 +1363,7 @@ class Machine {
1361
1363
  if (this._has_basic_hooks) {
1362
1364
  const hn = hook_name(this._state, newState), maybe_hook = this._hooks.get(hn);
1363
1365
  if (maybe_hook !== undefined) {
1364
- if (maybe_hook({ from: this._state, to: newState, forced: wasForced, action: wasAction ? newStateOrAction : undefined }) === false) {
1366
+ if (maybe_hook(hook_args) === false) {
1365
1367
  return false;
1366
1368
  }
1367
1369
  }
@@ -1372,7 +1374,7 @@ class Machine {
1372
1374
  if (this._standard_transition_hook !== undefined) {
1373
1375
  // todo handle actions
1374
1376
  // todo handle forced
1375
- if (this._standard_transition_hook({ from: this._state, to: newState }) === false) {
1377
+ if (this._standard_transition_hook(hook_args) === false) {
1376
1378
  return false;
1377
1379
  }
1378
1380
  }
@@ -1382,7 +1384,7 @@ class Machine {
1382
1384
  if (this._main_transition_hook !== undefined) {
1383
1385
  // todo handle actions
1384
1386
  // todo handle forced
1385
- if (this._main_transition_hook({ from: this._state, to: newState }) === false) {
1387
+ if (this._main_transition_hook(hook_args) === false) {
1386
1388
  return false;
1387
1389
  }
1388
1390
  }
@@ -1392,7 +1394,7 @@ class Machine {
1392
1394
  if (this._forced_transition_hook !== undefined) {
1393
1395
  // todo handle actions
1394
1396
  // todo handle forced
1395
- if (this._forced_transition_hook({ from: this._state, to: newState }) === false) {
1397
+ if (this._forced_transition_hook(hook_args) === false) {
1396
1398
  return false;
1397
1399
  }
1398
1400
  }
@@ -1401,7 +1403,7 @@ class Machine {
1401
1403
  if (this._has_entry_hooks) {
1402
1404
  const maybe_en_hook = this._entry_hooks.get(newState);
1403
1405
  if (maybe_en_hook !== undefined) {
1404
- if (maybe_en_hook({ to: newState, forced: wasForced }) === false) {
1406
+ if (maybe_en_hook(hook_args) === false) {
1405
1407
  return false;
1406
1408
  }
1407
1409
  }
@@ -1,2 +1,2 @@
1
- const version = "5.70.34";
1
+ const version = "5.71.0";
2
2
  export { version };