@jetthai/cuora 1.1.124 → 1.1.125

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,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.1.125](https://github.com/jetthai/cuora-module/compare/v1.1.124...v1.1.125) (2023-06-20)
6
+
5
7
  ### [1.1.124](https://github.com/jetthai/cuora-module/compare/v1.1.123...v1.1.124) (2023-06-16)
6
8
 
7
9
  ### [1.1.123](https://github.com/jetthai/cuora-module/compare/v1.1.122...v1.1.123) (2023-06-16)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.124",
3
+ "version": "1.1.125",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -35,6 +35,7 @@ export default function (request) {
35
35
  gameTypeId: null,
36
36
  mappingId: null,
37
37
  portrait: null,
38
+ gameCode: null,
38
39
  },
39
40
  lang: 'en_US',
40
41
  isMobile: new UAParser().getResult().device.type,
@@ -308,8 +309,8 @@ export default function (request) {
308
309
  return { game: { providerId: null, gameId: null, gameTypeId: null, mappingId: null } }
309
310
  }),
310
311
  setGameInfo: assign((context, event) => {
311
- const { providerId, gameId, gameTypeId, mappingId, portrait } = event.data.game
312
- return { game: { providerId, gameId, gameTypeId, mappingId, portrait: portrait ? 1 : 0 } }
312
+ const { providerId, gameId, gameTypeId, mappingId, portrait, gameCode } = event.data.game
313
+ return { game: { providerId, gameId, gameTypeId, mappingId, portrait: portrait ? 1 : 0, gameCode } }
313
314
  }),
314
315
  setLang: assign((context, event) => {
315
316
  const lang = event.data.locale.replace('-', '_')