@jetthai/cuora 1.1.293-dev-1 → 1.1.293-dev-3

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,18 @@
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.293-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.295...v1.1.293-dev-3) (2024-08-17)
6
+
7
+ ### [1.1.293-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.293-dev-1...v1.1.293-dev-2) (2024-08-16)
8
+
9
+ ### [1.1.293-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.293-dev...v1.1.293-dev-1) (2024-08-15)
10
+
11
+ ### [1.1.293-dev](https://github.com/jetthai/cuora-module/compare/v1.1.294...v1.1.293-dev) (2024-08-15)
12
+
13
+ ### [1.1.294](https://github.com/jetthai/cuora-module/compare/v1.1.293...v1.1.294) (2024-08-14)
14
+
15
+ ### [1.1.293-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.293-dev-1...v1.1.293-dev-2) (2024-08-16)
16
+
5
17
  ### [1.1.293-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.293-dev...v1.1.293-dev-1) (2024-08-15)
6
18
 
7
19
  ### [1.1.293-dev](https://github.com/jetthai/cuora-module/compare/v1.1.294...v1.1.293-dev) (2024-08-15)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.293-dev-1",
3
+ "version": "1.1.293-dev-3",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -553,7 +553,7 @@ export default function (request) {
553
553
  gametype_id: gameTypeId,
554
554
  mapping_id: mappingId,
555
555
  is_demo: false,
556
- is_mobile: isMobile,
556
+ is_mobile: isMobile === 'mobile' ? 'y' : null,
557
557
  lang,
558
558
  return_url: returnProviders.includes(providerId) ? `${window.location.origin}${context.base}return` : window.location.href, // For providers to return.
559
559
  }
@@ -501,8 +501,8 @@ export default function (request) {
501
501
  return !context.boundBanks?.length
502
502
  },
503
503
  isConvertible: (context, event) => {
504
- const { balance, enableWithdraw } = context
505
- return balance > 0 && enableWithdraw
504
+ const { enableWithdraw } = context
505
+ return enableWithdraw
506
506
  },
507
507
  isNotWithdrawable: (context, event) => {
508
508
  const { balance, enableWithdraw, paymentDetail } = context