@jetthai/cuora 1.0.104 → 1.0.106
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 +4 -0
- package/package.json +1 -1
- package/src/machine/common.js +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.0.106](https://github.com/jetthai/cuora-module/compare/v1.0.105...v1.0.106) (2022-03-22)
|
|
6
|
+
|
|
7
|
+
### [1.0.105](https://github.com/jetthai/cuora-module/compare/v1.0.104...v1.0.105) (2022-03-22)
|
|
8
|
+
|
|
5
9
|
### [1.0.104](https://github.com/jetthai/cuora-module/compare/v1.0.103...v1.0.104) (2022-03-21)
|
|
6
10
|
|
|
7
11
|
### [1.0.103](https://github.com/jetthai/cuora-module/compare/v1.0.102...v1.0.103) (2022-03-17)
|
package/package.json
CHANGED
package/src/machine/common.js
CHANGED
|
@@ -111,6 +111,12 @@ export default function (request) {
|
|
|
111
111
|
},
|
|
112
112
|
},
|
|
113
113
|
},
|
|
114
|
+
on: {
|
|
115
|
+
RESET_BROADCAST: {
|
|
116
|
+
target: '.idle',
|
|
117
|
+
actions: 'resetBroadcast',
|
|
118
|
+
},
|
|
119
|
+
},
|
|
114
120
|
},
|
|
115
121
|
},
|
|
116
122
|
},
|
|
@@ -170,6 +176,12 @@ export default function (request) {
|
|
|
170
176
|
})
|
|
171
177
|
return { currentBroadcast: nextBroadcast, sentBroadcastList: sentList }
|
|
172
178
|
}),
|
|
179
|
+
resetBroadcast: assign((context, event) => {
|
|
180
|
+
return {
|
|
181
|
+
currentBroadcast: null,
|
|
182
|
+
sentBroadcastList: [],
|
|
183
|
+
}
|
|
184
|
+
}),
|
|
173
185
|
},
|
|
174
186
|
services: {
|
|
175
187
|
fetchSiteConfig: async (context, event) => {
|