@jetthai/cuora 1.1.185 → 1.1.186

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.186](https://github.com/jetthai/cuora-module/compare/v1.1.185...v1.1.186) (2023-09-23)
6
+
5
7
  ### [1.1.185](https://github.com/jetthai/cuora-module/compare/v1.1.184...v1.1.185) (2023-09-22)
6
8
 
7
9
  ### [1.1.184](https://github.com/jetthai/cuora-module/compare/v1.1.183...v1.1.184) (2023-09-21)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.185",
3
+ "version": "1.1.186",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -140,9 +140,11 @@ export default function (request) {
140
140
  src: 'disconnectGame',
141
141
  onDone: {
142
142
  target: 'idle',
143
+ actions: 'setGameURL',
143
144
  },
144
145
  onError: {
145
146
  target: 'idle',
147
+ actions: 'setGameURL',
146
148
  },
147
149
  },
148
150
  },
@@ -328,6 +330,15 @@ export default function (request) {
328
330
  }
329
331
  }),
330
332
  setGameURL: assign({
333
+ type: (context, event) => {
334
+ return event.data.type
335
+ },
336
+ gameToken: (context, event) => {
337
+ return event.data.game_token
338
+ },
339
+ content: (context, event) => {
340
+ return event.data.content
341
+ },
331
342
  gameURL: (context, event) => {
332
343
  return event.data.gameURL
333
344
  },