@jetthai/cuora 1.0.141-1 → 1.0.141-2
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/auth.js +8 -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.141-2](https://github.com/jetthai/cuora-module/compare/v1.0.141-1...v1.0.141-2) (2022-07-19)
|
|
6
|
+
|
|
5
7
|
### [1.0.141-1](https://github.com/jetthai/cuora-module/compare/v1.0.140-2...v1.0.141-1) (2022-07-17)
|
|
6
8
|
|
|
7
9
|
### [1.0.141](https://github.com/jetthai/cuora-module/compare/v1.0.140-1...v1.0.141) (2022-07-05)
|
package/package.json
CHANGED
package/src/machine/auth.js
CHANGED
|
@@ -178,6 +178,9 @@ export default function (request) {
|
|
|
178
178
|
LOGIN_3PARTY: {
|
|
179
179
|
actions: 'redirectTo3Party',
|
|
180
180
|
},
|
|
181
|
+
SET_PLAY: {
|
|
182
|
+
actions: 'setPlay',
|
|
183
|
+
},
|
|
181
184
|
},
|
|
182
185
|
},
|
|
183
186
|
{
|
|
@@ -305,6 +308,11 @@ export default function (request) {
|
|
|
305
308
|
userInfo: event.data,
|
|
306
309
|
}
|
|
307
310
|
}),
|
|
311
|
+
setPlay: assign((context, event) => {
|
|
312
|
+
return {
|
|
313
|
+
isPlaying: event.data,
|
|
314
|
+
}
|
|
315
|
+
}),
|
|
308
316
|
},
|
|
309
317
|
services: {
|
|
310
318
|
authenticate: async (context, event) => {
|