@jetthai/cuora 1.1.184 → 1.1.185

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.185](https://github.com/jetthai/cuora-module/compare/v1.1.184...v1.1.185) (2023-09-22)
6
+
5
7
  ### [1.1.184](https://github.com/jetthai/cuora-module/compare/v1.1.183...v1.1.184) (2023-09-21)
6
8
 
7
9
  ### [1.1.183](https://github.com/jetthai/cuora-module/compare/v1.1.182...v1.1.183) (2023-09-21)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.184",
3
+ "version": "1.1.185",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -471,8 +471,8 @@ export default function (request) {
471
471
  lang,
472
472
  return_url: returnProviders.includes(providerId) ? `${window.location.origin}${context.base}return` : window.location.href, // For providers to return.
473
473
  }
474
- const { redirect_url } = await request.send(api.playGame(params))
475
- return { gameURL: redirect_url }
474
+ const { type, redirect_url, game_token, content } = await request.send(api.playGame(params))
475
+ return { type, game_token, content, gameURL: redirect_url }
476
476
  },
477
477
  disconnectGame: async (context, event) => {
478
478
  const uid_site = event.data