@jetthai/cuora 1.0.104 → 1.0.105
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 +2 -0
- package/package.json +1 -1
- package/src/machine/common.js +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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.105](https://github.com/jetthai/cuora-module/compare/v1.0.104...v1.0.105) (2022-03-22)
|
|
6
|
+
|
|
5
7
|
### [1.0.104](https://github.com/jetthai/cuora-module/compare/v1.0.103...v1.0.104) (2022-03-21)
|
|
6
8
|
|
|
7
9
|
### [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,11 @@ export default function (request) {
|
|
|
111
111
|
},
|
|
112
112
|
},
|
|
113
113
|
},
|
|
114
|
+
on: {
|
|
115
|
+
RESET_BROADCAST: {
|
|
116
|
+
actions: 'resetBroadcast',
|
|
117
|
+
},
|
|
118
|
+
},
|
|
114
119
|
},
|
|
115
120
|
},
|
|
116
121
|
},
|
|
@@ -170,6 +175,11 @@ export default function (request) {
|
|
|
170
175
|
})
|
|
171
176
|
return { currentBroadcast: nextBroadcast, sentBroadcastList: sentList }
|
|
172
177
|
}),
|
|
178
|
+
resetBroadcast: assign((context, event) => {
|
|
179
|
+
return {
|
|
180
|
+
sentBroadcastList: [],
|
|
181
|
+
}
|
|
182
|
+
}),
|
|
173
183
|
},
|
|
174
184
|
services: {
|
|
175
185
|
fetchSiteConfig: async (context, event) => {
|