@jetthai/cuora 1.1.358-dev-3 → 1.1.358-dev-5
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/api/game.js +1 -1
- package/src/machine/game_v2_1.js +4 -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.1.358-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.358-dev-4...v1.1.358-dev-5) (2025-05-16)
|
|
6
|
+
|
|
7
|
+
### [1.1.358-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.358-dev-3...v1.1.358-dev-4) (2025-05-16)
|
|
8
|
+
|
|
5
9
|
### [1.1.358-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.358-dev-2...v1.1.358-dev-3) (2025-05-15)
|
|
6
10
|
|
|
7
11
|
### [1.1.358-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.358-dev-1...v1.1.358-dev-2) (2025-05-12)
|
package/package.json
CHANGED
package/src/api/game.js
CHANGED
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
demoGame: (params) => ({ url: 'game/demo', method: 'get', params, isPublic: true }),
|
|
8
8
|
logoutGame: ({ uid_site, provider_id }) => ({ url: 'game/logout', method: 'get', params: { uid_site, provider_id } }),
|
|
9
9
|
|
|
10
|
-
getGameTags: ({ q, lang }) => ({ url: 'game/search', method: 'get', params: { q, lang } }),
|
|
10
|
+
getGameTags: ({ q, lang, limit = 20 }) => ({ url: 'game/search', method: 'get', params: { q, lang, limit } }),
|
|
11
11
|
getGameSearchHome: () => ({ url: 'game/search/home', method: 'get' }),
|
|
12
12
|
getGameSearchList: ({ id, index, q, click, clickDefault, providerName }) => ({
|
|
13
13
|
url: 'game/search/list',
|
package/src/machine/game_v2_1.js
CHANGED
|
@@ -229,6 +229,10 @@ export default function (request) {
|
|
|
229
229
|
ENTER_GAME_PAUSE: {
|
|
230
230
|
actions: ['setIsPlaying', 'resetContent', 'resetSHA'],
|
|
231
231
|
},
|
|
232
|
+
ENTER_GAME: {
|
|
233
|
+
target: 'connecting',
|
|
234
|
+
actions: ['setGameInfo', 'setLang', 'setwalletType'],
|
|
235
|
+
},
|
|
232
236
|
},
|
|
233
237
|
},
|
|
234
238
|
playingDemo: {
|