@jetthai/cuora 1.1.371 → 1.1.372

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.372](https://github.com/jetthai/cuora-module/compare/v1.1.371...v1.1.372) (2025-08-12)
6
+
5
7
  ### [1.1.371](https://github.com/jetthai/cuora-module/compare/v1.1.370...v1.1.371) (2025-08-11)
6
8
 
7
9
  ### [1.1.370](https://github.com/jetthai/cuora-module/compare/v1.1.369...v1.1.370) (2025-08-07)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.371",
3
+ "version": "1.1.372",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -613,7 +613,9 @@ export default function (request) {
613
613
  is_mobile: isMobile === 'mobile' ? 'y' : null,
614
614
  lang,
615
615
  selected_wallet_type: walletType,
616
- return_url: returnProviders.includes(providerId) ? `${window.location.origin}${context.base}return` : window.location.href, // For providers to return.
616
+ return_url: returnProviders.includes(providerId)
617
+ ? `${window.location.origin}${context.base}return`
618
+ : window.location.href?.split('?')?.[0], // For providers to return.
617
619
  }
618
620
  const { type, redirect_url, gameToken, gameHtml, wallet_type } = await request.send(api.playGame(params))
619
621
  return { type, gameToken, gameHtml, gameURL: redirect_url, gameWalletType: wallet_type }