@jetthai/cuora 1.1.396 → 1.1.398
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/machine/bank_binding.js +0 -1
- package/src/machine/game_v2_1.js +5 -4
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.398](https://github.com/jetthai/cuora-module/compare/v1.1.397...v1.1.398) (2025-11-17)
|
|
6
|
+
|
|
7
|
+
### [1.1.397](https://github.com/jetthai/cuora-module/compare/v1.1.396...v1.1.397) (2025-11-17)
|
|
8
|
+
|
|
5
9
|
### [1.1.396](https://github.com/jetthai/cuora-module/compare/v1.1.395...v1.1.396) (2025-11-13)
|
|
6
10
|
|
|
7
11
|
### [1.1.395](https://github.com/jetthai/cuora-module/compare/v1.1.394...v1.1.395) (2025-11-11)
|
package/package.json
CHANGED
package/src/machine/game_v2_1.js
CHANGED
|
@@ -40,6 +40,7 @@ export default function (request) {
|
|
|
40
40
|
portrait: null,
|
|
41
41
|
gameCode: null,
|
|
42
42
|
name: null,
|
|
43
|
+
gameName: null,
|
|
43
44
|
isDemo: false,
|
|
44
45
|
},
|
|
45
46
|
walletType: null,
|
|
@@ -450,15 +451,15 @@ export default function (request) {
|
|
|
450
451
|
},
|
|
451
452
|
}),
|
|
452
453
|
setGameInfo: assign((context, event) => {
|
|
453
|
-
const { providerId, gameId, gameTypeId, mappingId, portrait, gameCode, name } = event.data.game
|
|
454
|
-
return { game: { providerId, gameId, gameTypeId, mappingId, portrait: portrait ? 1 : 0, gameCode, name } }
|
|
454
|
+
const { providerId, gameId, gameTypeId, mappingId, portrait, gameCode, name, gameName } = event.data.game
|
|
455
|
+
return { game: { providerId, gameId, gameTypeId, mappingId, portrait: portrait ? 1 : 0, gameCode, name, gameName } }
|
|
455
456
|
}),
|
|
456
457
|
setSwitch: assign((context, event) => {
|
|
457
458
|
return { switchGame: event.data.game }
|
|
458
459
|
}),
|
|
459
460
|
setSwitchGameInfo: assign((context, event) => {
|
|
460
|
-
const { providerId, gameId, gameTypeId, mappingId, portrait, gameCode, name } = context.switchGame
|
|
461
|
-
return { game: { providerId, gameId, gameTypeId, mappingId, portrait: portrait ? 1 : 0, gameCode, name } }
|
|
461
|
+
const { providerId, gameId, gameTypeId, mappingId, portrait, gameCode, name, gameName } = context.switchGame
|
|
462
|
+
return { game: { providerId, gameId, gameTypeId, mappingId, portrait: portrait ? 1 : 0, gameCode, name, gameName } }
|
|
462
463
|
}),
|
|
463
464
|
setWalletType: assign((context, event) => {
|
|
464
465
|
return { walletType: event.data.walletType }
|