@jetthai/cuora 1.0.130 → 1.0.131

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.0.131](https://github.com/jetthai/cuora-module/compare/v1.0.130...v1.0.131) (2022-06-06)
6
+
5
7
  ### [1.0.130](https://github.com/jetthai/cuora-module/compare/v1.0.129...v1.0.130) (2022-06-01)
6
8
 
7
9
  ### [1.0.129](https://github.com/jetthai/cuora-module/compare/v1.0.128...v1.0.129) (2022-05-31)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.0.130",
3
+ "version": "1.0.131",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -18,6 +18,7 @@ export default function (request) {
18
18
  game_id: null,
19
19
  game_type: null,
20
20
  mapping_id: null,
21
+ portrait: null,
21
22
  },
22
23
  lang: 'en_US',
23
24
  isMobile: new UAParser().getResult().device.type,
@@ -214,8 +215,8 @@ export default function (request) {
214
215
  return { game: { provider: null, game_id: null, game_type: null, mapping_id: null } }
215
216
  }),
216
217
  setGameInfo: assign((context, event) => {
217
- const { provider, game_id, game_type, mapping_id } = event.data.game
218
- return { game: { provider, game_id, game_type, mapping_id } }
218
+ const { provider, game_id, game_type, mapping_id, portrait } = event.data.game
219
+ return { game: { provider, game_id, game_type, mapping_id, portrait } }
219
220
  }),
220
221
  setLang: assign((context, event) => {
221
222
  const lang = event.data.locale.replace('-', '_')