@jetthai/cuora 1.0.195 → 1.0.197

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,10 +2,22 @@
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.197](https://github.com/jetthai/cuora-module/compare/v1.0.193-1...v1.0.197) (2022-11-01)
6
+
7
+ ### [1.0.196](https://github.com/jetthai/cuora-module/compare/v1.0.195...v1.0.196) (2022-11-01)
8
+
9
+ ### [1.0.195](https://github.com/jetthai/cuora-module/compare/v1.0.194...v1.0.195) (2022-10-28)
10
+
11
+ ### [1.0.194](https://github.com/jetthai/cuora-module/compare/v1.0.193...v1.0.194) (2022-10-28)
12
+
13
+ ### [1.0.196](https://github.com/jetthai/cuora-module/compare/v1.0.195...v1.0.196) (2022-11-01)
14
+
5
15
  ### [1.0.195](https://github.com/jetthai/cuora-module/compare/v1.0.194...v1.0.195) (2022-10-28)
6
16
 
7
17
  ### [1.0.194](https://github.com/jetthai/cuora-module/compare/v1.0.193...v1.0.194) (2022-10-28)
8
18
 
19
+ ### [1.0.193-1](https://github.com/jetthai/cuora-module/compare/v1.0.193...v1.0.193-1) (2022-11-01)
20
+
9
21
  ### [1.0.193](https://github.com/jetthai/cuora-module/compare/v1.0.192...v1.0.193) (2022-10-26)
10
22
 
11
23
  ### [1.0.192](https://github.com/jetthai/cuora-module/compare/v1.0.191...v1.0.192) (2022-10-26)
package/dist/bundle.mjs CHANGED
@@ -17150,27 +17150,7 @@ function manual_vn (request) {
17150
17150
  step1: {
17151
17151
  initial: 'idle',
17152
17152
  states: {
17153
- idle: {
17154
- on: {
17155
- SET_AMOUNT: {
17156
- actions: ['setAmount', 'clearCalculation'],
17157
- },
17158
- CALCULATE: {
17159
- target: 'calculating',
17160
- cond: 'isCalculable',
17161
- },
17162
- SELECT_HOUSE_BANK: {
17163
- actions: 'setHouseBank',
17164
- },
17165
- CLEAR_CALCULATION: {
17166
- actions: 'clearCalculation',
17167
- },
17168
- TRANSACT: {
17169
- target: '#manual.step2',
17170
- cond: 'isCalculated',
17171
- },
17172
- },
17173
- },
17153
+ idle: { },
17174
17154
  calculating: {
17175
17155
  invoke: {
17176
17156
  src: 'fetchCalculation',
@@ -17183,47 +17163,39 @@ function manual_vn (request) {
17183
17163
  },
17184
17164
  },
17185
17165
  },
17166
+ debouncing: {
17167
+ after: {
17168
+ 1000: [
17169
+ { target: 'calculating', cond: 'isCalculable'},
17170
+ { target: 'idle'},
17171
+ ]
17172
+ },
17173
+ },
17174
+ },
17175
+ on: {
17176
+ SET_AMOUNT: {
17177
+ actions: ['setAmount', 'clearCalculation'],
17178
+ },
17179
+ CALCULATE: {
17180
+ target: '.debouncing',
17181
+ },
17182
+ SELECT_HOUSE_BANK: {
17183
+ actions: 'setHouseBank',
17184
+ },
17185
+ CLEAR_CALCULATION: {
17186
+ target: '.debouncing',
17187
+ actions: 'clearCalculation',
17188
+ },
17189
+ TRANSACT: {
17190
+ target: '#manual.step2',
17191
+ cond: 'isCalculated',
17192
+ },
17186
17193
  },
17187
17194
  },
17188
17195
  step2: {
17189
17196
  initial: 'idle',
17190
17197
  states: {
17191
- idle: {
17192
- on: {
17193
- SET_AMOUNT: {
17194
- actions: ['setAmount', 'clearCalculation'],
17195
- },
17196
- CALCULATE: {
17197
- target: 'calculating',
17198
- cond: 'isCalculable',
17199
- },
17200
- SELECT_HOUSE_BANK: {
17201
- actions: 'setHouseBank',
17202
- },
17203
- SELECT_USER_BANK: {
17204
- actions: 'setUserBank',
17205
- },
17206
- INPUT_USER_ACCOUNT_NUMBER: {
17207
- actions: 'setUserAccountNumber',
17208
- },
17209
- INPUT_USER_ACCOUNT_NAME: {
17210
- actions: 'setUserAccountName',
17211
- },
17212
- SET_DEPOSIT_TIME: {
17213
- actions: 'setDepositTime',
17214
- },
17215
- SET_RECEIPT: {
17216
- actions: 'setReceipt',
17217
- },
17218
- CLEAR_CALCULATION: {
17219
- actions: 'clearCalculation',
17220
- },
17221
- SUBMIT: {
17222
- target: 'submitting',
17223
- cond: 'isSubmittable',
17224
- },
17225
- },
17226
- },
17198
+ idle: { },
17227
17199
  calculating: {
17228
17200
  invoke: {
17229
17201
  src: 'fetchCalculation',
@@ -17236,6 +17208,14 @@ function manual_vn (request) {
17236
17208
  },
17237
17209
  },
17238
17210
  },
17211
+ debouncing: {
17212
+ after: {
17213
+ 1000: [
17214
+ { target: 'calculating', cond: 'isCalculable'},
17215
+ { target: 'idle'},
17216
+ ]
17217
+ },
17218
+ },
17239
17219
  submitting: {
17240
17220
  invoke: {
17241
17221
  src: 'submitDeposit',
@@ -17249,6 +17229,40 @@ function manual_vn (request) {
17249
17229
  },
17250
17230
  },
17251
17231
  },
17232
+ on: {
17233
+ SET_AMOUNT: {
17234
+ actions: ['setAmount', 'clearCalculation'],
17235
+ },
17236
+ CALCULATE: {
17237
+ target: '.debouncing',
17238
+ },
17239
+ SELECT_HOUSE_BANK: {
17240
+ actions: 'setHouseBank',
17241
+ },
17242
+ SELECT_USER_BANK: {
17243
+ actions: 'setUserBank',
17244
+ },
17245
+ INPUT_USER_ACCOUNT_NUMBER: {
17246
+ actions: 'setUserAccountNumber',
17247
+ },
17248
+ INPUT_USER_ACCOUNT_NAME: {
17249
+ actions: 'setUserAccountName',
17250
+ },
17251
+ SET_DEPOSIT_TIME: {
17252
+ actions: 'setDepositTime',
17253
+ },
17254
+ SET_RECEIPT: {
17255
+ actions: 'setReceipt',
17256
+ },
17257
+ CLEAR_CALCULATION: {
17258
+ target: '.debouncing',
17259
+ actions: 'clearCalculation',
17260
+ },
17261
+ SUBMIT: {
17262
+ target: '.submitting',
17263
+ cond: 'isSubmittable',
17264
+ },
17265
+ },
17252
17266
  },
17253
17267
  processing: {},
17254
17268
  submitted: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.0.195",
3
+ "version": "1.0.197",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
package/src/api/game.js CHANGED
@@ -10,12 +10,13 @@ export default {
10
10
  logoutGame: ({ uid_site, provider_id }) => ({ url: 'game/logout', method: 'get', params: { uid_site, provider_id } }),
11
11
 
12
12
  getGameTags: ({ q }) => ({ url: 'game/search', method: 'get', params: { q } }),
13
+ getGameSearchHome: () => ({ url: 'game/search/home', method: 'get' }),
13
14
  getGameSearchList: ({ id, index, q, click, clickDefault }) => ({
14
15
  url: 'game/search/list',
15
16
  method: 'get',
16
17
  params: { id, index, q, click, clickDefault },
17
18
  }),
18
- setGameSearchTrace: ({ traceId, tagId, tagIndex, gameCode, gameCodeIndex, query, click, clickDefault }) => ({
19
+ setGameSearchTrace: ({ traceId, tagId, tagIndex, gameCode, gameCodeIndex, query, click, clickDefault, isYouMayLike, isRecentlyGame, isRecentlySearch }) => ({
19
20
  url: 'game/search/trace',
20
21
  method: 'post',
21
22
  params: {
@@ -27,6 +28,9 @@ export default {
27
28
  query,
28
29
  click,
29
30
  clickDefault,
31
+ isYouMayLike,
32
+ isRecentlyGame,
33
+ isRecentlySearch
30
34
  },
31
35
  }),
32
36
  gameHistory: ({ requestTimestamp, lang, provider, type }) => ({
@@ -68,27 +68,7 @@ export default function (request) {
68
68
  step1: {
69
69
  initial: 'idle',
70
70
  states: {
71
- idle: {
72
- on: {
73
- SET_AMOUNT: {
74
- actions: ['setAmount', 'clearCalculation'],
75
- },
76
- CALCULATE: {
77
- target: 'calculating',
78
- cond: 'isCalculable',
79
- },
80
- SELECT_HOUSE_BANK: {
81
- actions: 'setHouseBank',
82
- },
83
- CLEAR_CALCULATION: {
84
- actions: 'clearCalculation',
85
- },
86
- TRANSACT: {
87
- target: '#manual.step2',
88
- cond: 'isCalculated',
89
- },
90
- },
91
- },
71
+ idle: { },
92
72
  calculating: {
93
73
  invoke: {
94
74
  src: 'fetchCalculation',
@@ -101,47 +81,39 @@ export default function (request) {
101
81
  },
102
82
  },
103
83
  },
84
+ debouncing: {
85
+ after: {
86
+ 1000: [
87
+ { target: 'calculating', cond: 'isCalculable'},
88
+ { target: 'idle'},
89
+ ]
90
+ },
91
+ },
92
+ },
93
+ on: {
94
+ SET_AMOUNT: {
95
+ actions: ['setAmount', 'clearCalculation'],
96
+ },
97
+ CALCULATE: {
98
+ target: '.debouncing',
99
+ },
100
+ SELECT_HOUSE_BANK: {
101
+ actions: 'setHouseBank',
102
+ },
103
+ CLEAR_CALCULATION: {
104
+ target: '.debouncing',
105
+ actions: 'clearCalculation',
106
+ },
107
+ TRANSACT: {
108
+ target: '#manual.step2',
109
+ cond: 'isCalculated',
110
+ },
104
111
  },
105
112
  },
106
113
  step2: {
107
114
  initial: 'idle',
108
115
  states: {
109
- idle: {
110
- on: {
111
- SET_AMOUNT: {
112
- actions: ['setAmount', 'clearCalculation'],
113
- },
114
- CALCULATE: {
115
- target: 'calculating',
116
- cond: 'isCalculable',
117
- },
118
- SELECT_HOUSE_BANK: {
119
- actions: 'setHouseBank',
120
- },
121
- SELECT_USER_BANK: {
122
- actions: 'setUserBank',
123
- },
124
- INPUT_USER_ACCOUNT_NUMBER: {
125
- actions: 'setUserAccountNumber',
126
- },
127
- INPUT_USER_ACCOUNT_NAME: {
128
- actions: 'setUserAccountName',
129
- },
130
- SET_DEPOSIT_TIME: {
131
- actions: 'setDepositTime',
132
- },
133
- SET_RECEIPT: {
134
- actions: 'setReceipt',
135
- },
136
- CLEAR_CALCULATION: {
137
- actions: 'clearCalculation',
138
- },
139
- SUBMIT: {
140
- target: 'submitting',
141
- cond: 'isSubmittable',
142
- },
143
- },
144
- },
116
+ idle: { },
145
117
  calculating: {
146
118
  invoke: {
147
119
  src: 'fetchCalculation',
@@ -154,6 +126,14 @@ export default function (request) {
154
126
  },
155
127
  },
156
128
  },
129
+ debouncing: {
130
+ after: {
131
+ 1000: [
132
+ { target: 'calculating', cond: 'isCalculable'},
133
+ { target: 'idle'},
134
+ ]
135
+ },
136
+ },
157
137
  submitting: {
158
138
  invoke: {
159
139
  src: 'submitDeposit',
@@ -167,6 +147,40 @@ export default function (request) {
167
147
  },
168
148
  },
169
149
  },
150
+ on: {
151
+ SET_AMOUNT: {
152
+ actions: ['setAmount', 'clearCalculation'],
153
+ },
154
+ CALCULATE: {
155
+ target: '.debouncing',
156
+ },
157
+ SELECT_HOUSE_BANK: {
158
+ actions: 'setHouseBank',
159
+ },
160
+ SELECT_USER_BANK: {
161
+ actions: 'setUserBank',
162
+ },
163
+ INPUT_USER_ACCOUNT_NUMBER: {
164
+ actions: 'setUserAccountNumber',
165
+ },
166
+ INPUT_USER_ACCOUNT_NAME: {
167
+ actions: 'setUserAccountName',
168
+ },
169
+ SET_DEPOSIT_TIME: {
170
+ actions: 'setDepositTime',
171
+ },
172
+ SET_RECEIPT: {
173
+ actions: 'setReceipt',
174
+ },
175
+ CLEAR_CALCULATION: {
176
+ target: '.debouncing',
177
+ actions: 'clearCalculation',
178
+ },
179
+ SUBMIT: {
180
+ target: '.submitting',
181
+ cond: 'isSubmittable',
182
+ },
183
+ },
170
184
  },
171
185
  processing: {},
172
186
  submitted: {},
@@ -0,0 +1,354 @@
1
+ import { createMachine, assign, send } from 'xstate'
2
+ import game from '../api/game.js'
3
+
4
+ export default function (request) {
5
+ return createMachine(
6
+ {
7
+ id: 'game_search_v2',
8
+ initial: 'preset',
9
+ context: {
10
+ keyword: '',
11
+ tagId: null,
12
+ mainTagList: [],
13
+ tagList: [],
14
+ gameList: [],
15
+ recentlySearch: [],
16
+ recentlyGame: [],
17
+ youMayLike: [],
18
+ // 以下變數為數據分析用
19
+ selectedType: null,
20
+ tagIndex: null,
21
+ click: null,
22
+ clickDefault: null,
23
+ traceId: null,
24
+ isYouMayLike: null,
25
+ isRecentlyGame: null,
26
+ isRecentlySearch: null,
27
+ gameCode: null,
28
+ },
29
+ states: {
30
+ preset: {
31
+ invoke: {
32
+ src: 'fetchTags',
33
+ onDone: {
34
+ target: 'loading',
35
+ actions: 'setMainTagList',
36
+ },
37
+ onError: {
38
+ target: 'fail',
39
+ },
40
+ },
41
+ },
42
+ loading: {
43
+ invoke: {
44
+ src: 'fetchInitialData',
45
+ onDone: {
46
+ target: 'idle',
47
+ actions: 'setInitialData',
48
+ },
49
+ onError: {
50
+ target: '#game_search_v2.fail',
51
+ },
52
+ },
53
+ },
54
+ idle: {
55
+ on: {
56
+ SET_MAIN_TAG_ID: {
57
+ target: 'setGameList',
58
+ actions: ['setMainTagId', 'setTraceData']
59
+ },
60
+ PLAY_GAME: {
61
+ target: 'sendingTrace',
62
+ actions: 'setGameCode',
63
+ },
64
+ START_SEARCH: {
65
+ target: 'searching',
66
+ actions: 'clearKeyword',
67
+ },
68
+ CLEAR_MAIN_TAG: {
69
+ actions: 'clearMainTag',
70
+ }
71
+ },
72
+ },
73
+ setGameList: {
74
+ always: [
75
+ {
76
+ target: 'idle',
77
+ actions: 'setGames',
78
+ cond: 'isRecentlyYouMayLike'
79
+ },
80
+ {
81
+ target: 'fetchGameList',
82
+ }
83
+ ]
84
+ },
85
+ fetchGameList: {
86
+ invoke: {
87
+ src: 'fetchGames',
88
+ onDone: {
89
+ target: 'idle',
90
+ actions: 'setGames',
91
+ },
92
+ onError: {
93
+ target: '#game_search_v2.fail',
94
+ },
95
+ },
96
+ },
97
+ searching: {
98
+ initial: 'searchIdle',
99
+ states: {
100
+ searchIdle: {
101
+ on: {
102
+ SET_TAG_ID: {
103
+ target: '#game_search_v2.fetchGameList',
104
+ actions: ['setTagId', 'setTraceData']
105
+ },
106
+ PRESS_ENTER: [
107
+ {
108
+ actions: send((context, event) => ({
109
+ type: 'SET_TAG_ID',
110
+ data: {
111
+ tagId: context.tagList[0]?.id,
112
+ traceData: {
113
+ isYouMayLike: null,
114
+ isRecentlyGame: null,
115
+ isRecentlySearch: null
116
+ }
117
+ }
118
+ })),
119
+ cond: 'hasTagList',
120
+ },
121
+ {
122
+ target: '#game_search_v2.sendingTrace',
123
+ actions: 'clearExceptKeyword',
124
+ },
125
+ ],
126
+ SET_KEYWORD: {
127
+ target: 'debouncing',
128
+ actions: 'setKeyword',
129
+ },
130
+ STOP_SEARCH: {
131
+ target: '#game_search_v2.idle',
132
+ },
133
+ },
134
+ },
135
+ debouncing: {
136
+ on: {
137
+ SET_KEYWORD: {
138
+ target: 'debouncing',
139
+ actions: 'setKeyword',
140
+ },
141
+ },
142
+ after: {
143
+ 500: {
144
+ target: 'fetching',
145
+ },
146
+ },
147
+ },
148
+ fetching: {
149
+ invoke: {
150
+ src: 'fetchTags',
151
+ onDone: {
152
+ target: 'searchIdle',
153
+ actions: 'setTagList',
154
+ },
155
+ onError: {
156
+ target: '#game_search_v2.fail',
157
+ },
158
+ },
159
+ },
160
+ },
161
+ },
162
+ sendingTrace: {
163
+ invoke: {
164
+ src: 'sendTrace',
165
+ onDone: {
166
+ target: 'idle',
167
+ },
168
+ onError: {
169
+ target: 'fail',
170
+ },
171
+ },
172
+ },
173
+ fail: {},
174
+ },
175
+ },
176
+ {
177
+ actions: {
178
+ setMainTagList: assign((context, event) => {
179
+ return {
180
+ mainTagList: event.data,
181
+ }
182
+ }),
183
+ setInitialData: assign((context, event) => {
184
+ const { recentlySearch = [], recentlyGame = [], youMayLike = [] } = event.data
185
+ let tagId = null
186
+ let gameList = []
187
+ if (recentlyGame?.length > 0) {
188
+ // tagId = 'RECENTLY'
189
+ gameList = recentlyGame
190
+ } else if (youMayLike?.length > 0) {
191
+ // tagId = 'YOU MAY LIKE'
192
+ gameList = youMayLike
193
+ }
194
+ return {
195
+ recentlySearch: recentlySearch.filter(item => item.id && item.i18n),
196
+ recentlyGame,
197
+ youMayLike,
198
+ gameList,
199
+ tagId
200
+ }
201
+ }),
202
+ setMainTagId: assign((context, event) => {
203
+ const { tagId } = event.data
204
+ const { mainTagList } = context
205
+ const tagIndex = mainTagList.findIndex((tag) => tag.id === tagId)
206
+ return {
207
+ keyword: '',
208
+ tagId,
209
+ tagIndex,
210
+ click: 1,
211
+ clickDefault: null,
212
+ }
213
+ }),
214
+ clearMainTag: assign((context, event) => {
215
+ return {
216
+ tagId: null,
217
+ }
218
+ }),
219
+ setTagId: assign((context, event) => {
220
+ const { tagId, clickTagType, traceData } = event.data
221
+ const { mainTagList, tagList, recentlySearch } = context
222
+ if (clickTagType === 'RECENTLY SEARCH') {
223
+ const tagIndex = recentlySearch.findIndex((tag) => tag.id === tagId)
224
+ return {
225
+ tagId,
226
+ tagIndex,
227
+ click: 1,
228
+ clickDefault: null,
229
+ }
230
+ } else if (clickTagType === 'POPULAR KEYWORDS' || tagList.length <= 0) {
231
+ const tagIndex = mainTagList.findIndex((tag) => tag.id === tagId)
232
+ return {
233
+ tagId,
234
+ tagIndex,
235
+ click: null,
236
+ clickDefault: 1,
237
+ }
238
+ } else {
239
+ const tagIndex = tagList.findIndex((tag) => tag.id === tagId)
240
+ return {
241
+ tagId,
242
+ tagIndex,
243
+ click: 1,
244
+ clickDefault: null,
245
+ }
246
+ }
247
+ }),
248
+ setGames: assign((context, event) => {
249
+ if (event?.data) {
250
+ const { traceId, result } = event.data
251
+ return {
252
+ traceId,
253
+ gameList: result,
254
+ }
255
+ } else {
256
+ const { tagId, recentlyGame, youMayLike } = context
257
+ let gameList = []
258
+ if (tagId === 'RECENTLY') {
259
+ gameList = recentlyGame
260
+ } else if (tagId === 'YOU MAY LIKE') {
261
+ gameList = youMayLike
262
+ }
263
+ return {
264
+ traceId: null,
265
+ gameList,
266
+ }
267
+ }
268
+ }),
269
+ setTraceData: assign((context, event) => {
270
+ const { isYouMayLike, isRecentlyGame, isRecentlySearch } = event.data?.traceData
271
+ return {
272
+ isYouMayLike,
273
+ isRecentlyGame,
274
+ isRecentlySearch,
275
+ }
276
+ }),
277
+ setKeyword: assign((context, event) => {
278
+ return {
279
+ keyword: event.data,
280
+ }
281
+ }),
282
+ clearKeyword: assign((context, event) => {
283
+ return {
284
+ keyword: '',
285
+ }
286
+ }),
287
+ setTagList: assign((context, event) => {
288
+ return {
289
+ tagList: event.data,
290
+ }
291
+ }),
292
+ setGameCode: assign((context, event) => {
293
+ const { gameList } = context
294
+ const gameCode = event.data
295
+ const gameCodeIndex = gameList.findIndex((game) => game === gameCode)
296
+ return {
297
+ gameCode,
298
+ gameCodeIndex,
299
+ }
300
+ }),
301
+ clearExceptKeyword: assign((context, event) => {
302
+ return {
303
+ gameList: [],
304
+ traceId: null,
305
+ tagId: null,
306
+ tagIndex: null,
307
+ gameCode: null,
308
+ gameCodeIndex: null,
309
+ isYouMayLike: null,
310
+ isRecentlyGame: null,
311
+ isRecentlySearch: null,
312
+ query: context.keyword,
313
+ click: null,
314
+ clickDefault: null,
315
+ }
316
+ }),
317
+ },
318
+ guards: {
319
+ isRecentlyYouMayLike: (context, event) => {
320
+ const { tagId } = context
321
+ return tagId === 'RECENTLY' || tagId === 'YOU MAY LIKE'
322
+ },
323
+ hasTagList: (context, event) => {
324
+ const { tagList } = context
325
+ return tagList?.length > 0
326
+ },
327
+ },
328
+ services: {
329
+ fetchTags: async (context, event) => {
330
+ const { keyword } = context
331
+ const { result } = await request.send(game.getGameTags({ q: keyword }))
332
+ return result
333
+ },
334
+ fetchInitialData: async (context, event) => {
335
+ const data = await request.send(game.getGameSearchHome())
336
+ return data
337
+ },
338
+ fetchGames: async (context, event) => {
339
+ const { tagId, tagIndex, keyword, click, clickDefault } = context
340
+ const { traceId, result } = await request.send(game.getGameSearchList({ id: tagId, index: tagIndex, q: keyword, click, clickDefault }))
341
+ return { traceId, result }
342
+ },
343
+ sendTrace: async (context, event) => {
344
+ const { traceId, tagId, tagIndex, gameCode, gameCodeIndex, keyword: query, click, clickDefault, isYouMayLike, isRecentlyGame, isRecentlySearch } = context
345
+ let id = tagId
346
+ if (tagId === 'RECENTLY' || tagId === 'YOU MAY LIKE') {
347
+ id = null
348
+ }
349
+ return await request.send(game.setGameSearchTrace({ traceId, tagId: id, tagIndex, gameCode, gameCodeIndex, query, click, clickDefault, isYouMayLike, isRecentlyGame, isRecentlySearch }))
350
+ },
351
+ },
352
+ }
353
+ )
354
+ }
@@ -9,6 +9,7 @@ import game_v2 from './game_v2.js'
9
9
  import game_favorite from './game_favorite.js'
10
10
  import game_favorite_v2 from './game_favorite_v2.js'
11
11
  import game_search from './game_search.js'
12
+ import game_search_v2 from './game_search_v2.js'
12
13
  import game_hot_new from './game_hot_new.js'
13
14
  import inbox from './inbox.js'
14
15
  import merge from './merge.js'
@@ -45,6 +46,7 @@ export default {
45
46
  game_favorite,
46
47
  game_favorite_v2,
47
48
  game_search,
49
+ game_search_v2,
48
50
  game_hot_new,
49
51
  inbox,
50
52
  merge,