@jetthai/cuora 1.1.353-dev-8 → 1.1.353-dev-9
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,6 +2,26 @@
|
|
|
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.1.353-dev-9](https://github.com/jetthai/cuora-module/compare/v1.1.353-data-1...v1.1.353-dev-9) (2025-04-16)
|
|
6
|
+
|
|
7
|
+
### [1.1.353-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.353-dev-7...v1.1.353-dev-8) (2025-04-15)
|
|
8
|
+
|
|
9
|
+
### [1.1.353-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.353-dev-6...v1.1.353-dev-7) (2025-04-14)
|
|
10
|
+
|
|
11
|
+
### [1.1.353-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.353-dev-5...v1.1.353-dev-6) (2025-04-14)
|
|
12
|
+
|
|
13
|
+
### [1.1.353-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.353-dev-4...v1.1.353-dev-5) (2025-04-14)
|
|
14
|
+
|
|
15
|
+
### [1.1.353-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.353-dev-3...v1.1.353-dev-4) (2025-04-14)
|
|
16
|
+
|
|
17
|
+
### [1.1.353-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.353-dev-2...v1.1.353-dev-3) (2025-04-11)
|
|
18
|
+
|
|
19
|
+
### [1.1.353-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.353-dev-1...v1.1.353-dev-2) (2025-04-11)
|
|
20
|
+
|
|
21
|
+
### [1.1.353-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.346-wallet-1...v1.1.353-dev-1) (2025-04-11)
|
|
22
|
+
|
|
23
|
+
### [1.1.346-wallet-1](https://github.com/jetthai/cuora-module/compare/v1.1.353...v1.1.346-wallet-1) (2025-04-10)
|
|
24
|
+
|
|
5
25
|
### [1.1.353-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.353-dev-7...v1.1.353-dev-8) (2025-04-15)
|
|
6
26
|
|
|
7
27
|
### [1.1.353-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.353-dev-6...v1.1.353-dev-7) (2025-04-14)
|
package/package.json
CHANGED
|
@@ -77,10 +77,6 @@ export default function (request) {
|
|
|
77
77
|
SET_UNREAD: {
|
|
78
78
|
actions: 'setUnread',
|
|
79
79
|
},
|
|
80
|
-
REFRESH: {
|
|
81
|
-
target: '#activity.fetchingList',
|
|
82
|
-
actions: 'leaveGame',
|
|
83
|
-
},
|
|
84
80
|
RESET_ACTIVITIES: {
|
|
85
81
|
actions: 'resetActivities',
|
|
86
82
|
},
|
|
@@ -89,6 +85,12 @@ export default function (request) {
|
|
|
89
85
|
},
|
|
90
86
|
},
|
|
91
87
|
},
|
|
88
|
+
on: {
|
|
89
|
+
REFRESH: {
|
|
90
|
+
target: '#activity.fetchingList',
|
|
91
|
+
actions: 'leaveGame',
|
|
92
|
+
},
|
|
93
|
+
},
|
|
92
94
|
},
|
|
93
95
|
{
|
|
94
96
|
actions: {
|
package/src/machine/common.js
CHANGED
package/src/machine/game_v2_1.js
CHANGED
|
@@ -205,9 +205,6 @@ export default function (request) {
|
|
|
205
205
|
ENTER_GAME_PAUSE: {
|
|
206
206
|
actions: ['setIsPlaying', 'resetContent', 'resetSHA'],
|
|
207
207
|
},
|
|
208
|
-
LEAVE_GAME_REFRESH: {
|
|
209
|
-
actions: 'setIsPlaying',
|
|
210
|
-
},
|
|
211
208
|
},
|
|
212
209
|
},
|
|
213
210
|
refreshing: {
|
|
@@ -243,9 +240,6 @@ export default function (request) {
|
|
|
243
240
|
},
|
|
244
241
|
},
|
|
245
242
|
on: {
|
|
246
|
-
LEAVE_GAME_REFRESH: {
|
|
247
|
-
actions: 'setIsPlaying',
|
|
248
|
-
},
|
|
249
243
|
LOAD: {
|
|
250
244
|
target: 'routing',
|
|
251
245
|
actions: 'setLoadable',
|
|
@@ -292,6 +286,11 @@ export default function (request) {
|
|
|
292
286
|
},
|
|
293
287
|
},
|
|
294
288
|
},
|
|
289
|
+
on: {
|
|
290
|
+
LEAVE_GAME_REFRESH: {
|
|
291
|
+
actions: 'setIsPlaying',
|
|
292
|
+
},
|
|
293
|
+
},
|
|
295
294
|
},
|
|
296
295
|
{
|
|
297
296
|
actions: {
|
|
@@ -40,14 +40,7 @@ export default function (request) {
|
|
|
40
40
|
broadcast: {
|
|
41
41
|
initial: 'idle',
|
|
42
42
|
states: {
|
|
43
|
-
idle: {
|
|
44
|
-
on: {
|
|
45
|
-
START_BROADCAST: {
|
|
46
|
-
target: 'picking',
|
|
47
|
-
actions: 'leaveGame',
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
},
|
|
43
|
+
idle: {},
|
|
51
44
|
picking: {
|
|
52
45
|
after: {
|
|
53
46
|
5000: {
|
|
@@ -69,6 +62,10 @@ export default function (request) {
|
|
|
69
62
|
target: '.idle',
|
|
70
63
|
actions: 'resetBroadcast',
|
|
71
64
|
},
|
|
65
|
+
START_BROADCAST: {
|
|
66
|
+
target: '.picking',
|
|
67
|
+
actions: 'leaveGame',
|
|
68
|
+
},
|
|
72
69
|
},
|
|
73
70
|
},
|
|
74
71
|
},
|
package/src/machine/reward.js
CHANGED
|
@@ -37,7 +37,7 @@ export default function (request) {
|
|
|
37
37
|
},
|
|
38
38
|
pending: {
|
|
39
39
|
after: {
|
|
40
|
-
20000: { target: 'loading', cond: 'isNotInGame' },
|
|
40
|
+
20000: [{ target: 'loading', cond: 'isNotInGame' }, { target: 'pending' }],
|
|
41
41
|
},
|
|
42
42
|
},
|
|
43
43
|
},
|
|
@@ -64,9 +64,6 @@ export default function (request) {
|
|
|
64
64
|
target: 'allPointsReceiving',
|
|
65
65
|
actions: 'setCallback',
|
|
66
66
|
},
|
|
67
|
-
SET_IS_PLAYING: {
|
|
68
|
-
actions: 'setIsPlaying',
|
|
69
|
-
},
|
|
70
67
|
},
|
|
71
68
|
},
|
|
72
69
|
fetching: {
|
|
@@ -125,6 +122,11 @@ export default function (request) {
|
|
|
125
122
|
},
|
|
126
123
|
},
|
|
127
124
|
},
|
|
125
|
+
on: {
|
|
126
|
+
SET_IS_PLAYING: {
|
|
127
|
+
actions: 'setIsPlaying',
|
|
128
|
+
},
|
|
129
|
+
},
|
|
128
130
|
},
|
|
129
131
|
},
|
|
130
132
|
{
|
|
@@ -16,7 +16,6 @@ export default function (request) {
|
|
|
16
16
|
activityNo: null,
|
|
17
17
|
receiveNo: null,
|
|
18
18
|
withdrawRule: {},
|
|
19
|
-
isPlaying: false,
|
|
20
19
|
callback: () => {},
|
|
21
20
|
},
|
|
22
21
|
states: {
|
|
@@ -47,7 +46,7 @@ export default function (request) {
|
|
|
47
46
|
},
|
|
48
47
|
pending: {
|
|
49
48
|
after: {
|
|
50
|
-
20000:
|
|
49
|
+
20000: { target: 'loading' },
|
|
51
50
|
},
|
|
52
51
|
},
|
|
53
52
|
},
|
|
@@ -74,9 +73,6 @@ export default function (request) {
|
|
|
74
73
|
target: 'allPointsReceiving',
|
|
75
74
|
actions: 'setCallback',
|
|
76
75
|
},
|
|
77
|
-
SET_IS_PLAYING: {
|
|
78
|
-
actions: 'setIsPlaying',
|
|
79
|
-
},
|
|
80
76
|
},
|
|
81
77
|
},
|
|
82
78
|
fetching: {
|
|
@@ -147,11 +143,6 @@ export default function (request) {
|
|
|
147
143
|
},
|
|
148
144
|
},
|
|
149
145
|
{
|
|
150
|
-
guards: {
|
|
151
|
-
isNotInGame: (context, event) => {
|
|
152
|
-
return !context.isPlaying
|
|
153
|
-
},
|
|
154
|
-
},
|
|
155
146
|
actions: {
|
|
156
147
|
setAuth: assign((context, event) => {
|
|
157
148
|
return { auth: !!event.data }
|
|
@@ -183,11 +174,6 @@ export default function (request) {
|
|
|
183
174
|
withdrawRule: event.data,
|
|
184
175
|
}
|
|
185
176
|
}),
|
|
186
|
-
setIsPlaying: assign((context, event) => {
|
|
187
|
-
return {
|
|
188
|
-
isPlaying: event.data,
|
|
189
|
-
}
|
|
190
|
-
}),
|
|
191
177
|
},
|
|
192
178
|
services: {
|
|
193
179
|
fetchRewardList: async (context, event) => {
|